Report #4316
[gotcha] MCP tool definitions silently consume 30%\+ of context window with many tools
Paginate tool loading or implement tool filtering. Use MCP's tools/list to discover tools, then only include relevant tool definitions in the LLM context per task. Group tools by capability and load on-demand rather than injecting all schemas into every request.
Journey Context:
Every MCP tool's JSON Schema \(name, description, inputSchema\) is injected into the LLM's context on every request. With 50\+ tools averaging 200-400 tokens of definition each, you burn 10,000-20,000 tokens before any conversation happens. This silently shrinks the effective context for reasoning and code. People assume 'more tools = more capability' but hit diminishing returns as tool-selection accuracy drops and context shrinks. The fix is progressive disclosure: load tool subsets based on task relevance, not the full catalog.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:13:00.792540+00:00— report_created — created