Skip to main content
Glama
jgt87
by jgt87

Follow up on a Codex job

codex_reply

Send follow-up corrections or new instructions to a finished Codex job, reusing its working directory and sandbox. Returns a new jobId for asynchronous collection.

Instructions

Send a follow-up into a finished job's Codex thread — corrections, review comments, 'you missed X', 'now do Y as well'. Codex retains everything from the original job, so this is far better than starting a fresh job that would begin cold. Returns a new jobId you collect exactly like codex_start — keep working while it runs rather than re-checking in a loop. The follow-up reuses the original job's working directory and sandbox.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jobIdYesThe job to continue. May itself be a previous codex_reply job.
promptYesThe follow-up message for Codex.
structuredNoWhether to require a typed report. Defaults to the parent job's setting.
reasoningEffortNoReasoning effort for this follow-up. Defaults to the parent job's setting. Worth raising when the first attempt got it wrong for want of thinking, and worth lowering when the follow-up is a mechanical fixup of work already done.
Behavior4/5

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

With no annotations provided, the description carries the full burden. It discloses key behavioral traits: it returns a new jobId, advises to keep working while it runs (avoid re-checking), and states that it reuses the original working directory and sandbox. It also notes that Codex retains context from the original job. The description does not explicitly state if the operation is destructive or safe, but the nature of sending a follow-up implies a non-destructive mutation.

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

Conciseness5/5

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

The description is concise with four sentences. It is front-loaded with the core purpose, then adds critical details (retains context, return value, reuse of directory). Every sentence adds value without redundancy or fluff.

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

Completeness4/5

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

Given the tool has 4 parameters and no output schema, the description adequately explains the tool's behavior and return value (new jobId). It covers the key use case and workflow. Minor omissions like error handling are forgivable, as this is a follow-up tool that builds on existing jobs.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline is 3. The description adds valuable context beyond the schema: for 'reasoningEffort', it provides strategic guidance on when to raise or lower the effort; for 'jobId', it clarifies that it can be a previous codex_reply job. The general explanation of the tool enriches understanding of parameter purpose.

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

Purpose5/5

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

The description clearly states the verb 'Send a follow-up' and the resource 'finished job's Codex thread'. It provides concrete examples of usage ('corrections, review comments, 'you missed X', 'now do Y as well') and distinguishes itself from the sibling tool 'codex_start' by emphasizing the benefit of retaining context. The purpose is specific and unambiguous.

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

Usage Guidelines4/5

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

The description explicitly states that this tool is 'far better than starting a fresh job that would begin cold', giving a clear when-to-use recommendation. It implies when not to use (when a fresh start is needed) and contrasts with 'codex_start'. However, it does not mention other sibling tools like 'codex_execute_plan' or 'codex_result', but the primary alternative is covered.

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/jgt87/codex-offload-mcp'

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