Skip to content

Commit d75da2a

Browse files
author
Jithendra
committed
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
1 parent fbac3b3 commit d75da2a

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

minimax_mcp/server.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,7 @@
4040
@mcp.tool(
4141
description="""
4242
43-
You MUST use this tool whenever you need to search for real-time or external information on the web.
44-
45-
A web search API that works just like Google Search.
43+
Search the web for real-time or external information. Works like Google Search.
4644
4745
Args:
4846
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(
104102
@mcp.tool(
105103
description="""
106104
107-
You MUST use this tool whenever you need to analyze, describe, or extract information from an image,
108-
including when you get an image from user input or any task-related image.
109-
110-
An LLM-powered vision tool that can analyze and interpret image content from local files or URLs based on your instructions.
105+
Analyze, describe, or extract information from an image using LLM-powered vision.
111106
Only JPEG, PNG, and WebP formats are supported. Other formats (e.g. PDF, GIF, PSD, SVG) are not supported.
112107
113108
Args:

0 commit comments

Comments
 (0)