Skip to main content
Glama

YouTube Transcript

youtube_transcript
Read-only

YouTube transcript and video search API for AI agents: retrieve timestamped transcript segments by video ID or find videos by keyword. Returns JSON transcripts with text, start and duration, or video search results for content research and summarization. Price: 1 prepaid credits per successful call. This tool selects a video transcript and renders compact markdown.

Input Schema

NameRequiredDescriptionDefault
countryNoTwo-letter country code used for transcript retrieval.
languageNoPreferred two-letter transcript language code.
video_idYesYouTube video ID whose transcript should be returned.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior4/5

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

Annotations already establish read-only, non-destructive, open-world behavior, and the description adds genuinely useful context beyond them: a cost of 1 prepaid credit per successful call, the returned payload shape (JSON with text, start, duration), and that output is rendered as compact markdown. It does not cover failure modes or what happens when no transcript exists, which keeps it from a 5.

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

Conciseness3/5

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

The opening sentence is front-loaded and efficient, but the trailing sentence "This tool selects a video transcript and renders compact markdown" is redundant with the earlier return-format sentence and slightly conflicts with the JSON framing. A sentence could be cut without losing information.

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?

With no output schema, the description does well to sketch the return shape, but it leaves two gaps an agent needs: the unbacked keyword-search claim (no corresponding parameter) and no indication of behavior when a transcript is unavailable. Adequate but incomplete for a tool with a misleading capability claim.

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 video_id, language, and country are already fully documented with enums. The description adds nothing about the semantics of language fallback or country selection, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb and resource ("retrieve timestamped transcript segments by video ID") which is clear, but it also claims the tool can "find videos by keyword" while the schema exposes no query/keyword parameter and a sibling named search_youtube clearly owns that job. The dual-purpose framing makes it ambiguous which capability this tool actually provides.

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?

There is no explicit when-to-use guidance and no mention of search_youtube as the alternative for keyword lookups, even though the description implies this tool does search. The only usage-adjacent content is a generic "for content research and summarization" phrase, which does not help an agent choose between this and its siblings.

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