Skip to main content
Glama

Get a video

autoshort_get_video
Read-onlyIdempotent

Get one video's status and details by id. While rendering, status is PENDING/GENERATING_*/RENDERING with estimatedCompletionTime. A PENDING video that cannot render returns blockedReason (e.g. INSUFFICIENT_CREDITS) with creditsNeeded, creditsAvailable and topUpUrl: stop polling and resolve it. COMPLETED returns a playable videoUrl; FAILED returns error, and for an image-to-video clip also errorCode: why it failed, as a code (CONTENT_POLICY, TIMEOUT, PROVIDER_FAILED, OUTPUT_CHECK, OUTPUT_CHECK_UNAVAILABLE, REFUSAL_LIMIT, TRIAL_LIMIT, USER_DAILY_CAP, DAILY_CAP, NOT_PAID, IMAGE_NOT_SCREENED, OPTIONS_UNREADABLE, OPTION_SWITCHED_OFF, INTERNAL_ERROR). Image-to-video clips also return aspectRatio and imageToVideo{aspectRatio, aspectRatioSource, inputWidth, inputHeight, cropped, outputWidth, outputHeight}; width and height (measured from the file) appear once COMPLETED. Free. Motion clips (autoshort_generate_motion_clip) also return motionClip{promptSent, seed, resolution, seconds, credits}, and on failure errorCode and creditsRefunded.

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": {
      "id": "<id>"
    },
    "name": "autoshort_get_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesVideo id (a director draftId works too). Every create tool returns it as `id` (also as `videoId`).
videoIdNoAlias of `id`: the name the create tools use in their answer. Send either one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, but the description goes well beyond them: it discloses that the call is free, the full status lifecycle (PENDING/GENERATING_*/RENDERING), that estimatedCompletionTime is supplied while rendering, that blocked videos expose creditsNeeded/creditsAvailable/topUpUrl, and that failed motion clips report creditsRefunded. That is exactly the behavior an agent needs to decide whether to keep polling.

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 purpose, then ordered by state (rendering, blocked, completed, failed, format-specific extras) with no filler sentences. The enumerated errorCode list and the nested imageToVideo field inventory are dense and could be trimmed, but each item is decision-relevant rather than padding.

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?

There is no output schema, so the description carries the full burden of explaining return values, and it does so for every terminal state plus image-to-video and motion-clip variants. For a polling read tool of this complexity, an agent can act correctly on the response without any further documentation.

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 100% and the schema itself documents the id/videoId alias and that every create tool returns it. The description adds only 'by id' and the draftId tidbit, which is partially duplicative of the schema, so the baseline 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 in the first clause: retrieve one video's status and details by id. It immediately distinguishes itself as the single-item status/read tool, and the side note that a draftId works as an id clarifies the boundary against the draft tools.

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 real operational guidance — 'stop polling and resolve it' on a blocked PENDING video, and how to branch on COMPLETED vs FAILED — rather than just describing fields. It stops short of explicitly naming an alternative polling tool or saying when not to use this one, so it is clear context without exclusions.

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