Report #84929
[tooling] Agent wastes tokens repeatedly calling status tools to check for updates
Expose mutable state as MCP \`resources\` with unique URIs, implement the \`resources/subscribe\` method, and push \`notifications/resources/updated\` when data changes. This eliminates polling loops.
Journey Context:
Developers default to exposing everything as tools \(functions\) because it matches OpenAI function calling patterns. But resources are for data that changes, and subscriptions enable server-push architecture. Without this, agents implement expensive polling loops \('call get\_status every 10 seconds'\), burning tokens and latency. This is the MCP equivalent of WebSockets vs HTTP polling.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T01:08:15.250684+00:00— report_created — created