Skip to main content
Glama

YoutubeToText

Transcribe video

transcribe

Queue a YouTube video for plain text transcription. Returns the job id, its duration in seconds and the minutes it takes from the account (1 per started minute of video; both null when the length is not known yet). Poll get_transcription until state is done, then read the txt field for the transcript text. tag_audio_events marks non-speech audio with tags like (laughter) or [music]; off by default, and the tag language may not match the video's.

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

Input Schema

NameRequiredDescriptionDefault
urlYesLink to one YouTube video: youtube.com/watch?v=<id>, youtu.be/<id>, or a /shorts/, /live/ or /embed/ link (m.youtube.com works too). Playlist and channel links are refused; use `get_playlist` and `transcribe_playlist` for those.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the cost model (1 minute per started minute of video), the null-when-unknown behavior for duration/minutes, and the async polling requirement. Annotations only say it is a non-read-only, non-idempotent, open-world call; the description supplies the operational consequences of that.

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 sentences, each front-loading a distinct fact: what is queued, what comes back, how to poll, and the one non-obvious flag caveat. No redundant or filler wording.

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?

There is no output schema, yet the description names the returned fields (id, duration, minutes) and explains how to retrieve the transcript afterwards, which is exactly what is needed to call and follow up on this async tool.

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 parameters are already fully documented, including tag_audio_events and its default. The description largely restates the tag_audio_events caveat rather than adding new meaning, so the baseline of 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 and resource ('Queue a YouTube video for plain text transcription') plus the async job model, which separates it cleanly from get_transcription and transcribe_playlist. The schema further pins scope by refusing playlist/channel links and naming the siblings that handle them.

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_transcription until state is done, then read the txt field. It does not say when to prefer this over get_subtitles or burn_subtitles, but the usage context is clear and actionable.

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