forked from cline/cline
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Labels
Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.Someone is actively working on this. Should link to a PR soon.bugSomething isn't workingSomething isn't working
Description
App Version
Version: 3.26.4 (8cff25a)
API Provider
Not Applicable / Other
Model Used
N/A
Roo Code Task Links (Optional)
No response
🔁 Steps to Reproduce
Sometimes the model gets confused in reasoning and may build a request by specifying the correct name of the MCP server but an incorrect tool name. In this case, the call to this tool proceeds, even though it is not in the list provided during MCP registration.
Example from exported chat
**Assistant:**
<use_mcp_tool>
<server_name>existing_mcp_server_name</server_name>
<tool_name>not_existing_tool</tool_name>
<arguments>
{
"some": "arguments"
}
</arguments>
</use_mcp_tool>💥 Outcome Summary
Current behavior: A request with a non-existent tool is sent to the MCP server, and the raw response is sent to the chat.
Expected behavior: An unknown tool should be automatically rejected without interacting with the MCP server. Instead, a hint with a list of current available tools for the selected server should be sent to the chat.
📄 Relevant Logs or Errors (Optional)
Metadata
Metadata
Assignees
Labels
Issue - In ProgressSomeone is actively working on this. Should link to a PR soon.Someone is actively working on this. Should link to a PR soon.bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done