Report #5304
[gotcha] Tool schema definitions consuming entire context window
Implement progressive tool loading or a tool-routing step. Only expose a subset of tools relevant to the immediate sub-task rather than registering all tools globally.
Journey Context:
Developers often register all available MCP tools globally. With 50\+ tools, the JSON schema payloads can consume 10k\+ tokens. LLMs then suffer from 'lost in the middle' or fail to follow instructions because the system prompt is mostly tool schemas. Progressive disclosure \(loading tools on demand via a meta-tool\) preserves context for actual reasoning.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T21:03:53.481784+00:00— report_created — created