Skip to main content
Glama

browser_download

Download video, audio, subtitles, or thumbnails from an http(s) URL via yt-dlp. Requires yt-dlp; returns install instructions if missing.

Instructions

Download media from a URL (video, audio, subtitles, thumbnail). Requires yt-dlp on the system — if missing, returns install instructions and downloads nothing. http(s) only; the URL is passed to yt-dlp as an argument, never through a shell.

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": {
      "url": "<url>"
    },
    "name": "browser_download"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesMedia URL (http/https)
formatNoWhat to download
qualityNoQuality tier

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv4.5.0
    • changedInput schema / properties / url / description
      Previous value: -"Media URL"New value: +"Media URL (http/https)"
  2. Addedv4.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, the description carries the full burden and does well: it discloses the external dependency (yt-dlp), the exact degraded behavior when the dependency is missing ('returns install instructions and downloads nothing'), the URL scheme restriction, and the fact the URL is passed as an argument rather than through a shell. The remaining gap is that it never says where the downloaded file lands or what a successful call returns, which matters for a tool that produces artifacts.

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?

Three short sentences, front-loaded with the action, then the dependency and failure mode, then the security/scheme constraint. Every clause adds information an agent needs and there is no filler or repetition of the schema.

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 3-parameter tool with no annotations and no output schema, the definition covers preconditions and failure behavior well, but it omits the success path: where files are written, whether multiple artifacts can result from one call, and what the tool returns. That omission leaves an agent unable to tell the user what to expect after a successful download.

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 100%, with enums documented for both 'format' and 'quality', so the schema already does the explanatory work. The description's parenthetical media list merely echoes the 'format' enum values and adds no syntax, defaults, or interaction details (e.g., how 'quality' behaves for subtitles). Baseline 3 applies.

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 gives a specific verb and resource ('Download media from a URL') and enumerates the media kinds covered (video, audio, subtitles, thumbnail), so an agent knows exactly what it does. It does not name any sibling or note how it differs from the browser_* tools, but none of the listed siblings appear to be a download equivalent, so differentiation is largely implicit.

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 states clear preconditions: yt-dlp must be present on the system, and only http(s) URLs are accepted. It does not spell out when to prefer this tool over an alternative, but there is no obvious competing download tool among the siblings, so the context given is sufficient without exclusions.

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