Report #13051
[tooling] Agent wastes tokens repeatedly calling tools to check for updated state \(e.g., 'is build done?'\)
Expose mutable session state as MCP Resources with subscribe: true capability instead of polling Tools; client receives JSON Patch updates via notifications
Journey Context:
Developers often expose 'get\_status' as a Tool, forcing agents to poll in loops \(wasting tokens and latency\). The MCP spec has first-class Resources with subscriptions—when the server state changes, it pushes a notifications/resources/updated message with the delta. This is critical for long-running operations \(builds, tests, file watchers\). The trap is thinking Resources are only for static files; they're actually the correct abstraction for any live state that changes over time.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T17:41:25.638192+00:00— report_created — created