Skip to main content
Glama

codex_status

Check a Codex job's status by job_id or wait up to a specified time for completion, returning a current snapshot for monitoring or continuation.

Instructions

Check status or continue waiting for an in-progress or finished Codex job by job_id.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "job_id": "<job_id>"
    },
    "name": "codex_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesJob ID returned by codex_run, codex_resume, or codex_review.
wait_secondsNoSeconds to wait for completion before returning current snapshot (0..600).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it does disclose the non-trivial blocking/long-poll behavior ('continue waiting'). It does not state that the call is read-only, what happens on timeout, or how an unknown/expired job_id is reported, which matters for an agent deciding whether to retry.

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?

One sentence, front-loaded with the verb and resource, with no filler. It is close to optimal for a two-parameter polling tool, though the dual framing ('check status OR continue waiting') could be split for sharper scanability.

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?

The tool is simple and the input schema is fully self-documenting, but with no output schema the description never says what a status snapshot contains (state values, progress, result payload) or how to resume waiting. For a polling tool, that return-shape gap is the main missing piece.

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 100%, so both job_id (with its provenance from codex_run/resume/review) and wait_seconds (0..600 default 30) are already fully documented. The description only echoes 'by job_id' and adds no syntax, format, or range detail beyond the schema, so the baseline 3 applies.

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 pairs a specific verb ('Check status', 'continue waiting') with a specific resource ('Codex job') and keys it to 'job_id', so the operation is unambiguous. It also implicitly distinguishes itself from the group/overview siblings by being job-scoped and wait-capable, though it does not name an alternative to contrast against.

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?

'in-progress or finished Codex job' implies the polling use case that follows codex_run/codex_resume/codex_review, and 'continue waiting' signals long-polling. However, there is no explicit when-not guidance and no sibling alternative named (e.g., codex_group_status or codex_app_job_detail), leaving the choice to inference.

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