Skip to main content
Glama
Ayaanisthebest

YouTube Transcript MCP Server

get_transcript

Fetch the transcript of a YouTube video by providing its URL or ID. Supports multiple languages and returns output as text or JSON.

Instructions

Fetch the transcript for a YouTube video.

Args: video_url_or_id: YouTube video URL or video ID languages: List of language codes to try (e.g., ['en', 'es']). If None, uses default. format_type: Output format - 'text' or 'json' ctx: MCP context for logging

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languagesNo
format_typeNotext
video_url_or_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It mentions that languages are 'tried' and that None uses default, but it fails to state the read-only nature, error handling, or whether the transcript includes timestamps or other formatting details. The extraneous mention of 'ctx' for logging adds confusion without clarifying behavior.

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?

The description is concise, with a one-sentence summary followed by an args list. However, the inclusion of 'ctx: MCP context for logging' which does not appear in the input schema is extraneous and could mislead the agent. Removing it would make the description fully tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple fetch tool with an output schema, the description covers the essential parameters and basic purpose. However, it lacks usage guidance relative to siblings and does not disclose limitations or edge cases (e.g., videos without transcripts). The output schema presumably handles return structure, so the description is adequate but not fully complete.

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, and the description compensates thoroughly. It explains each real parameter: video_url_or_id accepts a URL or ID, languages is a list of language codes with default behavior, and format_type accepts 'text' or 'json'. While 'ctx' is not in the schema and is an unnecessary addition, the remaining parameter explanations are clear and actionable.

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 'Fetch the transcript for a YouTube video,' a specific verb+resource combination. It clearly differentiates from sibling tools like search_transcript (search within transcripts) and get_transcript_summary (summarize), making the tool's primary function unmistakable.

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

Usage Guidelines2/5

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

The description provides no guidance on when to use this tool versus its siblings. It does not mention alternatives such as get_available_languages for listing languages or search_transcript for searching within a transcript, leaving the agent without decision-making context for tool selection.

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/Ayaanisthebest/MCP-tool-for-YouTube-'

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