fix: remove aggressive steering from tool descriptions#17
Open
JithendraNara wants to merge 1 commit intoMiniMax-AI:mainfrom
Open
fix: remove aggressive steering from tool descriptions#17JithendraNara wants to merge 1 commit intoMiniMax-AI:mainfrom
JithendraNara wants to merge 1 commit intoMiniMax-AI:mainfrom
Conversation
Tool descriptions should describe capabilities, not dictate when the client agent must use them. The "You MUST use this tool" directives were added in PR MiniMax-AI#13 and violate the MCP convention that tool descriptions are informational, not behavioral. Fixes MiniMax-AI#14
There was a problem hiding this comment.
Pull request overview
This PR updates MCP tool descriptions in minimax_mcp/server.py to remove directive/steering language (“You MUST use this tool…”) and replace it with capability-only descriptions, aligning with MCP conventions and addressing Issue #14.
Changes:
web_search: Replace mandatory-usage wording with a concise capability description.understand_image: Replace mandatory-usage wording with a concise capability description.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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
Removes the
You MUST use this tooldirectives fromweb_searchandunderstand_imagetool descriptions. These were introduced in #13 and violate the MCP convention that tool descriptions should describe capabilities, not dictate client agent behavior.As noted in #14, tool descriptions should only describe what the tool does — it's the client agent's decision when to use them.
Changes
web_search: Replaced "You MUST use this tool whenever you need to search..." with "Search the web for real-time or external information."understand_image: Replaced "You MUST use this tool whenever you need to analyze..." with "Analyze, describe, or extract information from an image using LLM-powered vision."All other description content (args, returns, search strategy, format notes) is unchanged.
Fixes #14