fix: rename deferred tools to comply with MCP naming standard#6
Merged
abidlabs merged 2 commits intogradio-app:mainfrom Feb 27, 2026
Merged
Conversation
Member
|
Ah makes sense, this looks good except that it includes the commits from #4. Could you separate the changes so this PR only includes the tool name change? |
Renamed tool names to use underscores instead of spaces per MCP SEP-986: - "Search Deferred Tools" -> "search_deferred_tools" - "Call Deferred Tool" -> "call_deferred_tool" The MCP specification requires tool names to only contain: A-Z, a-z, 0-9, underscore (_), dash (-), and dot (.) Spaces in tool names cause validation warnings and potential parsing issues. See: https://modelcontextprotocol.io/specification/2025-11-25/server/tools#tool-names
1683c30 to
cc5dc42
Compare
Member
🪼 branch checks and previews
|
Member
🦄 change detectedThis Pull Request includes changes to the following packages.
|
Contributor
Author
abidlabs
approved these changes
Feb 27, 2026
Member
abidlabs
left a comment
There was a problem hiding this comment.
Great thanks @Mandark-droid!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
"Search Deferred Tools"to"search_deferred_tools""Call Deferred Tool"to"call_deferred_tool"Fixes #5
Problem
The MCP tool naming standard (SEP-986) only allows: A-Z, a-z, 0-9, underscore (_), dash (-), and dot (.)
Spaces in tool names cause validation warnings and potential compatibility issues with MCP clients.
Changes
toolsets/mcp_server.pytoolsets/gradio_ui.pytoolsets/toolset.pyREADME.mdReference
https://modelcontextprotocol.io/specification/2025-11-25/server/tools#tool-names