Skip to main content
Glama
gridivit

mcp-youtube-transcript

by gridivit

get_transcript

Retrieve YouTube video transcripts as plain text using a URL and language code. Falls back to English and lists available languages when the requested one is not found.

Instructions

Get the full transcript text of a YouTube video.

Returns the whole transcript as plain text without timestamps. Long videos produce long text: a two-hour video is roughly 20-30 thousand words.

If the requested language is unavailable, English is used as a fallback. If neither exists, this fails and lists the languages the video does have - pick one of them and call again.

Args: url: YouTube video URL (watch, youtu.be, shorts or embed form), or the bare 11-character video id. language: Language code of the wanted transcript, e.g. "en", "ru", "de".

Returns: The transcript as a single plain-text string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYes
languageYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals important traits: returns only plain text without timestamps, long videos produce very long text, fallback language behavior, and failure mode (lists available languages). It does not mention authentication, rate limits, or whether transcripts must be manually uploaded, but the disclosed details go well beyond the schema and give the agent realistic expectations.

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?

The description is moderately long but every sentence earns its place. It is well-structured with a clear purpose statement, a practical note on output length, fallback behavior, error handling, and labeled Args/Returns sections. No redundancy or fluff, and the format is easily parsable by an agent.

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?

Given the tool's moderate complexity (two required parameters, an output schema exists, sibling tool present), the description covers all critical aspects: what it does, what inputs it accepts, what output to expect, fallback logic, and what happens on error with actionable next steps. The output schema can handle return-type detail, so the description need not repeat it. The only minor omission is a direct pointer to list_transcript_languages, but the failure-path guidance compensates.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has 0% description coverage, so the description must fully explain both parameters. It does this thoroughly: url accepts multiple URL forms (watch, youtu.be, shorts, embed) or a bare 11-character ID, and language takes a language code such as 'en', 'ru', 'de'. This directly compensates for the missing schema descriptions and leaves no ambiguity about input formats.

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?

The description opens with a specific verb and resource: 'Get the full transcript text of a YouTube video.' This clearly distinguishes the tool from the sibling list_transcript_languages by focusing on retrieving transcript text rather than enumerating available languages. It also notes the output is plain text without timestamps, adding precision.

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?

The description provides clear context on when to use the tool and how to handle failures: if the requested language is unavailable, English is used as a fallback; if neither exists, the tool lists available languages and advises calling again with one of them. It does not explicitly name the sibling tool or state when to prefer list_transcript_languages, so it stops short of a 5, but the fallback and retry guidance is valuable.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/gridivit/mcp-youtube-transcript'

If you have feedback or need assistance with the MCP directory API, please join our Discord server