Skip to main content
Glama

Get generation

get_generation
Read-only

Get task status and results using the supplied model and task_id. task_id is the public APiXO ID; a valid connected identity may query a known task from another account or chat. For a schema declaring mode_media_types automatically carry speech/voice media_type from creation. It is needed when lifecycle fields are absent. Do not guess from task IDs or URLs. Read-only queries may retry finitely. Missing tasks, unavailable models, or query errors must not trigger model switching or generation resubmission. Missing session/Run references, progress, and completion times are not inferred. In user-facing replies, omit technical identifiers by default, including user/profile IDs, task_id, session_id, run_id, base_run_id, voice_id, and file IDs. Retain the exact returned identifiers for tool arguments, task queries, session continuation, version appends, and voice reuse; never redact, regenerate, or guess these references. Show an identifier only when the user explicitly asks for it or a specific troubleshooting step requires that exact value, and show only the reference needed. Prefer plain-language status, model names, result previews/download links, and Studio links built from the returned session_id. This changes reply presentation only; tool result fields remain available for the workflow.

Input Schema

NameRequiredDescriptionDefault
modelYes
task_idYesPublic APiXO task ID returned by creation or explicitly supplied by the user; no task_ prefix is required. Keep the corresponding model.
media_typeNoFor models declaring mode_media_types in schema.mcp.result, carry the creation media_type (speech or voice) when querying. Never infer it from task IDs or URLs.

Output Schema

NameRequiredDescriptionDefault
errorYes
modelYes
stateYes
run_idNo
task_idYes
progressYes
voice_idYes
created_atYes
media_typeYes
session_idNo
completed_atYes
preview_urlsYes
text_outputsNo
download_urlsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare the read-only, non-destructive, closed-world profile, so the description doesn't need to establish safety. It adds genuine context: a connected identity may query another account's task, retries should be finite, and missing session/run references, progress, and completion times are not inferred. Some of the text (identifier redaction rules) is reply-formatting policy rather than tool behavior, which weakens focus without causing contradiction.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the text runs long and mixes tool semantics with response-formatting policy that belongs in a system prompt. Several sentences restate the same redaction rule three different ways. An agent must read past multiple clauses to reach parameter-related content.

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?

An output schema exists, so return values legitimately need no explanation, and the description does cover error handling, retries, identity scope, and media_type inheritance. What's missing is whether model must match the model used at creation and whether the call returns one task or a collection. The presence of extensive formatting guidance adds length but not invocation clarity.

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 coverage is 67%, with task_id and media_type documented in the schema itself. The description reinforces task_id's scope ('public APiXO ID', cross-account query) and media_type inheritance ('automatically carry speech/voice media_type from creation', 'never infer it from task IDs or URLs'), which is useful. The model parameter remains essentially undefined beyond the pattern and becomes the main gap.

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?

It opens with a specific verb-and-resource pair — 'Get task status and results using the supplied model and task_id' — which is unambiguous. It never names a sibling tool (get_model_schema, generate_task) or states which one retrieves what, so the agent has to infer the split. The remaining ~85% of the text addresses other concerns and dilutes separation from siblings.

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?

'Read-only queries may retry finitely' and 'missing tasks, unavailable models, or query errors must not trigger model switching or generation resubmission' are implicit guidance about which tools NOT to call after a failed lookup. There is no explicit statement of when to choose get_generation over generate_task/get_model_schema. Usage context is present but must be assembled from scattered negative constraints.

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