How to use it
- Get the list you approved. If you pinned it with
mcp_pin.py, that lockfile works as is. Otherwise copy the JSON result of atools/listcall from your MCP inspector or client logs. - Get the list the server advertises today, the same way.
- Paste the first into Before and the second into After, then press Compare.
- Read every NEW, REMOVED and CHANGED line before you approve again. For a change, the box shows which field moved and the old and new values.
It accepts a lockfile from mcp_pin.py, a full JSON-RPC response, {"tools": [...]}, a bare array of tools, or one JSON document per line for paginated lists.
What it checks
- Compares the whole tool object, not just the description. Annotations such as
readOnlyHintare compared too, because the server declares them itself and a changed hint matters as much as a changed description. - Treats a new tool as a failure, the same as an edit, so the agent never sees a tool nobody approved.
- Ignores key order. Array order counts, the same as in
mcp_pin.py.
Honest limits
- It compares what the server says about its tools. It does not run the server, and a server can change what a tool does without changing its listing.
- It is a diff, not a verdict. A changed description can be harmless. You decide.
- It only sees what you paste. For a paginated list, paste every page.
- Annotations are hints from the server. Do not treat them as a security control.
