Skip to main content
Glama

Проверить/скачать видео

check_video

Check a video generation task's status by ID and automatically download the MP4 to disk once completed; repeat checks are safe and do not re-bill.

Instructions

Проверяет статус задачи генерации видео по id (GET /videos/{id}); при статусе completed скачивает MP4 на диск. Повторные проверки безопасны и не списывают деньги повторно.

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": "check_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesid задачи из generate_video
downloadNoСкачивать ли файл при completed (по умолчанию true)
output_dirNo
wait_secondsNoСколько ждать готовности в этом вызове (по умолчанию 0)
filename_prefixNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does disclose the important traits: idempotency, no duplicate billing, and a real side effect of writing an MP4 to disk on completion. It omits what happens for failed/expired tasks, whether an existing file is overwritten, and what the call returns.

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-loaded with the verb, the resource and the endpoint, followed by the one non-obvious behavioral fact. No filler or restatement of the tool name.

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?

There is no output schema and no annotations, so the description is the only source of behavioral and return-value information, and it leaves the response shape and error-state handling unstated. For a tool that writes files to disk with two undocumented parameters, more detail on destination and return payload would be warranted.

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 60%: id, download and wait_seconds are documented in the schema, while output_dir and filename_prefix are not. The description adds meaning only for the id lookup and the completion-triggered download, saying nothing about wait_seconds behavior or where output_dir/filename_prefix route the file.

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?

The description names a specific verb+resource ('Проверяет статус задачи генерации видео по id') and even the underlying endpoint (GET /videos/{id}), plus the conditional download side effect. It is clearly distinct from the generate_* siblings, though it never explicitly contrasts itself with them by name.

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?

It establishes the operating context (poll a task created by generate_video) and states that repeated checks are safe and do not re-charge, which directly licenses polling loops. It stops short of explicit when-not conditions or naming an alternative tool for retrieving results.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.