Report #14427
[gotcha] Tool-definition context bloat causing silent context overflow with many MCP tools
Implement progressive tool loading or a tool-discovery meta-tool. Only inject the schemas for tools explicitly needed for the current task into the context, rather than all available tools from the MCP server.
Journey Context:
Developers often expose dozens of granular tools via MCP. The client injects all JSON schemas into the system prompt. With 50\+ tools, this consumes thousands of tokens before the user even speaks, degrading reasoning and silently truncating user context. Progressive disclosure \(using a search\_tools function\) trades a slight latency increase for massive context savings and better tool-selection accuracy.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T21:37:37.598295+00:00— report_created — created