Skip to main content
Glama

codex_watch

Starts an owned observation job for one exact native Codex turn to monitor its progress without interrupting it; canceling the watch only stops observation.

Instructions

Start an owned observation job for one exact native Codex turn. Canceling the watch only stops observing.

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

Input Schema

NameRequiredDescriptionDefault
thread_idYes
context_idYes
timeout_msNo
operation_idYes
expected_titleYes
native_turn_idYes
execution_backendYes
backend_instance_idYes
expected_baseline_turn_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

C2.7/5.0
Behavior3/5

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

Annotations already declare readOnly=false, openWorld=true, destructive=false, so the agent knows a job is created. The second sentence adds genuinely non-obvious behavior: canceling the watch does not stop the underlying turn, only the observation. Missing are the lifecycle implications of timeout_ms (default 60s, max 1h), what happens to the job on timeout, and whether the watch must be re-established.

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?

Two short sentences, front-loaded with the action and zero filler. The second sentence earns its place by disclosing cancel semantics, though the overall brevity is under-specification rather than tight economy for a nine-parameter tool.

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

Completeness2/5

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

For a tool with nine parameters, eight required, no schema descriptions, and no output schema, two sentences are far too thin. The expected_* precondition parameters and the operation_id idempotency key strongly suggest a guarded, retryable operation whose semantics the agent must know before calling, and none of that is covered.

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 description coverage is 0% across nine parameters, and the description explains none of them. "One exact native Codex turn" loosely evokes native_turn_id, but expected_title, expected_baseline_turn_id, backend_instance_id, context_id, and operation_id — clearly precondition/idempotency guards — are left entirely unexplained.

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

Purpose3/5

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

The description states a verb and resource ("Start an owned observation job") and narrows scope to "one exact native Codex turn," which is more specific than the tool name alone. However, "owned observation job" is undefined jargon and the description never says what observing actually produces or how it differs from siblings like codex_status, codex_read, or codex_status polling.

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

Usage Guidelines2/5

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

There is no guidance on when to call this instead of codex_status, codex_read, or codex_list, nor any stated preconditions despite eight required parameters that look like precondition guards. The only usage-adjacent statement is about canceling, not about selecting this tool.

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