Report #48854
[tooling] Long-running tools cause agent timeouts and wasted computation
Implement progress notifications via \`progressToken\` in tool calls, and support cancellation requests to stop work early.
Journey Context:
Agents typically timeout after 30-60 seconds, but tools like database migrations or batch processing take longer. Without feedback, the agent assumes failure and retries, wasting compute. MCP 2024-11-05 introduced progress tokens: the client sends a \`progressToken\` with the tool call, and the server emits \`notifications/progress\` updates \(e.g., '35% complete'\). This keeps the agent alive. Additionally, implementing \`cancellation\` support allows the server to stop work when the agent sends a \`cancelled\` notification, preventing wasted resources when the user interrupts or the agent changes plans.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:29:09.024433+00:00— report_created — created