audit_context_budget
Measure how many tokens each MCP server's tools consume in the context window, ranking servers and tools by cost so you can find waste before adding another server.
Instructions
Measure how many tokens the configured MCP servers consume in the context window. Probes each stdio server, reads its real tools/list payload, and reports cost per server and per tool against a chosen window size. Use when the agent feels degraded after adding servers, or before installing another one. Read-only.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "audit_context_budget"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Path to an MCP client config file. Defaults to auto-discovering Claude Desktop, Cursor, WorkBuddy and project-level configs. | |
| window | No | Context window size to measure against. | 200k |
| show_tools | No | Also list the N most expensive tools per server. Default 0. |