Guide / Every rule
Two tools of an agent with the same name
The check agents/duplicate-tool-names, in the group AI agents.
Why it matters
The model calls a tool by its name, which is the id of the element, and an MCP client by its client id. Two tools whose names differ only by capitals, or two MCP clients with one client id, give it the same name twice and it cannot tell them apart.
How to fix it
Give one of them another id, or use one MCP client.
Where you see it
The Problems tab of the BPMN editor lists it, the Agents tab shows it on the agent it belongs to, and penstock check reports it as agents/duplicate-tool-names. It runs on .bpmn files and is free.
Rule details
| Id | agents/duplicate-tool-names |
| Group | AI agents |
| Level | Advice: it works, and reads or runs better without it |
Read more: AI agents of Camunda 8. All rules: Every rule.