Skip to main content
Glama

Check generation

check_generation
Read-onlyIdempotent

Fetch the result of an image, video, audio, or combine_clips render started earlier, using the exact job_id that tool returned (including render:). Returns the finished media in the conversation, or, when the job is still running, says so and when to call again. For a later step that needs a job that is not finished, or a question about one. Free: checking a job costs no credits.

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_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
job_idYesThe job_id a generation tool returned, including the render:<UUID> id from combine_clips.

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 cover readOnly, idempotent, and non-destructive, and the description adds real value on top: it says what is returned (finished media in the conversation), how an incomplete job is reported (still running, plus when to poll again), and that checking costs no credits. It omits failure modes such as an invalid or expired job_id, which would complete the behavioral picture.

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?

Three short sentences, front-loaded with the action and the id requirement, then return behavior, then the free-cost note. No filler or repetition.

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 a single fully documented parameter and no output schema, the description correctly takes on the job of explaining return values and the still-running case. Only the error/expiry behavior for a bad or stale job_id is left unaddressed.

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 100% and the schema already documents job_id including the render:<UUID> form from combine_clips, so the description mainly restates it with emphasis on exactness. Baseline 3 applies since the schema carries the parameter meaning.

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?

States a specific verb (fetch the result) plus the covered resource types (image, video, audio, combine_clips render) and the key input constraint (the exact job_id returned earlier). It is clearly distinguishable from the generation siblings that create jobs.

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 concrete usage context: 'For a later step that needs a job that is not finished, or a question about one,' which tells the agent this is the status/result-retrieval entry point. It does not explicitly name an alternative to use instead (e.g. list_creations for browsing past jobs), so it stops short of full when/when-not routing.

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