Skip to main content
Glama

youtube_download

Download YouTube videos or audio to local files with selectable quality, type, and format. Long videos prompt confirmation unless forced.

Instructions

Download a YouTube video or audio track to a local file. Defaults to 720p quality. Supports quality selection (720p/1080p/best/etc.), download type (video+audio/audio/video), and format. Videos over 30 minutes trigger a confirmation prompt — use force: true to bypass. For video+audio, automatically downloads and muxes separate streams.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoDownload type — "video+audio" (default), "audio" (audio only), or "video" (no audio)
forceNoBypass the duration guard for long videos
formatNoContainer format (default: mp4)
qualityNoVideo quality (default: best)
videoIdYesYouTube video ID
outputPathNoOutput file path (defaults to <title>.<format> in current directory)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare it is a non-read-only, open-world, non-destructive operation. The description adds real behavioral detail beyond that: the >30 minute confirmation gate, the force bypass, and the automatic stream download-and-mux for video+audio. It omits what the tool returns and where confirmation appears.

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?

Four tight sentences, front-loaded with the core action and defaults, then escalating to selection options and the guard behavior. No filler sentences.

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?

With no output schema and 100% schema coverage, the description covers the important unknowns (defaults, guard, muxing). The main remaining gap is the return value and the quality-default inconsistency, but for a file-download tool this is largely complete.

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 the baseline is 3 and the schema already documents every parameter. The description adds normalization of the force parameter's purpose, but it also states 'Defaults to 720p quality' while the schema declares quality default 'best', a minor inconsistency that undercuts its added value.

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 and resource (download a YouTube video or audio track to a local file) plus the supported scope (quality, type, format). This clearly separates it from read-only siblings like youtube_get_video_info and youtube_search.

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?

Explains defaults, quality/type/format selection, and precisely when the long-video confirmation fires and how force bypasses it. It does not explicitly steer the agent away from sibling download-like tools such as youtube_clip, but the context is otherwise clear.

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