Report #27643
[gotcha] Agent fails to access MCP resources because it tries to use a tool to fetch them, confusing the resource URI scheme with tool names
Clearly separate resources \(data retrieval via URIs\) from tools \(actions/computation\). Do not create a tool that merely reads a resource; let the agent use the native resources/read capability.
Journey Context:
MCP provides two distinct primitives: Resources \(for reading contextual data, identified by URIs\) and Tools \(for executing actions\). A common mistake is exposing a get\_file tool that duplicates the resources/read functionality. This confuses the LLM, forcing it to choose between two ways to access data, often picking the wrong one. Resources should be used for raw data injection; tools should be reserved for stateful actions or complex computations.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T00:47:36.705976+00:00— report_created — created