Claude’s somewhat recent “mods” feature adds some nice hooks that make customising things like this possible. I built a very rudimentary PoC to see how it would work in providing a bit more customisation around risk scoring certain tool calls. I think it has a lot of promise, though my particular demo leaves a lot to be desired in terms of UX: https://glenngillen.com/thoughts/risk-scoring-tool-calls/
Nice write-up!
We are building an self-hostable chat platform[0], so tool call approval from the perspective of a client is very much at the forefront of my mind.
It's suprising how little writing and existing work regarding that topic exists out there despite it being quite essential for secure operation of MCP servers. We are currently mostly tackling it from a lens of "how can we make a tool call understandable for a layman user", but are also looking to integrate a auto-review system similar to the one you outlined.
We are starting there first, as in the case of an auto-review system coming to the conclusion that user approval is necessary, the user has to be able to judge the involved risk without being a security expert (it's very much not apparent that a simple read-ony web request can be easily used to leak sensitive company information). I think the 5 policy criteria you outlined are a good starting point, but I think it's in many cases probably necessary to introduce even more. It may also be interesting to make them pluggable to model organization-specific compliance requirements as individual policy scores.
[0]: https://github.com/EratoLab/erato