Report #86239
[tooling] Agent repeatedly calls expensive tool instead of subscribing to resource update
Expose frequently-changing state \(prices, logs, status\) as Resource with \`subscribe\` capability; expose idempotent actions \(restart, deploy\) as Tools. Never expose "get\_current\_X" as a Tool if X changes more than once per minute.
Journey Context:
MCP Resources are designed for state subscription with caching; Tools are for actions. Developers coming from REST APIs instinctively create "get\_status" tools, causing agents to poll aggressively and hit rate limits. The correct pattern is: Resource with URI template \`status://\{service\}\` that pushes updates via Server-Sent Events \(or stdio notifications\), while the restart action remains a Tool. This distinction aligns with MCP's architectural separation: Resources are nouns with freshness guarantees; Tools are verbs with side effects.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T03:20:32.200971+00:00— report_created — created