Skip to main content
Glama

codex_resume

Continue an existing Codex thread by sending a guarded follow-up or fix instruction while preserving cache-identical flags and runtime guardrails.

Instructions

Send a guarded follow-up or fix directive to an existing thread_id while preserving cache-identical flags and runtime guardrails.

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": {
      "thread_id": "<thread_id>",
      "instruction": "<instruction>"
    },
    "name": "codex_resume"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
asyncNo
modelNogpt-6.2-sol
imagesNo
profileNo
sandboxNo
lean_modeNo
thread_idYes
instructionYes
timeout_secNo
max_commandsNo
strict_guardNo
allowed_pathsNo
forbidden_pathsNo
reasoning_effortNo
allow_destructiveNo
max_files_changedNo
auto_revert_violationsNo
kill_on_scope_violationNo
use_silent_worker_promptNo
enforce_structured_outputNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It mentions 'guarded', 'cache-identical flags', and 'runtime guardrails', which hints at safety behavior, but it does not explain what those guardrails enforce, what happens on violation, whether changes are destructive, or what permissions are needed for a 21-parameter mutation-capable tool.

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 a single front-loaded sentence with no filler, so it is structurally efficient. The phrase 'cache-identical flags' is somewhat opaque jargon, but the sentence itself is appropriately sized.

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

Completeness1/5

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

For a tool with 21 parameters, no annotations, no output schema, and multiple guardrail-related options, a one-sentence description is far too thin. It does not explain parameter behavior, return values, error conditions, or the practical meaning of its runtime guardrails.

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

Parameters1/5

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

Schema description coverage is 0% across 21 parameters, and the description only vaguely references thread_id, instruction, and 'cache-identical flags'. It provides no meaning for critical parameters such as sandbox, strict_guard, allowed_paths, forbidden_paths, allow_destructive, max_files_changed, auto_revert_violations, or kill_on_scope_violation.

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 states a specific action ('Send a guarded follow-up or fix directive') and target ('existing thread_id'), making the resume purpose clear. It does not explicitly differentiate itself from siblings like codex_exec or codex_job_status, so it falls short of a 5.

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?

Usage is implied by 'existing thread_id' and 'follow-up or fix directive', suggesting this tool is for continuing an already-started thread. However, there is no explicit guidance on when to choose this over codex_exec, codex_batch_exec, or other sibling tools, and no exclusions or prerequisites are stated.

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