Skip to main content
Glama

VideoDataAPI — YouTube Transcript, Subtitles & Comments MCP. Zero-signup x4

Get YouTube Transcript

youtube_transcript
Read-onlyIdempotent

Extract timed subtitle segments and plain-text transcript for any public YouTube video or Short in any available language.

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_id": "<video_id>"
    },
    "name": "youtube_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoPreferred 2-letter subtitle language code (e.g. en, es, fr, de, ja). Defaults to en.
video_idYes11-character YouTube video ID or full youtube.com/watch?v=... / youtu.be/... URL.

Output Schema

NameRequiredDescriptionDefault
codeYesStatus code (0 on success).
dataYesNormalized transcript payload.
metaNoGateway execution metadata including request ID, cache tier, and credits charged.
statusYesResponse status string (ok or error).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, openWorld), and the description usefully adds the access constraint (public videos only) and what is returned (timed segments plus plain text, multi-language). It stops short of describing failure behavior when no captions exist, which is the main remaining unknown for an agent.

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?

A single sentence with zero filler, front-loading the verb and resource before the scope qualifiers. Nothing is repeated from annotations or schema.

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 simple two-parameter read tool with a full schema and an output schema, the description covers what it produces and the access boundary. The only meaningful omission is what happens on videos without available subtitles, which the output schema cannot express.

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 coverage is 100%, so both parameters are already documented, including the 11-character ID or full URL format and the 2-letter language code. The description's 'in any available language' only loosely contextualizes the lang parameter and adds no format or default detail beyond 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?

The description gives a specific verb and resource ('Extract timed subtitle segments and plain-text transcript') and scopes it to public YouTube videos and Shorts in any language. It is clearly distinct from metadata or comment tools, though it never names a sibling such as youtube_video_info to draw the boundary explicitly.

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 only implied: the agent can infer it applies to public videos and Shorts, but there is no statement of when to prefer this over siblings, nor when-not to use it (e.g., private, age-restricted, or caption-disabled videos).

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