Skip to main content
Glama

YouTube MCP

Get YouTube Transcript (SerpAPI)

youtube_transcript

Fetch a YouTube video's transcript via SerpAPI. v is the video id from a youtube_search result. Pick a track with language_code (default 'en' — use the video's own language), and optionally title and type ('asr' for auto-generated captions). When the requested track doesn't exist the tool falls back once to an available track (same language first, manual before auto-generated) and says so in note.

Input Schema

NameRequiredDescriptionDefault
vYesYouTube video id (required) — the id from a youtube_search result.
typeNoTranscript track type: 'asr' for auto-generated captions; omit for manual captions. If that track doesn't exist, an available one is used instead and `note` says which.
titleNoTranscript track title to select when multiple tracks exist.
no_cacheNoForce a fresh SerpAPI fetch and bypass this server's result cache. Default false.
zero_traceNoEnterprise-only ZeroTrace mode: don't store search params/metadata on SerpAPI. Default false.
language_codeNoTranscript language code, e.g. 'en', 'pl'. Default 'en' — pass the video's own language. If that track doesn't exist, an available one is used instead and `note` says which.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose a genuinely non-obvious behavior: a single fallback to an available track, preferring same language and manual over auto-generated, reported via `note`. It omits caching behavior (no_cache) and what happens if no track exists at all, so it is not fully complete.

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?

Three tight sentences, front-loaded with purpose then parameter guidance then the fallback caveat. Some phrasing duplicates what the schema already documents, which slightly dilutes density.

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 6-parameter, no-output-schema, no-annotation tool, the description covers the main call path, track selection, and the fallback/`note` reporting. It leaves no_cache and zero_trace entirely to the schema and says nothing about the returned transcript shape, but the essentials for correct invocation are present.

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 the baseline is 3. The description largely restates schema content (`v` as video id, language_code default, 'asr' meaning) but does add the fallback priority ordering that the schema does not state.

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 ('Fetch a YouTube video's transcript via SerpAPI') and ties the `v` parameter back to a youtube_search result, which implicitly separates it from the search tool. It never explicitly contrasts with youtube_video, so sibling differentiation is only partial.

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?

Guidance is about track selection (language_code default 'en', use the video's own language, 'asr' for auto-generated) rather than when to call this tool versus youtube_search/youtube_video. The workflow hint that `v` comes from a search result implies usage, but no explicit when/when-not or alternative routing is given.

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