Skip to main content
Glama

YoutubeToText

Transcribe playlist

transcribe_playlist

Queue every public video of a YouTube playlist (max 25) as separate jobs. Returns batch_id and the job ids; poll get_batch until every item is done or failed, then read each job with get_transcription. The whole playlist must fit the user's remaining minutes, otherwise the call fails with a message pointing at https://youtubetotext.ai/pricing/. lyrics (subtitles and burned only, off by default) cues each song from its published lyrics, see get_subtitles.

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

Input Schema

NameRequiredDescriptionDefault
urlYesLink to a YouTube playlist (youtube.com/playlist?list=<id>, or a watch link carrying list=) or a channel (youtube.com/@name). At most 25 public videos are taken.
typeNoWhat to produce for every video: `transcript` (plain text), `subtitles` (SRT/WebVTT) or `burned` (video with subtitles in the picture, 3x to 5x the minutes by `quality`).transcript
lyricsNoFor songs: build the subtitles from the song's published lyrics, timed on the audio, so every line shows where several singers sing at once. Off by default. Falls back to normal subtitles when no lyrics are found or they do not match; `lyrics_status` on the result says which happened. No extra cost.
qualityNoBurned jobs only: `default` = 720p at 3x the length in minutes, `hd` = 1080p at 4x, `uhd` = 4K at 5x. Ignored for transcripts and subtitles.default
verbatimNoKeep filler words (um, uh), false starts and repetitions instead of cleaning them up. Off by default. Same cost either way.
language_codeNoThe video's spoken language as an ISO-639-1 or ISO-639-3 code, e.g. "en", "es" or "yue"; a region subtag is dropped ("en-US" is "en"). Omit to auto-detect. Set it when the language is known: it improves accuracy and keeps the right alphabet.
tag_audio_eventsNoMark non-speech audio with tags like (laughter) or [music]. Off by default: the transcriber picks the tag language itself and it may not match the video's.
target_languagesNoSubtitles and burned only: translate every video into these languages, as names in English, e.g. ["Spanish"]. At most 10; each adds 1x every video's length to the minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare the generic profile (not read-only, open-world, not idempotent), so the description carries real weight and does: it discloses the async job-queue pattern, the exact return shape (`batch_id` plus job `ids`), and a precondition that the whole playlist must fit the user's remaining minutes or the call fails with a pricing pointer. That quota/failure behavior is not derivable from annotations or schema.

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 the action and scope, then the return/poll contract, then the failure condition, then the one parameter worth calling out. It is dense but every sentence carries operational information; only the inline pricing URL adds slight clutter.

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?

For an 8-parameter, no-output-schema mutation-style tool, the description supplies the return identifiers, the polling loop, the cost precondition, and the lyrics nuance — enough to call it correctly. It doesn't quantify how translation or burned video costs interact with the quota, though the schema covers per-parameter multipliers.

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%, so the baseline is 3 — the schema already explains `type`, `quality`, `verbatim`, `language_code`, `tag_audio_events`, and `target_languages` in detail. The description only restates that `lyrics` applies to subtitles and burned and is off by default, adding little beyond the schema entry and the pointer to `get_subtitles`.

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 — queue every public video of a YouTube playlist as separate jobs — plus the hard scope limit (max 25). The async nature (batch of jobs rather than one transcription) is clear enough to distinguish it from the single-video `transcribe` sibling without opening its 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 an explicit follow-up workflow: poll `get_batch` until every item is `done` or `failed`, then read each job with `get_transcription`, and defers to `get_subtitles` for lyrics detail. What's missing is an explicit exclusion of the single-video alternative (`transcribe`) when the URL is not a playlist, so the agent must infer that boundary.

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.

Resources