Skip to main content
Glama
Goudu666
by Goudu666

Interrupt a Codex turn

codex_interrupt

Stops the running turn on a Codex thread, letting you halt execution and regain control of the session.

Instructions

Stop the running turn on a Codex thread.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
thread_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It states that the turn is stopped, but does not disclose what happens to the thread afterward, whether the interruption is reversible, whether permissions are required, or what side effects occur.

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 a single, front-loaded sentence with no filler or repetition. Every word contributes to stating the action and target.

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?

Given no annotations, no output schema, and 0% parameter description coverage, the description is too thin. It omits parameter semantics and behavioral details that an agent would need to invoke the tool confidently in context.

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%, so the description should compensate for the undocumented thread_id parameter. It only mentions "a Codex thread," which weakly implies the parameter identifies a thread, but gives no format, requiredness, or other meaning beyond the bare schema.

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 uses a specific verb ("Stop") and resource ("the running turn on a Codex thread"), making the core action immediately clear. It does not, however, differentiate this tool from siblings like codex_steer or codex_run, which could also affect a running turn.

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 about when to use this tool versus alternatives such as codex_steer or codex_wait. The closest thing is the implied condition that a turn is running, but no prerequisites, exclusions, or alternative-routing advice are given.

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