Skip to main content
Glama

codex_app_cancel_job

Cancel a running coding job by job ID to stop its execution and halt further task processing.

Instructions

Internal MCP App running job canceller.

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": {
      "job_id": "<job_id>"
    },
    "name": "codex_app_cancel_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

D1.9/5.0
Behavior1/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about side effects, whether cancellation is immediate or best-effort, what happens to partial work, idempotency, or what errors occur for already-finished jobs. 'Internal MCP App' adds no actionable meaning for an agent deciding whether to call it.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is compact, but its brevity comes from omission rather than efficiency; it reads as a label rather than guidance and front-loads nothing about behavior or constraints.

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?

Although the tool is structurally simple (one required string, no nested objects, no output schema), it is a mutation with zero annotation coverage, so the description should at minimum state effects and failure modes. As written, an agent cannot confidently predict the outcome of a call.

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% for the single required 'job_id' parameter, and the description does not explain what form the identifier takes, where to obtain it, or whether it must reference a running job. With one undocumented parameter, the description provides no compensating meaning.

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 phrase 'running job canceller' does identify the action (cancel) and the target (a running job), and 'running' usefully narrows scope. However, it is delivered as a noun phrase that largely restates the tool name, and it does not clarify how it relates to the sibling 'codex_cancel', which appears to offer similar functionality.

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 when-to-use guidance, no mention of prerequisites, and no stated alternative for cancelling jobs versus 'codex_cancel' or inspecting them via 'codex_app_job_detail'. The agent must guess the selection criteria from the name alone.

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