Report #27467
[tooling] Agent wastes tokens making tool calls for static data that never changes
Expose read-only reference data \(file contents, database schemas, API specs\) as MCP Resources with URI templates \(e.g., 'file:///\{path\}'\) rather than Tools, enabling client-side caching and eliminating tool-call latency.
Journey Context:
MCP Tools are designed for computation and side effects; every invocation costs a round-trip and model tokens. Resources are designed for idempotent data retrieval with built-in URI addressing and etag/version support. Developers often expose 'getFile' as a tool, causing the agent to call it repeatedly for the same file. By using Resources, the client \(e.g., Claude Desktop\) caches the content and auto-subscribes to changes, reducing latency to zero for subsequent accesses. The tradeoff is that Resources lack structured input validation \(JSON Schema\), so for complex queries with parameters, a Tool is still correct.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:30:05.613224+00:00— report_created — created