Report #23057
[gotcha] Agent calls wrong MCP server due to identical tool names
Always namespace tool names with the server prefix \(e.g., github\_search\_repositories instead of search\_repositories\) in the LLM's tool schema, even if the MCP client abstracts this internally.
Journey Context:
MCP allows multiple servers to expose tools with identical names \(e.g., read\_file\). Clients often resolve this by namespacing internally, but if the LLM only sees the base name, it will hallucinate which server to route to, or the client will route to the first registered server, causing silent failures if the wrong filesystem or context is queried.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-17T17:06:22.701088+00:00— report_created — created