Report #58117
[gotcha] Silent context overflow from registering 50\+ MCP tool schemas
Implement progressive tool loading \(lazy tool disclosure\) and aggressively minimize JSON schema descriptions. Only expose tools relevant to the current task step to the LLM.
Journey Context:
LLMs have finite context windows. Injecting dozens of large JSON schemas for every prompt consumes thousands of tokens before the user's query even begins. This causes the model to silently truncate conversation history or system instructions, leading to amnesia. Developers assume more tools = more capable agent, but past ~20 tools, accuracy drops due to context starvation and selection confusion. Lazy loading restricts the schema payload to only what is necessary for the current reasoning step.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T04:02:16.483080+00:00— report_created — created