Skip to main content
Glama
felipefontoura

YouTube MCP Server

youtube_get_transcript

Retrieve video captions or transcripts by providing a YouTube video ID, with optional language selection and the choice to use the official Data API for your own videos.

Instructions

Get the transcript/captions for a video.

By default uses youtube-transcript-api (works for any public video, no quota cost). Set use_official_api=True to use the official Data API (only for your own videos, costs quota units).

Args: video_id: YouTube video ID language: Preferred language code (e.g., "en", "es", "ja") use_official_api: If True, use official API (own videos only)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languageNoen
video_idYes
use_official_apiNo
Behavior3/5

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

No annotations exist, so the description carries the transparency burden. It discloses the cost/quota distinction between the two API paths and the ownership restriction for the official API, which is valuable behavioral context. However, it doesn't disclose error behavior (e.g., what happens when captions are unavailable/disabled), return format, or failure modes—gaps given zero annotation support.

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 well-structured with an intro sentence, a clear default-vs-official distinction, and a compact Args list. Every sentence earns its place. It could arguably trim some redundancy, but the content density is appropriate for a 3-param tool with this much behavioral nuance around API selection.

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 moderate-complexity tool with 3 parameters and no output schema or annotations, the description covers the main decision point (which API to use), all parameters, and key tradeoffs. It lacks error-case documentation (missing captions) and return-format details, but the essential decision-critical information—especially differentiating it from youtube_list_captions—is present and actionable.

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 0%, so the description fully compensates by documenting all three parameters: video_id, language (with format hint 'en', 'es', 'ja'), and use_official_api (with semantics about ownership and quota). Each parameter's purpose is explained beyond the plain schema definitions, which offers no descriptions.

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 clearly states the verb+resource: 'Get the transcript/captions for a video.' It distinguishes itself from siblings by clarifying it retrieves transcript data (vs youtube_list_captions which lists captions metadata, or youtube_get_video which gets video details). The 'for a video' scope is specific and unambiguous.

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

Usage Guidelines5/5

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

The description explicitly contrasts two usage modes: default youtube-transcript-api (any public video, no quota) vs official API (own videos, quota cost). It names the alternatives and provides the tradeoff context needed for an agent to choose correctly, plus notes the official API is restricted to own videos.

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/felipefontoura/youtube-studio-mcp'

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