Skip to main content
Glama
pauliusdotpro

YouTube Audio & Transcript MCP Server

YouTube to audio (MP3, M4A, WAV, FLAC...)

youtube_to_audio
Idempotent

Convert a public YouTube video or Shorts URL into an audio file (MP3, M4A, WAV, FLAC, and more) and get a short-lived download link; optionally clip by start/end time.

Instructions

Convert a public YouTube video or Shorts URL to an audio file and return a short-lived download link. Supports mp3 (default), m4a, wav, flac, aac, opus, ogg, webm; bitrate 128/192/256/320 kbps or standard/best; optional clip via startTime/endTime in seconds. Sources up to 3 hours. Returns link, fileName, fileSize and durationSeconds. Waits up to ~2 minutes; if the conversion is still running, returns a jobId to check later with get_job. The link expires (about 30 minutes), so download it promptly. Private, removed, age-restricted and live videos are not supported.

Input Schema

NameRequiredDescriptionDefault
urlYesYouTube video/Shorts URL (e.g. https://www.youtube.com/watch?v=jNQXAC9IVRw) or an 11-character video ID
formatNoOutput audio format. Default: mp3
endTimeNoClip end in seconds (optional, must be greater than startTime)
qualityNoAudio quality: kbps (128, 192, 256, 320), 'standard', or 'best'. Ignored for lossless wav/flac. Default: standard
startTimeNoClip start in seconds (optional)
maxWaitSecondsNoHow long to wait for completion before returning a jobId. Default: 120

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, idempotentHint=true, openWorldHint=true) by disclosing the ~2 minute wait ceiling, the jobId fallback path, the ~30 minute link expiry, and the unsupported source classes. These are exactly the operational traits an agent needs to sequence a download.

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

Conciseness4/5

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

Front-loaded with purpose, then formats, clipping, return values, timing behavior, and exclusions in a logical order. Slightly dense with one sentence repeating the schema's enum lists, but nearly every clause carries actionable information.

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?

With no output schema, the description carries the return-value burden and does so (link, fileName, fileSize, durationSeconds), plus timeout, expiry and source-limit behavior. Nothing an agent needs to invoke and then download the result is missing.

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% with documented enums, so the schema already carries parameter meaning; the description largely restates the format/bitrate enumerations and the startTime/endTime clipping that are already in the schema. It adds little syntax or constraint detail beyond what is structured, so the baseline 3 applies.

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+resource+output (convert a public YouTube video/Shorts URL to an audio file) and immediately distinguishes itself from youtube_transcript and get_job by naming the download-link return. An agent can identify the tool's job without opening the schema.

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?

Gives clear conditions for use and explicit exclusions: private, removed, age-restricted and live videos are not supported, and sources are capped at 3 hours. It also routes the agent to get_job when the wait times out. It does not, however, contrast this tool against the sibling youtube_transcript (audio vs. text), which is the main missing routing cue.

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