Skip to content

[Discussion]: MCP Server "Auto-discover and use tools" is difficult to invoke correctly #12560

@PJ-568

Description

@PJ-568

Note

This issue was translated by Claude.

Issue Checklist

  • I understand that issues are meant for feedback and problem-solving, not for venting, and I will provide as much detail as possible to help resolve the issue.
  • I have checked the pinned issues and searched through the existing open issues, closed issues, and discussions and did not find a similar suggestion.
  • I confirm that I am here to ask questions and discuss issues, not to report bugs or request features.

Platform

Linux

Version

v1.7.13

Your Question

The "auto" option for MCP servers prevents context from being cluttered with tool prompts, which is good.
However, I found that LLMs have difficulty understanding what @cherry/hub:search and @cherry/hub:exec do.
By default, they assume @cherry/hub:search is some kind of web search tool rather than a tool-finding tool, wasting several rounds of conversation context to figure out how to use these two tools.

Of course, this can be improved by manually setting global prompts, but I suggest renaming them to @cherry/hub:find_tool and @cherry/hub:exec_tool by default, which can largely alleviate this problem.

Context

No response

Additional Information

Priority

Low (Review when available)


Original Content

Issue Checklist

  • I understand that issues are meant for feedback and problem-solving, not for venting, and I will provide as much detail as possible to help resolve the issue.
  • I have checked the pinned issues and searched through the existing open issues, closed issues, and discussions and did not find a similar suggestion.
  • I confirm that I am here to ask questions and discuss issues, not to report bugs or request features.

Platform

Linux

Version

v1.7.13

Your Question

MCP 服务器的"自动"选项可防止上下文被工具提示词塞满,这很好。
但我发现大模型很难理解 @cherry/hub:search@cherry/hub:exec 的作用。
它们默认认为 @cherry/hub:search 是某种网页搜索工具而非工具查找工具,浪费几轮对话上下文来搞清楚这两个工具怎么用。

当然可通过手动设定全局提示词改善,但我建议将默认名称设为 @cherry/hub:find_tool@cherry/hub:exec_tool 即可很大程度上缓解这一问题。

Context

No response

Additional Information

Priority

Low (Review when available)

Metadata

Metadata

Assignees

Labels

MCPCategorizes an issue or PR as relevant to SIG MCPdiscussionNeeds or features that can be discussedhelp wantedOpened for anyone to contribute to

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions