MCP tools fail to run many times

Resolved 💬 6 comments Opened Oct 18, 2025 by guidedways Closed Oct 21, 2025

What version of Codex is running?

0.47.0

What subscription do you have?

Pro

Which model were you using?

gpt-5-codex high

What platform is your computer?

macOS

What issue are you seeing?

Is there a verbose / debug mode to see what codex is doing? Many times it'll call a MCP tool either incorrectly (missing out on required parameters or simply passing the wrong value even though the schema describes it properly).

99% of the times the first time it calls a tool it'll come back with something like

Error: tool call error: tool call failed for `zen/chat`

Then it'll try again (with what seems like the same parameters) and it'll work. There seems to be no such issues with Claude Code, only codex has been doing this consistently every single time.

I'd like debug this and would appreciate some help. Thank you!

What steps can reproduce the bug?

Use a MCP tool such as Zen: https://github.com/BeehiveInnovations/zen-mcp-server

Ask codex to chat with gemini pro to discuss something and it'll fail the first couple of times before succeeding eventually.

What is the expected behavior?

_No response_

Additional information

_No response_

View original on GitHub ↗

This issue has 6 comments on GitHub. Read the full discussion on GitHub ↗