Skip to main content
Glama

Get Job Status

get_job
Read-onlyIdempotent

Check the status of a processing job. When status is 'completed', the response includes a download URL valid for 1 hour. An AI result's credits are charged once, when it's ready; if the balance is short the result stays locked and this returns an error saying what's needed — top up, then call get_job again.

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": {
      "id": "<id>"
    },
    "name": "get_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesJob ID returned by create_job

Output Schema

NameRequiredDescriptionDefault
idYes
toolYes
statusYesqueued | processing | completed | failed | cancelled
metricsNo
progressYes0-100
createdAtYesISO 8601 timestamp
outputUrlNoPresigned download URL, valid 1 hour (completed jobs only)
outputSizeNoOutput size in bytes
completedAtYesISO 8601 timestamp
errorMessageYes
creditsChargedYesAI credits paid for the result (0 for non-AI tools)
outputFilenameNo
creditsReservedYesAlways 0: nothing is held when a job is created
progressMessageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / creditsCharged / description
      Added value: +"AI credits paid for the result (0 for non-AI tools)"
    • addedOutput schema / properties / creditsReserved / description
      Added value: +"Always 0: nothing is held when a job is created"
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-open-world, and the description layers on genuinely new behavior: the download URL is valid for 1 hour, credits are charged exactly once when the result is ready, and a short balance produces an error naming what is needed. This is exactly the operational context annotations cannot convey.

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, no filler, front-loaded with the primary action before the conditional detail about completed status and the credit/retry flow. Every clause carries information an agent needs.

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

Completeness5/5

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

Despite a trivial one-parameter schema, the description covers the two states an agent will actually hit (completed with a time-limited URL, and locked-due-to-balance with a remediation path). An output schema exists, so return-value detail is a bonus rather than a gap.

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?

One parameter with 100% schema description coverage ('Job ID returned by create_job'), so the schema fully carries the semantics. The description adds no extra constraint or format detail about the id, making this the baseline case.

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?

States a precise verb and resource ('Check the status of a processing job'), which clearly separates it from create_job, cancel_job and get_balance. It stops short of naming any sibling explicitly, so an agent must infer the routing itself.

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?

Gives a real usage flow: call this to poll status, and if the result is locked due to insufficient credits, top up and call get_job again. That covers the retry path well, but there is no explicit statement of when to prefer this over get_balance or list_tools, nor any exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources