Skip to main content
Glama
VideoToken MCP Server
by luow-y

download_video

Download a completed VideoToken MP4 to a local file path using its task ID and API key, so AI coding assistants can save generated videos for review or use.

Instructions

Download a completed VideoToken MP4 video via GET /v1/videos/{id}/content?download=1 to a local file path. Requires VIDEOTOKEN_API_KEY.

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": {
      "task_id": "<task_id>",
      "output_path": "<output_path>"
    },
    "name": "download_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
task_idYesCompleted platform task ID.
output_pathYesLocal file path where the MP4 should be saved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden; it usefully discloses the auth requirement (VIDEOTOKEN_API_KEY) and that the operation is a GET that writes to disk. It omits whether an existing file at output_path is overwritten, what happens on an incomplete task, and what the tool returns after saving.

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?

One tight sentence, front-loaded with the action and resource, followed by the endpoint and the auth prerequisite. No redundant or filler wording.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter tool with no output schema and no annotations, the description covers purpose, endpoint, destination, and auth. It could go further by stating the return value (e.g., saved path or size) and overwrite behavior at output_path.

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%, so both task_id and output_path are already documented, making 3 the baseline. The description adds only the mapping of the {id} path segment to a task and the MP4 file type, not new meaning about parameter formats or constraints.

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 (download) and resource (a completed VideoToken MP4), plus the exact endpoint and destination (local file path). This is clearly distinguishable from siblings like generate_video or get_video_task, which produce or poll rather than fetch the finished file.

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?

The word 'completed' establishes a real precondition: the task must be finished before this call makes sense, implicitly sending the agent to get_video_task first. What's missing is an explicit statement to check status first or a note on what happens if the video is not yet done.

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