Confirmed that this issue has not been reported yet.
Bug Description
Is it possible to get more detailed MCP Server invocation error messages?
When using gemini-2.5-pro-exp-03-25, there are intermittent cases where the LLM announces it is going to call a tool, but no action is taken afterward.
Steps to Reproduce
Normal Invocation Flow:
LLM decides to call a tool after reasoning
Chat displays “generating…”
[ToolFormer] Creating initial data for MCP is triggered
[MCPHandler] Executing tool ... is triggered
LLM returns the result of the tool call
Failed Invocation Flow:
LLM decides to call a tool after reasoning
Chat displays “generating…”
LLM stops all activity
Preliminary Analysis
In the failure case, the flow proceeds to “generating…”, which suggests that the LLM is preparing the tool parameters. However, [ToolFormer] Creating initial data for MCP is never triggered, which leads me to believe there might be an issue between the LLM’s parameter submission and Cursor’s actual tool invocation.
Additional Info
I am currently developing an MCP Server. Everything works well with other coding agents and other models in Cursor — the issue only occurs when using gemini-2.5-pro-exp-03-25.
Request ID:34bf38b1-e57a-4c94-9b99-5036049c9f94
System Info
OS: macOS
Cursor Version: 0.49.6
Impact
This issue affects the reliability of tool invocation and may hinder development or debugging when using the Gemini model.
I can confirm using MCP shrimp task manager that when calling the “split_tasks” tool, the new gemeni has trouble trying to call the tool correctly. But after I asked to learn how it calls other tools, gemeni was able to call it. This means I have to constantly remind llm to learn the tool.
Sorry to bother you. Could you please help check if there is anything unusual with this request ID: 34bf38b1-e57a-4c94-9b99-5036049c9f94? This issue only occurs when using gemini-2.5-pro-exp-03-25; other models are working fine. Thank you!
Yes, based on my current testing, the issue mostly happens when Gemini tries to call the split_tasks tool. Unfortunately, I haven’t been able to retrieve detailed error messages from Cursor, so I still can’t pinpoint or fix the root cause.
I’ve tested the same model and task setup using Cline, and it works well there. The problem only occurs specifically when using Gemini inside Cursor.
I received the update notification today and successfully upgraded to version 0.51.
However, the issue still persists.
Because I can’t access detailed MCP invocation logs, I can’t confirm the exact cause.
From my testing:
In a new chat session, asking the model to invoke a tool works as expected.
But in a longer conversation with multiple turns or a larger context, if I ask it to invoke a tool, it announces the intent to call the tool but then takes no action.
This issue appears only with certain tools. In my case, I’m using the split_tasks tool from the mcp-shrimp-task-manager project.
What I can confirm is:
Other models in Cursor perform tool calls normally.
The same Gemini model works properly with tool calls in Cline.
This issue only occurs with Gemini models in Cursor.
At this point, I’m unsure whether the issue is with the Gemini integration in Cursor, or a compatibility issue with the specific tool.