agent: Fix issue with duplicated tool names from MCP servers (#33811)

Closes #33792

Follow up to #33237 - Turns out my fix for this was not correct

Release Notes:

- agent: Fixed an issue where tools would not work when two MCP servers
provided a tool with the same name
0553dc0d49Bennet Bo Fenner committed on 7/2/2025, 8:32:07 PM· committed by GitHubparentf27b508
6 files changedLine totals unavailable