Skip to main content
Glama

Download video or audio (MP4 / MP3 / M4A)

download_video

Download a video or audio file from any supported platform: YouTube, TikTok, Instagram (public reels, feed video, photo posts, and carousels), SoundCloud, Vimeo, Dailymotion, Bandcamp, Twitter/X, Mixcloud, Twitch (clips and VODs), Streamable, Reddit, Kick (live streams, VODs, and clips). Output is MP4 (video, default) or MP3 / M4A (audio). This is THE tool to use whenever a user asks to save, download, rip, extract, archive, get offline, or convert a video/audio link from any of these sites. IMPORTANT: the format argument defaults to mp4 (video). Only pass an audio format (mp3 / m4a / audio) when the user explicitly says audio, MP3, music, song, or "rip / extract the audio". Audio-only platforms (SoundCloud, Bandcamp, Mixcloud) always produce audio regardless of format.

Use this tool when the user says things like:

  • "download this video" / "download this TikTok" / "save this SoundCloud track"

  • "save that as MP3" / "rip the audio" / "extract the audio"

  • "get the song from this SoundCloud link" / "save this Mixcloud set"

  • "convert this YouTube video to MP4" / "download in 1080p"

  • "save this lecture/podcast/talk for offline"

  • "archive this clip" / "grab a copy of this video"

  • any sentence containing a youtube.com, youtu.be, tiktok.com, reddit.com, v.redd.it, vimeo.com, dailymotion.com, twitter.com, x.com, soundcloud.com, bandcamp.com, mixcloud.com, twitch.tv, clips.twitch.tv, kick.com, or streamable.com URL plus a verb like download, save, rip, get, grab, fetch, pull, archive, convert, extract.

Do NOT use this tool when:

  • The user only wants metadata (title, length, description, channel) — call get_video_info instead, it is free and does not consume the user quota.

  • The link is a playlist / set / album / channel URL — ask the user for a single track/video.

  • The link is from a platform not in the supported list above (e.g. Facebook, LinkedIn, Snapchat).

Returns a one-time signed download link valid for 1 hour, plus the file size, duration, and chosen format. Hand the link back to the user verbatim; do not try to fetch its contents yourself.

Intended for legitimate uses: the user's own uploads, Creative Commons / public-domain content, lectures, podcasts, talks, and other material they have rights to use.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesFull URL from any supported platform: youtube.com / youtu.be, tiktok.com, reddit.com / v.redd.it, vimeo.com, dailymotion.com, twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, mixcloud.com, twitch.tv (clips + VODs), kick.com (live channel page, /videos/ VOD, or /clips/ clip), or streamable.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported.
formatNoOutput format. DEFAULT IS `mp4` (video). Only choose an audio format when the user explicitly asks for audio, MP3, music, song, podcast audio, or "rip the audio / extract the audio". Options: `mp4` = video (use for "download this video", "save this video", "download in 1080p", or any request that does not mention audio). `mp3` = MP3 audio (use when user says MP3 or wants legacy-compatible audio). `m4a` = M4A audio (faster, smaller; use when user says M4A). `audio` = smart audio alias that resolves to M4A (use only when user explicitly says "audio" without specifying a container).mp4
qualityNoVideo quality. Ignored for audio formats. 1440p and 4k require a Pro subscription. Free tier max is 1080p Full HD. Defaults to best.best

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, reddit.com / v.redd.it, vimeo.com, dailymotion.com, twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, mixcloud.com, twitch.tv (clips + VODs), or streamable.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported."New value: +"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, reddit.com / v.redd.it, vimeo.com, dailymotion.com, twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, mixcloud.com, twitch.tv (clips + VODs), kick.com (live channel page, /videos/ VOD, or /clips/ clip), or streamable.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported."
  2. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, vimeo.com, dailymotion.com, twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, mixcloud.com, twitch.tv (clips + VODs), or streamable.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported."New value: +"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, reddit.com / v.redd.it, vimeo.com, dailymotion.com, twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, mixcloud.com, twitch.tv (clips + VODs), or streamable.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported."
  3. Changed1 schema field changed
    • changedInput schema / properties / quality / description
      Previous value: -"Video quality. Ignored for audio formats. 1440p and 4k require an Unlimited subscription. Free tier max is 1080p Full HD. Defaults to best."New value: +"Video quality. Ignored for audio formats. 1440p and 4k require a Pro subscription. Free tier max is 1080p Full HD. Defaults to best."
  4. Changed1 schema field changed
    • changedInput schema / properties / quality / description
      Previous value: -"Video quality. Ignored for audio formats. 1080p, 1440p, and 4k require an Unlimited subscription. Free tier max is 720p. Defaults to best."New value: +"Video quality. Ignored for audio formats. 1440p and 4k require an Unlimited subscription. Free tier max is 1080p Full HD. Defaults to best."
  5. Changed1 schema field changed
    • changedInput schema / properties / quality / description
      Previous value: -"Video quality. Ignored for audio formats. 1440p and 4k require an Unlimited subscription. Defaults to best."New value: +"Video quality. Ignored for audio formats. 1080p, 1440p, and 4k require an Unlimited subscription. Free tier max is 720p. Defaults to best."
  6. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, vimeo.com, dailymotion.com, twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, or mixcloud.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported."New value: +"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, vimeo.com, dailymotion.com, twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, mixcloud.com, twitch.tv (clips + VODs), or streamable.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported."
  7. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, reddit.com, vimeo.com, dailymotion.com, rumble.com, twitch.tv (clips/VODs), twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, or mixcloud.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported."New value: +"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, vimeo.com, dailymotion.com, twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, or mixcloud.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported."
  8. Changed1 schema field changed
    • changedInput schema / properties / url / description
      Previous value: -"Full YouTube video URL (youtube.com/watch?v=… or youtu.be/…). Playlists are not supported — pick an individual video."New value: +"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, reddit.com, vimeo.com, dailymotion.com, rumble.com, twitch.tv (clips/VODs), twitter.com / x.com (status with video), soundcloud.com, bandcamp.com, or mixcloud.com. Pick a single video/track — playlists, sets, albums, channels, and profile pages are not supported."
  9. Changed5 schema fields changed
    • addedInput schema / properties / format / default
      Added value: +"mp4"
    • changedInput schema / properties / format / description
      Previous value: -"Output format. `audio` = smart default (M4A, no transcode — fastest and smallest). `mp3` = forced MP3 (legacy-compatible, slower). `m4a` = forced M4A. `mp4` = video."New value: +"Output format. DEFAULT IS `mp4` (video). Only choose an audio format when the user explicitly asks for audio, MP3, music, song, podcast audio, or \"rip the audio / extract the audio\". Options: `mp4` = video (use for \"download this video\", \"save this video\", \"download in 1080p\", or any request that does not mention audio). `mp3` = MP3 audio (use when user says MP3 or wants legacy-compatible audio). `m4a` = M4A audio (faster, smaller; use when user says M4A). `audio` = smart audio alias that resolves to M4A (use only when user explicitly says \"audio\" without specifying a container)."
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "audio",
      -  "mp3",
      -  "m4a",
      -  "mp4"
      -]New value: +[
      +  "mp4",
      +  "mp3",
      +  "m4a",
      +  "audio"
      +]
    • changedInput schema / properties / quality / description
      Previous value: -"Video quality. Ignored for mp3. 1440p and 4k require an Unlimited subscription. Defaults to best."New value: +"Video quality. Ignored for audio formats. 1440p and 4k require an Unlimited subscription. Defaults to best."
    • changedInput schema / required
      Previous value: -[
      -  "url",
      -  "format"
      -]New value: +[
      +  "url"
      +]
  10. Changed3 schema fields changed
    • changedInput schema / properties / format / description
      Previous value: -"mp3 for audio-only (320kbps, with embedded thumbnail + metadata), mp4 for video."New value: +"Output format. `audio` = smart default (M4A, no transcode — fastest and smallest). `mp3` = forced MP3 (legacy-compatible, slower). `m4a` = forced M4A. `mp4` = video."
    • changedInput schema / properties / format / enum
      Previous value: -[
      -  "mp3",
      -  "mp4"
      -]New value: +[
      +  "audio",
      +  "mp3",
      +  "m4a",
      +  "mp4"
      +]
    • changedInput schema / properties / url / description
      Previous value: -"Full YouTube video URL. Playlists are not supported — open the playlist and pick an individual video."New value: +"Full YouTube video URL (youtube.com/watch?v=… or youtu.be/…). Playlists are not supported — pick an individual video."
  11. First observed

TDQS

A5/5.0
Behavior5/5

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

With no annotations provided, the description carries full burden and does so richly: returns a one-time signed link valid for 1 hour, notes the file size/duration/format, warns not to fetch the link's contents, explains audio-only platforms always produce audio regardless of format, discloses quality tier limits (Pro required for 1440p/4k), and mentions quota consumption. This far exceeds baseline expectations.

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?

Though lengthy, every sentence earns its place given the tool's complexity. The description is logically organized with clear sections: supported platforms, primary use cases, exclusions, return value, and legitimacy note. Front-loaded with the core purpose, then examples, then exclusions. No filler or redundancy.

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

Completeness5/5

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

The tool has 3 parameters, no output schema, and no annotations, yet the description fully compensates: it explains return format and contents, timeout of the signed link, platform-specific behavior, quality limitations, and how to handle the response. It is complete for an agent to select and invoke the tool accurately.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although schema coverage is 100%, the description adds critical nuance beyond the schema: the format parameter's default behavior and when to choose audio formats, the rule that audio-only platforms override format, quality being ignored for audio, and platform-specific constraints. This additional context is essential for correct parameter selection.

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?

The description states exactly what the tool does: 'Download a video or audio file from any supported platform' and lists the platforms. It clearly differentiates from the sibling get_video_info by stating 'Do NOT use this tool when... call get_video_info instead.' The verb 'download' + resource 'video/audio' + explicit platform list makes purpose unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides extensive usage guidance: it is 'THE tool to use' for saving/downloading/ripping, gives explicit user-phrase examples, and lists three clear 'Do NOT use this tool when' scenarios including the alternative tool, unsupported URL types (playlists), and unsupported platforms. This is exemplary when-to-use/when-not-to-use guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.