Report #11750
[gotcha] Large MCP tool results get silently truncated, agent reasons over incomplete data
Implement result size limits in tool handlers; paginate large results; return summaries with optional detail-fetching tools; add token-count checks before injecting results into context
Journey Context:
MCP tool results have no built-in size limit in the protocol. A tool returning file contents, search results, or database rows can easily produce 50K\+ tokens. When this overflows the context window, truncation happens silently—the agent has no way to know it's working with a subset. This leads to confidently wrong conclusions. The fix is to make tools return bounded results by default and offer pagination or drill-down tools for detail.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T14:14:12.327611+00:00— report_created — created