From d75da2ab7c1133bf050f19c4e54e65201dfa170b Mon Sep 17 00:00:00 2001 From: Jithendra Date: Wed, 25 Mar 2026 17:01:52 -0400 Subject: [PATCH] fix: remove aggressive steering from tool descriptions 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 #13 and violate the MCP convention that tool descriptions are informational, not behavioral. Fixes #14 --- minimax_mcp/server.py | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/minimax_mcp/server.py b/minimax_mcp/server.py index 6ad39fb..a7b7660 100644 --- a/minimax_mcp/server.py +++ b/minimax_mcp/server.py @@ -40,9 +40,7 @@ @mcp.tool( description=""" - You MUST use this tool whenever you need to search for real-time or external information on the web. - - A web search API that works just like Google Search. + Search the web for real-time or external information. Works like Google Search. Args: query (str): The search query. Aim for 3-5 keywords for best results. For time-sensitive topics, include the current date (e.g. `latest iPhone 2025`). @@ -104,10 +102,7 @@ def web_search( @mcp.tool( description=""" - You MUST use this tool whenever you need to analyze, describe, or extract information from an image, - including when you get an image from user input or any task-related image. - - An LLM-powered vision tool that can analyze and interpret image content from local files or URLs based on your instructions. + Analyze, describe, or extract information from an image using LLM-powered vision. Only JPEG, PNG, and WebP formats are supported. Other formats (e.g. PDF, GIF, PSD, SVG) are not supported. Args: