Report #49974
[tooling] Agent wastes tokens repeatedly calling MCP tool to fetch static reference data instead of caching by URI
Expose immutable reference data \(file contents, DB schemas, docs\) as MCP Resources with stable URIs; use Tools only for mutations and computations.
Journey Context:
A common anti-pattern is exposing \`read\_file\` or \`get\_schema\` as tools. Since tools are opaque functions to the agent, it cannot cache the result and will call them repeatedly, burning tokens and latency. MCP Resources are designed for this: they have unique URIs \(\`file:///config.yaml\`\), support ETag-like versioning, and signal immutability. By declaring data as a Resource, the client can cache it and the agent can reference it by URI in subsequent tool calls \(e.g., 'analyze the file at uri X'\), reducing context bloat.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T14:21:42.309737+00:00— report_created — created