Report #94039
[gotcha] Agent calls wrong MCP server due to duplicate tool names
Namespace tool names with the server identity \(e.g., github\_search vs slack\_search\) at the client layer before presenting them to the LLM, and enforce strict routing based on the LLM's intended target.
Journey Context:
The MCP specification allows multiple servers to be connected to a single client. If two servers provide a 'search' tool, the LLM might intend to search Slack but actually search internal docs, or vice versa. The LLM chooses based on the tool name, which becomes ambiguous. Prefixing tools with their server namespace at the client level disambiguates them for the LLM.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T16:25:52.048887+00:00— report_created — created