Skip to main content
Glama

videoStatusTool

Read-onlyIdempotent

Check the status of a video generation started with 'generateVideoTool', using the jobId it returned. Generating a video takes a few minutes: while the status is "pending", wait about 30 seconds and call again. When the status is "completed" the result contains the hosted video url, which can be used as a post attachment. When the status is "failed" the result contains the error message.

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe jobId returned by generateVideoTool

Output Schema

NameRequiredDescriptionDefault
idNo
urlNo
errorNo
statusNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered. The description adds real value beyond them: it enumerates the three terminal states (pending, completed, failed), the expected latency ('a few minutes'), and the polling cadence, which the annotations cannot express. It does not mention rate limits or job expiry, hence not a 5.

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, each carrying distinct information: purpose/provenance, polling cadence, and terminal-state outcomes. Purpose is front-loaded and there is no filler.

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 one-parameter polling tool with an output schema, everything the agent needs to act is present: how to obtain jobId, how long to wait between calls, and what each terminal status yields. The output schema already handles return structure, so no further detail is required.

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 single jobId parameter is already documented in the schema as 'The jobId returned by generateVideoTool'. The description repeats that provenance without adding format, lifetime, or validation detail, so the baseline of 3 applies.

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 and resource (check status of a video generation) and anchors it to the originating sibling 'generateVideoTool' via the jobId. An agent can immediately distinguish this polling tool from generateVideoTool or generateImageTool without opening any schema.

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 operational guidance: the tool is used after generateVideoTool returned a jobId, and while pending the agent should wait ~30 seconds and re-call. It stops short of naming explicit exclusions (e.g. 'do not use for image jobs' or 'do not call generateVideoTool again'), so it is clear context rather than full when/when-not guidance.

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