Skip to main content
Glama

download_video

Downloads a video and available subtitles to a temporary folder using a provided URL or download ID. Enable optional frame extraction to capture screenshots for visual scene analysis.

Instructions

Download a video and available subtitles to an identifiable temporary folder. Supply a URL or downloadId. Inspect and download videos with subtitles. Frame extraction is optional and should be enabled only for visual scene analysis, especially for long videos where it adds processing time and compute cost. Use low resolution and a small frame budget for an overview.

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": {
      "extractFrames": "<extractFrames>",
      "frameMode": "<frameMode>",
      "frameMaxCount": "<frameMaxCount>",
      "frameMaxHeight": "<frameMaxHeight>",
      "frameChangeThreshold": "<frameChangeThreshold>"
    },
    "name": "download_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
frameFpsNoLegacy sampling rate. Use frameIntervalSeconds for new calls.
frameModeYeschanges selects adaptive screenshots, interval distributes them across the video. storyboard and one_per_second are legacy aliases. keyframes is a legacy codec-keyframe mode.changes
maxHeightNoMaximum downloaded video height. Omit for best quality.
downloadIdNo
extractFramesYesOptional screenshots for visual scene analysis.
frameMaxCountYesMaximum images across the whole video.
frameMaxHeightYesMaximum PNG height without upscaling.
frameChangeThresholdYesNearby grayscale similarity threshold. Higher removes more similar images.
frameIntervalSecondsNoCandidate spacing in seconds. Default 0 selects automatically.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 that output lands in a temporary folder and that frame extraction adds processing time and compute cost. It does not address permission or URL-access requirements, failure behavior, size limits, or whether the temporary files are cleaned up, which are material for a download-and-write operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The destination and input guidance are front-loaded and useful, but the second sentence ("Inspect and download videos with subtitles") is redundant restatement that adds no information and muddies purpose. The remaining sentences about frame extraction pull their weight.

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?

For a 10-parameter tool with no annotations and no output schema, the description covers inputs and the cost tradeoff of frame extraction reasonably. It leaves the return value unexplained (the agent must infer that file paths or a folder handle come back) and does not clarify why five frame-related parameters are required despite having defaults.

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 80%, so the schema already explains most parameters and a baseline of 3 applies. The description does add real strategy beyond the schema by tying "low resolution" and "a small frame budget" to overview use, but it never maps these to the concrete knobs (maxHeight, frameMaxCount) or explains the required-but-defaulted frame parameters.

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 opening sentence gives a specific verb and resource ("Download a video and available subtitles") plus a destination ("identifiable temporary folder"), which is concrete enough to act on. However, the clause "Inspect and download videos with subtitles" reintroduces an inspection capability that overlaps with the sibling inspect_video and blurs whether this tool does anything beyond downloading.

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 clearly states how to identify the target ("Supply a URL or downloadId") and gives explicit conditional guidance for the optional frame extraction: enable only for visual scene analysis, and avoid it on long videos due to processing time and compute cost. It stops short of saying when to pick this over inspect_video, so it is clear context but not full routing guidance.

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

Deploy Server

Other Tools