Skip to main content
Glama

codex_resume

Destructive

Resume a verified Codex agent thread with an authorized message and stable operation ID to continue autonomous work under its original permissions without replacing the thread.

Instructions

Resume one verified existing Codex agent thread with a user-authorized message and a stable operation ID. This can continue autonomous agent work with filesystem, process or external-service effects under that thread permissions. Uses the original thread and delivery receipt; does not create a replacement conversation.

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": {
      "context_id": "<context_id>",
      "execution_backend": "<execution_backend>",
      "thread_id": "<thread_id>",
      "backend_instance_id": "<backend_instance_id>",
      "expected_title": "<expected_title>",
      "expected_baseline_turn_id": "<expected_baseline_turn_id>",
      "operation_id": "<operation_id>",
      "message": "<message>"
    },
    "name": "codex_resume"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYes
thread_idYes
context_idYes
operation_idYes
expected_titleYes
execution_backendYes
backend_instance_idYes
expected_baseline_turn_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructive=true and openWorld=true; the description earns credit by concretizing the risk ('filesystem, process or external-service effects under that thread permissions') and by noting the delivery receipt and original-thread reuse. It still omits retry/idempotency semantics for operation_id, what happens if expected_baseline_turn_id is stale, and any failure modes — sizeable gaps for a destructive, open-world mutation.

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?

Three compact sentences, front-loaded with the action and scope, then behavior, then the negative constraint. No filler, though 'delivery receipt' is unexplained jargon that a reader must interpret.

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?

For a destructive, open-world tool with 8 required parameters, no output schema, and zero schema coverage, the description covers effects and thread reuse reasonably well. It does not cover how the concurrency/verification parameters (expected_title, expected_baseline_turn_id) should be sourced, which is the main thing an agent needs before calling safely.

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

Parameters2/5

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

Schema coverage is 0% across 8 required parameters, so the description carries the full burden and largely drops it. It adds meaning only for 'operation_id' ('stable operation ID') and gestures at the message being 'user-authorized,' while expected_title, expected_baseline_turn_id (apparently an optimistic-concurrency guard), context_id, backend_instance_id, and the desktop/daemon enum are left entirely unexplained in both schema and prose.

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 names a specific verb and resource: 'Resume one verified existing Codex agent thread.' It also scopes it ('one verified existing') and contrasts with the implied alternative by stating it 'does not create a replacement conversation.' It never names codex_send explicitly, so the sibling differentiation is inferential rather than stated.

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?

'Resume' plus 'existing thread' implies the resume-versus-new-conversation split, and the closing clause reinforces it. However, no prerequisites are stated (thread must already exist and be verified, what 'user-authorized' requires from the caller), and no sibling is named as the alternative for starting fresh work.

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