Skip to main content
Glama

Check a job

check_job
Read-onlyIdempotent

Use after any generate or swap call to get its result; call again every 10-20 s while it's queued or running. Free. Without job_id, lists the account's recent jobs (use it if a job id was lost). Returns status, output URLs when done, and credits charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "check_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idNoOmit to list recent jobs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is covered; the description adds genuinely new context beyond them: the call is free of credit cost, is expected to be repeated on a 10-20 s cadence, and returns status, output URLs, and credits charged. It stops short of describing job retention/expiry or what status values exist, which would be the remaining behavioral gaps for a polling tool.

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?

Four short clauses, front-loaded with the primary usage condition and polling cadence, then cost, then the fallback mode, then return values. Every sentence carries information an agent needs; nothing is redundant with the title or schema.

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?

With no output schema, the description takes on the burden of describing returns and does so (status, output URLs when done, credits charged). Combined with the explicit polling cadence and the no-job_id fallback, an agent has everything needed to call this correctly in both modes.

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 description coverage is 100% and the single optional parameter is already documented as 'Omit to list recent jobs,' so the baseline is 3. The description adds meaning beyond the schema by explaining the recovery motivation for omitting it (when a job id was lost), turning an optional parameter into an actionable decision rule.

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?

Uses a specific verb-and-resource framing (retrieve the result of a previously started job) and ties itself explicitly to the generate/swap family it serves, so an agent can distinguish it from the tools that create jobs. It also names the secondary mode (listing recent jobs when job_id is absent), so both behaviors are visible up front.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

States precisely when to call it (after any generate or swap call), how often to re-poll (every 10-20 s while queued or running), and what to do in the recovery case (omit job_id to list recent jobs if an id was lost). When-to-use, cadence, and fallback are all explicit with no inference required.

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.