Add MCP tool annotations to all 9 tools#38
Open
bryankthompson wants to merge 1 commit intoMiniMax-AI:mainfrom
Open
Add MCP tool annotations to all 9 tools#38bryankthompson wants to merge 1 commit intoMiniMax-AI:mainfrom
bryankthompson wants to merge 1 commit intoMiniMax-AI:mainfrom
Conversation
This PR adds MCP tool annotations to improve AI assistant understanding of tool capabilities: - title: Human-readable tool names - readOnlyHint: true for list_voices, play_audio, query_video_generation - readOnlyHint: false for generation tools (create new content) - destructiveHint: false for all tools (creation, not destruction) - openWorldHint: true for API-calling tools (external service) - openWorldHint: false for play_audio (local only) Tools annotated: 1. text_to_audio - Generate audio from text 2. list_voices - List available voices (readOnly) 3. voice_clone - Clone a voice from audio 4. play_audio - Play local audio file (readOnly, local only) 5. generate_video - Generate video from prompt 6. query_video_generation - Check video status (readOnly) 7. text_to_image - Generate image from prompt 8. music_generation - Generate music from prompt/lyrics 9. voice_design - Design a new voice 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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
This PR adds MCP tool annotations to all 9 tools in the MiniMax MCP server, improving AI assistant understanding of tool capabilities.
Changes
Added
ToolAnnotationsto each@mcp.tool()decorator with:Tools Annotated
Why These Annotations Matter
Per the MCP specification:
🤖 Generated with Claude Code