Skip to main content
Glama

get_transcript

Convert YouTube videos into transcripts, using human or auto-generated captions and preserving timing with timestamped or JSON output.

Instructions

Convert a YouTube video into a transcript.

Returns human captions when available, otherwise YouTube auto-generated captions, with an automatic yt-dlp fallback if the caption API is blocked. Use format='timestamped' or format='json' to keep timing information.

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": {
      "video": "<video>"
    },
    "name": "get_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoYesYouTube URL (watch, youtu.be, /shorts/, /live/, /embed/) or an 11-character video ID.
formatNoOutput format: text | timestamped | markdown | srt | vtt | json (default: text).text
preferNoBackend: 'auto' (caption API then yt-dlp), 'api', 'ytdlp', or 'whisper' (default: auto).auto
languageNoBCP-47 caption language code, e.g. 'en', 'fr', 'es', 'de', 'ja'. Empty = server default ('en').
max_charsNoClip the output to this many characters. 0 = no limit. Use for long videos.
translate_toNoOptional target language code to translate captions into (e.g. 'en'). Empty = no translation.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does disclose meaningful internals: human captions are preferred over auto-generated ones, and there is an automatic yt-dlp fallback if the caption API is blocked. It does not state that the operation is read-only/no side effects, nor any rate limits or cost implications of the fallback path, which keeps it from a 5.

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?

Three short sentences, front-loaded with the core action, then the fallback behavior, then the format tip. Every sentence carries information; only minor gain would come from folding the fallback detail more tightly.

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 a 6-parameter tool with an output schema and full schema descriptions, the description covers purpose, caption-source priority, fallback, and a key format hint. Missing only routing guidance relative to its transcript siblings, which is the main residual gap.

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 coverage is 100%, so the baseline is 3, and the description adds genuinely new meaning by explaining that `format='timestamped'` or `format='json'` preserve timing information — a selection nuance the schema's format list does not convey. It says nothing about `prefer`, `language`, `translate_to`, or `max_chars`, but those are fully documented in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource: 'Convert a YouTube video into a transcript.' Combined with the title/name, an agent immediately knows the resource (YouTube video) and output (transcript). It does not explicitly contrast itself with siblings like `transcribe_audio` or `get_transcript_range`, so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is implied by the purpose (fetch the full transcript of one YouTube video), and the fallback chain hints at when it still works if the caption API is blocked. But there is no explicit when-to-use/when-not-to-use guidance against `transcribe_audio` (non-YouTube audio?) or `get_transcript_range` (partial transcripts), leaving the agent to infer routing.

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