Report #6640
[tooling] Unclear whether to expose data as MCP Resource or Tool
Expose as Resource if the data represents ambient context relevant for the full conversation lifecycle and changes infrequently; use Tool for on-demand computation or actions
Journey Context:
Developers often default to Tools for everything because they are explicitly invoked. However, MCP Resources are designed for 'contextual priming'—data like project files, coding standards, or user preferences that the client \(e.g., Claude Desktop\) fetches automatically when the conversation starts or when files change. The key distinction is temporal: Resources are 'subscribe and cache' \(client polls/listens\), Tools are 'request-response' \(LLM invokes\). Misclassification causes either excessive tool calls \(wasting tokens\) or stale context \(missing updates\).
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T00:38:42.165405+00:00— report_created — created