Skip to main content
Glama

job_status

Read-only

Track a detached Codex job by ID: read live output tail while it runs, or fetch the full result or error after completion.

Instructions

Read the job status, a live output tail while running, or its full result or error after completion.

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": {
      "jobId": "<jobId>"
    },
    "name": "job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobIdYesJob ID returned by a background tool.
tailLinesNo
includeOutputNoInclude the live log tail or the final result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: output is a live tail during execution but a final result or error after completion, which tells the agent this tool is pollable and state-dependent. It does not mention rate limits, error cases for unknown job IDs, or truncation behavior.

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?

One sentence, front-loaded with the core verb and resource, then the mode variants in the order an agent would encounter them. No filler or repetition of schema/annotation content.

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 3-param, no-output-schema read tool, the description covers what comes back (status, tail, result, error) reasonably well, which matters since there is no output schema. The main residual gaps are behavior for invalid or expired job IDs and how tail size interacts with the result mode.

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 67%, above the low-coverage threshold, so the schema carries most parameter documentation (jobId and includeOutput are described there; tailLines only has default/min/max). The description obliquely maps to the parameters via 'live output tail' and 'full result or error', hinting at tailLines and includeOutput, but never names them or explains truncation. Baseline 3 is appropriate.

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 gives a specific verb and resource ('Read the job status') and distinguishes three distinct read modes: live tail while running, full result, or error after completion. That is more than a restatement of the name. It stops short of naming a sibling it is not, but the by-ID read framing already separates it from list_jobs/cancel_job.

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?

Usage is implied by the temporal framing: poll while the job is running for the live tail, read once after completion for result or error. However, there is no explicit statement of when to prefer this over list_jobs or cancel_job, and no guidance on polling cadence or whether it blocks. Adequate but leaves the alternative selection to inference.

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