Original Reddit post

I have a simple MCP tool with 2 parameters. Claude Code, for some reason, consistently misses a parameter. The error message is very clear what is missing. CC understands what is missing (it sometimes goes into thinking). Then, CC proceeds to make the same mistake. It would say something like “Let me try insert explicit parameters”. Then, it would invoke another tool_use with no parameter :S More info: This only happens in the non-interactive mode. CC is stuck in this infinite loop and will call the same tool with the same parameters >10 times until I press Ctrl+C. It only happens to 1 specific tool. Other tools on the same MCP server don’t encounter this issue. How would you debug this kind of situation? submitted by /u/tanin47

Originally posted by u/tanin47 on r/ClaudeCode