Skip to main content
Glama

Get media status

get_media_status
Read-only

Follow a generate_media call that returned status "processing": pass ONLY the mediaIds returned by generate_media (not timeline item IDs from get_timeline, and not edit_project jobIds — use get_edit_job for those). Waits up to waitSeconds (default 40) for the generation to finish, then returns status "ready" with each media's url, "failed" with the reason, or still "processing": then call it again with the same mediaIds. Images usually take under a minute, videos 1 to 10 minutes; a media still generating after an hour fails with Timeout. Requires an active Revid plan.

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": {
      "mediaIds": "<mediaIds>"
    },
    "name": "get_media_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
mediaIdsYesThe mediaIds returned by `generate_media`.
waitSecondsNoHow long to wait for the generation to finish before answering, 0 to 40. Default 40; 0 checks once.

Output Schema

NameRequiredDescriptionDefault
okYes
dataNo
errorNo
methodYes
statusYes
endpointYes
retryAfterSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Beyond the readOnly/destructive annotations, it discloses the blocking wait window, the three possible outcomes with their payloads (url on ready, reason on failed), realistic latency per media type, that exceeding an hour yields a Timeout failure, and a plan-level auth requirement. The only gap is that it does not state whether failed media can be regenerated or how partial batch results are surfaced, though the presence of an output schema covers the response shape.

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?

The trigger and input constraint are front-loaded and each clause carries information, but the parenthetical exclusion list and the latency/plan sentences make it a dense single block that could be split into a short "use when" line and a separate behavior line for faster scanning.

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 an async polling tool this covers everything needed to call it correctly: prerequisite call, valid input source, wait semantics, retry instruction, expected durations, failure modes, and an access precondition. Return values are backed by an output schema, 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented; the description nevertheless adds real meaning by constraining provenance of `mediaIds` (only values from `generate_media`) and by explaining the waitSeconds semantics in workflow terms — the default 40 and the retry loop that follows a "processing" answer. It stops short of restating the 0–40 range or the max-10 batch limit.

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 precise verb+resource framing: it follows a `generate_media` call that returned "processing" and reports when media generation finishes. It explicitly distinguishes the mediaIds it consumes from timeline item IDs (`get_timeline`) and `edit_project` jobIds (`get_edit_job`), so an agent can separate it from the pollers around it.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states the exact triggering condition (a prior `generate_media` call returning "processing"), names the wrong inputs to avoid with the sibling each belongs to, and prescribes the retry behavior ("call it again with the same mediaIds") when the result is still processing. Explicit alternatives are named rather than inferred.

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