snapshot_menu
Starts or connects to an MCP server, lists its tools, and reports token cost plus issues agents or clients may hit; saves a baseline menu only when save_as is set.
Instructions
Check an MCP server's tool list: start or connect to it, list its tools, and report findings (what agents misread, what breaks clients or prompt caches) and the token cost. Writes the menu file only when save_as is given (the baseline for diff_menus).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Folder to run from: where the server starts, toolmenu.config.json is read and relative paths resolve. Default: where toolmenu mcp runs. | |
| env | No | Environment variables for a command server. It gets a minimal environment plus these. | |
| url | No | A Streamable HTTP endpoint: https://example.com/mcp. Give this or command. | |
| client | No | Also check the menu as this client loads it: what it cuts, finds and refuses. | |
| catalog | No | Also read the operations behind a search tool or command routers. | |
| command | No | The command that starts a stdio server, one word per item: ["node", "dist/server.js"]. Give this or url. | |
| headers | No | HTTP headers for a url server: {"Authorization": "Bearer ..."}. | |
| save_as | No | Write the menu here (menu.json for a baseline), relative to cwd. Default: not written. |