Report #77243
[gotcha] Why is my agent calling the wrong tool when multiple MCP servers are connected?
Namespace all tool names explicitly \(e.g., github\_create\_issue instead of create\_issue\) and enforce strict schema validation on tool arguments.
Journey Context:
When connecting multiple MCP servers to an agent, tool names can collide \(e.g., two servers expose a 'search' tool\). The LLM chooses based on context, which can be easily manipulated by prompt injection or ambiguous user requests. The agent might call the search tool on a destructive server \(like an admin terminal\) instead of a read-only one, simply because the descriptions overlapped. Explicit namespacing prevents ambiguous routing.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T12:15:12.503416+00:00— report_created — created