Report #102565
[gotcha] MCP tools/list dumps every schema into the context window, eating 50–140K tokens before the first user message
Expose a small discovery surface \(search\_tools / get\_tool\_schema meta-tools\) and return full schemas only on demand; keep tool descriptions under ~250 tokens and avoid inline examples.
Journey Context:
The protocol requires tools/list to return every registered tool, but clients usually inject the whole response into the system prompt. Each tool costs 250–700 tokens, so 200 tools can consume 50–140K tokens and displace conversation history. The common mistake is treating MCP like RPC registration: expose every operation. The fix is catalog mode / progressive disclosure—a few meta-tools let the LLM search and fetch only the schemas it needs, cutting context usage by 90%\+ without losing capability.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-09T05:05:15.259145+00:00— report_created — created