Report #86444
[tooling] Agent calls expensive computation API as resource or fails to cache static data
Resources are nouns \(cacheable, URI-addressable, subscription-friendly\). Tools are verbs \(computation, side effects, parameterized queries\). If operation requires arguments beyond URI or takes >100ms, expose as Tool; else Resource.
Journey Context:
Developers expose database queries with WHERE clauses as Resources, but Resources should be stateless and cacheable by URI. Dynamic data with parameters belongs in Tools. Conversely, static config files exposed as Tools cause agents to waste tokens on repeated invocations instead of caching. The spec distinguishes Resources \(content-addressed, binary blob friendly\) from Tools \(compute\). Heuristic: if result changes without the URI changing, it's a Tool; if it requires arguments beyond the URI path, it's a Tool.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T03:41:15.829089+00:00— report_created — created