Skip to main content
Glama

get_job_status

Read-only

Check an image-generation job's state and progress, optionally waiting up to 45 seconds for it to finish. Use it to track queued GPU jobs by job ID.

Instructions

Return the state and progress of a job.

    With wait_seconds > 0 the call returns when the job ends or the time passes.
    

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

Input Schema

NameRequiredDescriptionDefault
job_idYes
wait_secondsNoWait up to this time for the end.

Output Schema

NameRequiredDescriptionDefault
stepYes
errorNo
stageYes
stateYes
job_idYes
messageNo
percentYes
warningsYes
elapsed_sYes
next_stepNo
total_stepsYes
queue_positionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: with wait_seconds > 0 the call blocks until the job ends or the wait elapses, which is critical for an agent to know since it changes call timing. It omits what the terminal states look like, but the output schema likely covers the response shape.

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 with the purpose front-loaded and the blocking caveat second. The second sentence is slightly awkward in phrasing ('or the time passes') and largely duplicates the wait_seconds schema description, but there is no padding.

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

Completeness3/5

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

With an output schema present, the description need not explain return values, and the blocking behavior is covered. What remains missing is the distinction from get_job_result and any hint about terminal states or what to do after the wait elapses, which matters for a polling tool with a confusingly similar sibling.

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 50%: wait_seconds is already documented in the schema as 'Wait up to this time for the end', and the description mostly restates that. job_id is undocumented in both places, though its meaning is self-evident. The description adds no syntax or semantic detail beyond the 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?

"Return the state and progress of a job" names a specific verb (return) and resource (job), so the agent knows it is a read of job state. It stops short of differentiating from the sibling get_job_result, which an agent could easily confuse with this polling tool.

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?

The description implies the polling use case through the wait_seconds behavior, but never states when to call this instead of get_job_result or cancel_job, nor any prerequisite such as needing a job_id from a prior submission. Usage must be inferred.

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