Skip to main content
Glama

codex_resume

Destructive

Resume an existing Codex thread by exact thread_id and open its panel; do not attach to conversations controlled by another client.

Instructions

Import/resume an existing Codex thread by its exact thread_id and open the panel. Never attach to a conversation being controlled by another client.

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

Input Schema

NameRequiredDescriptionDefault
thread_idYesExisting Codex thread id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the safety profile is covered. The description adds two things not in structured data: the tool opens a panel (a UI side effect) and a multi-client concurrency restriction. It stops short of explaining what 'destructive' actually means here — whether importing copies or mutates the thread.

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?

Two sentences, zero padding, with the action and its required key front-loaded before the constraint. Every clause carries information.

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?

For a one-parameter tool with annotations covering the safety profile and no output schema, the description covers purpose, prerequisite key and a concurrency constraint. The remaining gap is what 'import' does to existing state and what happens on an invalid or already-loaded thread_id.

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% and the sole parameter is already documented as 'Existing Codex thread id'. The description's 'exact thread_id' adds only a hint that no fuzzy/prefix matching is applied — marginal value over the schema, so the baseline score holds.

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?

Uses a specific verb pair (import/resume) against a named resource (an existing Codex thread) and states the required key (exact thread_id) plus the side effect (open the panel). This clearly separates it from start/open-style siblings, though it never names the sibling it replaces.

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 positive condition is implicit-but-clear (an existing thread you want to resume) and there is an explicit exclusion: never attach to a conversation controlled by another client. What's missing is routing to an alternative when that exclusion applies — the description says don't do it, not what to do instead.

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