Doesn't seem to be adjusting for MCP tool parameters properly
Plugin Type
JetBrains Plugin
App Version
4.140.0
Description
I'm trying to use Kilo Code in IntelliJ IDEA with x-ai/grok-code-fast-1 and the Salesforce DX MCP server. This combination works well in Cline -- and overall it works really well in Kilo Code as well -- but specifically in Kilo Code I'm seeing a strange behavior where it seems to be ignoring its own feedback loop about how to use one of the key MCP server tools. Here's the relevant prompt execution output:
After that it abandoned trying to use the MCP server tool and instead tried to use the command-line directly. And that does work, but it obviously loses the value of the more safe encapsulation of that functionality via the MCP server.
Here is the MCP server tool definition:
Again, this works fine in Cline with the same model and MCP server. I do sometimes see it try the first time with an incorrect parameter combination, but the next time it uses the feedback to adjust the parameters for a successful tool execution.
Any idea why there might be a difference here?
Reproduction steps
Reproduction would require installation of the Salesforce CLI and Salesforce MCP server. It would be eased by using my Salesforce development plugin, Illuminated Cloud 2 -- which I'm happy to provide to help get a repro environment in place -- though that's not strictly necessary. If you want to try to reproduce this locally, please let me know and I'll be happy to provide the exact steps to do so.
Provider
Kilo Code
Model
x-ai/grok-code-fast-1
System Information
Windows 11 Pro Snapdragon(R) X 12-core X1E80100 @ 3.40 GHz, 3417 Mhz, 12 Core(s), 12 Logical Processor(s) 32GB RAM
For reference, here's Cline with the exact same prompt, model, and MCP server at the same step:
As noted above, I have seen it start with an invalid combination of parameters, but it generally corrects itself within 1-2 retries and succeeds.
For some reason Kilo Code with the same prompt, model, and MCP server repeatedly includes the invalid combination of parameters every time in spite of saying things like "it doesn't look like the tool supports both specifiction of both parameters", then ultimately disables that tool for the remainder of the prompt execution.
I imagine this could very well something model-specific, though that has be wondering why the same model would succeed elsewhere but not here.
To be clear, not at all criticizing Kilo Code as I find it to be a wonderful agentic AI plugin for JetBrains IDEs. I'm just trying to understand this difference in behavior of otherwise nearly identical toolsets and ideally find a way to have it use the available tool properly.
A bit more information... Trying to get it to behave properly using prompt and rule information doesn't seem to help either, though it does seem to understand what I'm asking it to do at a cursory level:
Perhaps Kilo Code shouldn't specify MCP server tool parameters with empty/blank values unless explicitly told by the MCP server tool that a parameter is required even without a value?
agree, recently, always stuck in loop with empty valude
Date/time: 2026-01-18T14:02:39.619Z Extension version: 4.148.1 Provider: openai Model: claude-sonnet-4-5
Kilo Code tried to use attempt_completion without value for required parameter 'result'. Retrying...
after I click go on about 5 times, it will use tool correctly finally..., really waste time...
the same here:
Date/time: 2026-01-20T09:09:05.002Z
Extension version: 4.149.0
Provider: openai
Model: claude-opus-4.5
Kilo Code tried to use attempt_completion without value for required parameter 'result'. Retrying...
Thanks for taking the time to report this!
We've just released a new version of the Kilo Code extension. As part of this transition, we're automatically closing issues that were filed against the legacy extension.
If you're still experiencing this issue with the new extension, feel free to reopen this or open a fresh issue with updated details - we'd love to hear from you. We're actively working to make Kilo Code better, and your feedback is a big part of that.
Thanks again for being part of the community!