Skip to main content
Glama

YouTube Transcript

social_youtube_transcript
Read-only

Retrieves publicly available captions, subtitles, or transcripts from a YouTube video or Short. Returns both a timestamped transcript array with start/end times and a plain-text version in transcript_only_text. Supports specifying a language code. Videos of any length are supported when YouTube exposes public captions. This endpoint does not use AI transcription. A returned transcript costs 1 credit; missing captions cost 0 credits. If no matching caption track is available, the transcript fields return null. Completed lookups cost at least 10 Nexscope credits. Actual cost depends on the operation and requested options. Repeated requests may purchase data again. YouTube Transcript API View Pricing Get publicly available captions or a transcript from a YouTube video or Short 1 credit per request Retrieves publicly available captions, subtitles, or transcripts from a YouTube video or Short. Returns both a timestamped transcript array with start/end times and a plain-text version in transcript_only_text. Supports specifying a language code. Videos of any length are supported when YouTube exposes public captions. This endpoint does not use AI transcription. A returned transcript costs 1 credit; missing captions cost 0 credits. If no matching caption track is available, the transcript fields return null. Language code, ie 'en', 'es', 'fr' or 'en-US'. Overrides the default track selection unless original_audio=true. If omitted, prefers captions matching the original spoken language when YouTube identifies the original audio. If that metadata is unavailable or ambiguous, prefers an auto-generated caption, otherwise the first caption track. If the requested or identified original language has no matching captions, the transcript will be null and no credits are charged. Set to true to return captions only in the original spoken language identified by YouTube. Takes precedence over language. If the original audio cannot be reliably identified or has no matching captions, transcript, transcript_only_text, and language are null and no credits are charged. No extra lookup or credit cost; a returned transcript costs the usual 1 credit. Omit or set to false for the existing default selection. If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). See the Caching page for details.

Input Schema

NameRequiredDescriptionDefault
urlYes
languageNo
cacheMaxAgeNo
originalAudioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Goes well beyond the readOnly/openWorld annotations: it discloses that no AI transcription occurs, that missing caption tracks return null rather than erroring, that a returned transcript costs 1 credit while misses cost 0, and that cached responses return 'cached': true with 0 credits. The cost story is muddled by the stray line 'Completed lookups cost at least 10 Nexscope credits,' which conflicts with the stated 1-credit-per-transcript pricing.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening paragraph is duplicated verbatim, and a block of marketing/pricing boilerplate ('YouTube Transcript API View Pricing Get publicly available captions... 1 credit per request') is pasted into the middle of the text. The substantive guidance is buried under this repetition, though the parameter-specific paragraphs at the end are well structured.

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?

With no output schema, the description usefully explains the return shape (timestamped array plus transcript_only_text) and the null-on-miss case, and adds credit and caching behavior. It stops short of describing accepted input URL formats or pagination/length limits for very long caption tracks.

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 0%, so the description must carry the load. It does explain three of the four parameters in prose — language fallback behavior, originalAudio precedence, and cacheMaxAge semantics — but never names them as parameters (it says 'original_audio=true', which does not match the schema's 'originalAudio'), and the 'url' parameter is never described at all, including accepted URL 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?

States a specific verb and resource — retrieve publicly available captions/subtitles/transcripts from a YouTube video or Short — and immediately distinguishes itself from AI-transcription siblings by stating 'This endpoint does not use AI transcription.' An agent can tell exactly what it produces.

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?

Gives conditional selection rules for the language parameter (default track preference, auto-generated fallback) and for originalAudio precedence, which is genuine when-to-use guidance. However, it never names sibling alternatives such as social_youtube_video_detail or other transcript tools, so routing between tools is still left to inference.

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.