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, Facebook (public videos and reels), Instagram (public reels, feed video, photo posts, and carousels), SoundCloud, Vimeo, Dailymotion, Bandcamp, Twitter/X, Mixcloud, Twitch (clips and VODs), Pinterest (public video, image, GIF, carousel, and Idea Pins), 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, facebook.com, fb.watch, instagram.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, pinterest.com, pin.it, 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. 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.

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": "download_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesFull URL from any supported platform: youtube.com / youtu.be, tiktok.com, facebook.com / fb.watch (public video or reel), instagram.com (public reel or post), 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), pinterest.com / pin.it (a single public Pin), or streamable.com. Pick a single video/track — playlists, sets, albums, channels, Pinterest boards, 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, facebook.com / fb.watch (public video or reel), instagram.com (public reel or post), 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."New value: +"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, facebook.com / fb.watch (public video or reel), instagram.com (public reel or post), 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), pinterest.com / pin.it (a single public Pin), or streamable.com. Pick a single video/track — playlists, sets, albums, channels, Pinterest boards, 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, 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."New value: +"Full URL from any supported platform: youtube.com / youtu.be, tiktok.com, facebook.com / fb.watch (public video or reel), instagram.com (public reel or post), 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."
  3. 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."
  4. 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."
  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. 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."
  6. 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."
  7. 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."
  8. 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."
  9. 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."
  10. 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."
  11. 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"
      +]
  12. 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."
  13. First observed

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so: it discloses that calls consume a user quota, that the return is a one-time signed link valid for 1 hour plus size/duration/format, that 1440p/4k require a Pro subscription, that audio-only platforms ignore `format`, and it warns the agent not to fetch the link itself.

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?

Front-loaded and logically ordered (purpose, triggers, exclusions, return value, licensing), but the supported-platform list and the format-default rule are each stated two or three times across description and schema, and the utterance examples are long. Every claim is useful, yet the same claims could be made in roughly half the space.

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?

For a 3-parameter, no-annotation, no-output-schema tool, nothing an agent needs is missing: inputs, defaults, exclusions, quota cost, return shape and link lifetime are all covered, and the licensing note closes the loop on intended use.

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

Parameters4/5

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

Schema description coverage is already 100%, so the baseline is 3; the description adds real decision value on top by hammering the `format` default (mp4) and spelling out the user-language conditions that map to each enum value, and by noting `quality` is ignored for audio. It does not add much for `url` beyond the schema, which keeps it below a 5.

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 concrete verb and resource ('Download a video or audio file'), enumerates the exact supported platforms, and names the output containers. It also explicitly distinguishes itself from the only sibling ('call get_video_info instead, it is free'), so an agent can route without opening either schema.

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?

Provides an explicit trigger list of user phrasings, an explicit 'Do NOT use this tool when' section with the metadata alternative (get_video_info) and the playlist/unsupported-platform exclusions, plus a rule for when to pick audio vs video. This is about as complete as usage guidance gets.

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.