Skip to main content
Glama

check_job

Retrieve the result of a background job for image, video, music, speech, or API calls, optionally waiting up to 55 seconds for completion.

Instructions

Get the result of a background job (image, video, music, speech, api_call).

wait_seconds: how long to wait in this call (0-55).

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

Input Schema

NameRequiredDescriptionDefault
job_idYes
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.0.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It does disclose one important behavioral trait — the call blocks for up to 55 seconds via wait_seconds — but says nothing about whether it is a safe read, what is returned when the job is still running, or how invalid/expired job_ids are handled.

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 core action front-loaded and no filler. The parameter note is separated cleanly, though the formatting is slightly ragged and could be folded into the main statement.

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 no output schema and no annotations, the description should say more about what a 'result' looks like and what a not-yet-finished job returns. It covers the blocking wait but leaves the return contract and job_id provenance unexplained for a two-parameter polling tool.

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 description coverage is 0%, so the description must compensate. It meaningfully explains wait_seconds (blocking duration, 0-55 range) beyond the bare schema title and default, but job_id — the required parameter — is never described, so the agent gets no hint about where the ID comes from.

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 states a specific verb and resource — 'Get the result of a background job' — and enumerates the job types it covers (image, video, music, speech, api_call), which helps an agent recognize when a job relates to a generation call. It does not differentiate itself from siblings like deep_research_result or agent_status, leaving the agent to infer which result-retrieval tool applies.

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 only implied: an agent must infer that this is the polling step after starting a background job. There is no explicit statement of when to call it versus agent_status, deep_research_result, or check_updates, and no exclusion guidance.

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