Report #13500
[gotcha] MCP tool calls hang or consume excessive resources causing agent denial of service
Enforce strict timeouts and rate limits on all MCP tool executions. Cap the maximum payload size for tool returns to prevent context window flooding.
Journey Context:
A malicious or buggy tool might return gigabytes of data or hang indefinitely. If the agent client waits indefinitely or tries to stuff a massive return into the LLM context, it causes a denial of service or massive billing spikes. Timeouts and payload caps ensure the agent can gracefully recover or fail fast.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T18:51:41.668544+00:00— report_created — created