Skip to main content
Glama

job_get

Read-onlyIdempotent

Check, wait for, recover, play, or download an existing generation job. Pass id to read immediately (refreshing temporary signed download URLs and attaching the inline preview card when delivered), optionally with waitMs (0–25000 ms) and afterRevision to long-poll with live progress updates until delivered or changed. Pass idempotencyKey instead of id to recover a job whose original generate response was lost without resubmitting. Always include clickable Open/Download output URLs (with expiresAt and job ID) in your reply text alongside any preview card. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
idNoExisting generation job UUID.
waitMsNoOptional bounded wait window in milliseconds (0–25000) to follow job progress until delivered or changed.
afterRevisionNoOptional previous 64-hex revision token to wait past.
idempotencyKeyNoOriginal Idempotency-Key for read-only recovery when no job ID was received.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive behavior, and the description adds real context beyond them: temporary signed download URLs are refreshed on read, an inline preview card is attached when delivered, and waiting is bounded to 0–25000 ms. It stops short of describing the job status/response shape, but the behavioral picture is notably richer than the annotations alone.

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?

Front-loaded with the verbs, then the three invocation modes, then the output-handling instruction; no filler sentences. It is dense and long-ish, but each clause carries an actionable constraint, with only mild redundancy in restating the 0–25000 ms bound already in the schema.

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?

With no output schema, the description carries the return-value burden and does so partially: it names the preview card, signed download URLs with expiresAt, and the job ID to surface back to the user. It leaves the overall job/status payload structure unspecified, which is the main remaining gap for a 4-parameter 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%, so the baseline is 3; the description earns more by explaining how parameters interact — waitMs and afterRevision turn a read into a long-poll that ends on 'delivered or changed', and idempotencyKey is a substitute for id rather than a complement. That relational meaning is not captured in the per-field schema descriptions.

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?

Uses specific verbs (check, wait, recover, play, download) against a specific resource ('existing generation job'), and the read/long-poll/recovery modes are spelled out. It does not name a sibling such as jobs_list to draw an explicit boundary, so differentiation is implied rather than stated.

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?

Gives explicit branching: pass id to read immediately, add waitMs/afterRevision to long-poll, pass idempotencyKey instead of id to recover a lost generate response. Each parameter path has a stated condition, and the 'instead of' phrasing makes the mutually exclusive alternative unambiguous.

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.