Skip to main content
Glama

Get YouTube transcript

get_youtube_transcript
Read-only

Get the transcript of a YouTube video from its link. Returns the captions YouTube has for the video (subtitles uploaded by the creator, or the auto-generated captions) as plain text, with the title, channel and the caption languages available. Does not work for videos without captions, or for private, members-only or age-restricted videos.

Input Schema

NameRequiredDescriptionDefault
urlYesLink to a single YouTube video, for example https://www.youtube.com/watch?v=dQw4w9WgXcQ
languageNoLanguage code of the captions to return, for example en, es or pt-BR. Defaults to the language spoken in the video.
timestampsNoPrefix every caption line with its start time, like [1:23]. Defaults to false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description usefully adds behavioral context the annotations do not: the return format (plain text plus title, channel, caption languages) and the failure conditions (no captions, private/members-only/age-restricted videos).

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?

Front-loaded with the core action, followed by return format and limitations in a compact three-sentence structure. Every sentence earns its place with no redundancy.

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 correctly carries the return-value explanation (plain text with title, channel, caption languages) and also documents the key failure modes. Nothing an agent needs to invoke it correctly 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 description coverage is 100%, so all three parameters (url, language, timestamps) are fully documented in the schema itself. The description alludes to caption languages but adds no meaning beyond what the schema already provides, so the baseline of 3 applies.

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 and resource (get the transcript of a YouTube video from its link) with clear scope. The YouTube-specificity implicitly differentiates it from siblings like transcribe_tiktok_video, but it never names or references those alternatives explicitly.

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?

Provides clear exclusion criteria ('Does not work for videos without captions, or for private, members-only or age-restricted videos'), which helps an agent decide feasibility upfront. It does not, however, tell the agent when to prefer a sibling tool such as get_transcription_result instead.

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