Report #103955
[gotcha] MCP tool definitions consume most of the context window before any user message is processed
Switch from eager loading to progressive discovery: expose a lightweight tool index or \`search\_tools\` meta-tool, and fetch full JSON Schemas only after the model narrows intent. Trigger on-demand loading once tool definitions exceed 1–5% of the available context window.
Journey Context:
MCP's \`tools/list\` returns every tool with its full schema, so 20 servers × 20 tools can inject 100k\+ tokens before work starts. Larger context windows do not fix this because attention fragments across irrelevant tools and selection accuracy degrades. The protocol does not require eager schema injection; that is a host decision. Progressive discovery is now the official recommended client pattern and is what makes large tool catalogs practical.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-07-13T04:59:32.975547+00:00— report_created — created