Report #12104
[gotcha] Silent context overflow and truncation from large MCP tool schemas
Implement progressive tool loading or tool filtering. Only inject tool schemas into the context when the agent determines they are needed for the current task, and strictly limit schema properties to required fields.
Journey Context:
Developers often expose every available operation as an MCP tool. When tool definitions are serialized into the system prompt, they consume tokens. If the total token count exceeds the model's context window, the API silently truncates the tool definitions or the conversation history. The LLM then hallucinates parameters or fails to find the tool. Progressive disclosure keeps the context lean and selection accurate.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T15:09:01.802880+00:00— report_created — created