Skip to main content
Glama

Check Generation

check_generation
Read-onlyIdempotent

Return one of the caller's own image or video generations by task id: a finished one again (no new generation, no credits), or wait for one that was still running. Task ids are quoted in every generation reply and by list_generations. Free to call; it never starts anything.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
task_idYesTask id from a still-running generation reply

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

The description adds meaningful operational detail beyond the annotations: it never starts anything, consumes no credits, can wait for a running task, and is restricted to the caller's own generations. These points align with readOnlyHint, idempotentHint, and destructiveHint=false, and enrich what the agent knows about side effects.

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 front-load the core action and resource, then add the key caveats (no cost, no side effects, waiting behavior, id provenance) without redundancy. Every sentence carries distinct useful information.

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?

For a single-parameter read/idempotent tool with rich annotations, the description covers the essential behavior: what it returns, when it waits, where the task id comes from, and that it is free and non-starting. No output schema is present, but this level of detail is sufficient for an agent to select and invoke the tool correctly.

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?

The schema already covers task_id fully, but the description adds value by specifying that task ids come from generation replies or list_generations and explaining how the task_id relates to finished versus running generations. This helps the agent select the correct value beyond the schema's simple field description.

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?

The description opens with a specific verb ('Return') and resource ('one of the caller's own image or video generations by task id'), which is far more informative than the title. It distinguishes itself from generation tools by explicitly stating it never starts a new generation and from list_generations by targeting a single task id.

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?

The description clearly indicates when to call it: when you already have a task id and need the finished generation, or when a generation is still running and should be awaited. It also tells the agent where task ids come from, though it does not explicitly name sibling alternatives or say when not to use them.

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.

TDQS

A4.4/5.0
Disambiguation5/5

Each tool maps cleanly to a distinct action: generate new media, edit media, retrieve by ID, list history, view models, check credits, and quote a potential cost. Even check_generation and list_generations are clearly separated by lookup-by-id versus listing. No two tools appear to do the same thing.

Naming Consistency5/5

Every tool follows the same verb_noun snake_case pattern, such as generate_image, list_models, and quote_generation. The verbs are descriptive and consistently chosen for each operation. This makes the tool surface highly predictable for an agent.

Tool Count5/5

Eight tools is well-scoped for a media generation server covering image generation, video generation, editing, history retrieval, model discovery, and credit management. Each tool serves a clear purpose without redundancy or feature bloat.

Completeness5/5

The tool set covers the full generation lifecycle: creating images, creating videos, editing images, checking generation status, listing past results, inspecting models and costs, quoting prices, and checking credits. There are no obvious dead ends or missing core operations for the stated domain.

Resources