Skip to main content
Glama

job_status

Read-only

Check a background job's progress and result, including exit code and final JSON, waiting up to a set time for completion.

Instructions

Report a background job started by build_start, check (ready), repair_propose or rerecord: status running|done|failed, the last progress lines, and the final JSON result and exit code when finished. Waits up to wait_s seconds for the job to finish before answering.

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": "job_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job_id a job-starting tool returned.
wait_sNoLong-poll: wait up to this many seconds for completion (default 25, max 50).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true. The description adds real behavioral detail beyond that: the returned fields (status, progress lines, final JSON result and exit code) and the long-poll wait semantics with a bounded wait_s. This is solid added context; a 4 would be warranted if it clarified whether polling repeatedly is cheap or whether a job_id can expire.

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, front-loaded with what is returned, then the waiting behavior. No wasted wording, and the status enum values are embedded efficiently in-line.

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?

No output schema, so the description carries the burden of describing return values and does so well (status, progress, result, exit code). Slightly short on error cases (unknown or expired job_id) and on whether the job keeps running after timeout, but overall complete for a read-only status tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with both parameters documented, so the baseline is 3. The description adds meaning by explaining the wait semantics in prose (waits up to wait_s seconds before answering), reinforcing the long-poll behavior and clarifying that a non-final status is expected on timeout – value beyond the schema's short parameter notes.

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

Purpose5/5

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

Specific verb (report on) plus resource (background job), and it enumerates the exact job-starting sibling tools whose job_ids it accepts (build_start, check, repair_propose, rerecord). This distinguishes it from those start tools immediately.

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?

Names which tools produce jobs this can be queried for, which implicitly tells the agent to call this after starting a job. It doesn't explicitly state when not to use it or contrast with other monitoring paths (e.g., peek), but the source-tool mapping gives clear usage context.

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