Skip to main content
Glama
x51xxx

codex-mcp-tool

by x51xxx

do-act

Destructive

Execute a task using Codex, verify with a shell command, and automatically retry fix on failure. Uses an act-check-fix loop until success.

Instructions

Execute task via Codex, verify with shell command, auto-fix on failure. Act-Check-Fix loop.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
ossNoUse local Ollama/LM Studio
taskYesTask for Codex to execute
modelNoOptional model override. Known: gpt-5.6, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4, gpt-5.4-mini. If omitted, uses your Codex CLI default (~/.codex/config.toml).
verifyNoShell command to validate result. Triggers act-check-fix loop on failure.
timeoutNoCodex timeout per attempt in ms. Default: 10min
fullAutoNoCompatibility alias for workspace-write with approval=never
maxRetriesNoMax retry attempts if verify fails. Default: 2
workingDirNoWorking directory
sandboxModeNoAccess: read-only, workspace-write, danger-full-access
localProviderNo
reasoningEffortNoReasoning depth. Default: high (act-check-fix loops benefit from depth so retries converge). Override with "xhigh" for hard tasks, "medium" for simple verifiable steps.high

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
stepsYes
statusYes
attemptsYes
durationMsYes
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already mark the tool as destructive and not read-only. The description adds behavioral context about the verification loop and auto-fixing, but does not elaborate on side effects beyond what annotations imply. No contradictions.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two sentences, front-loading the core function. Every sentence adds value. Could be slightly more structured but is efficient overall.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 11 parameters, a nested object, and an output schema, the description could provide more context about the loop's outcome or return format. However, the output schema covers return values, so the description is minimally adequate.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is high (91%), so the schema already documents most parameters. The description adds no additional meaning beyond the schema, such as clarifying the interplay between parameters. Baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool executes a task via Codex, verifies with a shell command, and auto-fixes on failure. It distinguishes itself from sibling tools that are primarily informational or have different purposes like 'brainstorm' or 'fetch-chunk'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies usage for tasks requiring verification and retry via 'Act-Check-Fix loop', but does not explicitly state when to use this tool over alternatives or when not to use it.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/x51xxx/codex-mcp-tool'

If you have feedback or need assistance with the MCP directory API, please join our Discord server