Skip to content

Include mcp server names in tool names #5991

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 6, 2025
Merged

Conversation

RomneyDa
Copy link
Collaborator

@RomneyDa RomneyDa commented Jun 4, 2025

Prevents duplicate tool names from MCP servers

Has the downside of additional tokens for MCP server tools, and potential confusion if the mcp server name is very unrelated to the tool function.
Could look into other ways of making these unique but full mcp server name is fine for now. Models might do well with hashes/numbers
Could also only prepend mcp server names to duplicate tools - decided not to do this since not consistent and will cause tool policy thrashing

@RomneyDa RomneyDa requested a review from a team as a code owner June 4, 2025 22:54
@RomneyDa RomneyDa requested review from tomasz-stefaniak and removed request for a team June 4, 2025 22:54
Copy link

cubic-dev-ai bot commented Jun 4, 2025

Your cubic subscription is currently inactive. Please reactivate your subscription to receive AI reviews and use cubic.

Copy link

netlify bot commented Jun 4, 2025

Deploy Preview for continuedev canceled.

Name Link
🔨 Latest commit 1562481
🔍 Latest deploy log https://app.netlify.com/projects/continuedev/deploys/6840dc57fc179c000870e81f

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jun 4, 2025
@RomneyDa RomneyDa requested review from Patrick-Erichsen and removed request for tomasz-stefaniak June 4, 2025 22:55
@RomneyDa
Copy link
Collaborator Author

RomneyDa commented Jun 4, 2025

@chezsmithy curious if anyone on your team has built rules/workflows around tools that would break with this change?

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Jun 6, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jun 6, 2025
@Patrick-Erichsen Patrick-Erichsen merged commit 0545e17 into main Jun 6, 2025
65 of 67 checks passed
@Patrick-Erichsen Patrick-Erichsen deleted the dallin/tool_names branch June 6, 2025 18:41
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Jun 6, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jun 6, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants