Skip to main content
Glama

crypto-web-data-api

YouTube video transcript as text

youtube_transcript
Read-only

YouTube video transcript as text. Subtitles of a YouTube video (manual or auto-generated) as plain text, optionally with timestamps, plus title and channel. Picks the requested language or the best available. Cached 6 h. Price $0.010 per call (x402: USDC on Base or Solana).

Input Schema

NameRequiredDescriptionDefault
txNoAlternative to the X-Payment-Tx header
urlYesVideo URL or 11-character id
langNoPreferred languages, comma-separateden
max_charsNo
timestampsNoInclude segments with start times

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the read-only and open-world annotations, it discloses subtitle-source behavior, best-available language fallback, a six-hour cache, and the per-call price with supported payment rails. These details materially help an agent anticipate freshness, language selection, and invocation cost.

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 compact, front-loaded, and efficiently moves from output contents to language behavior, caching, and price. Its opening sentence largely repeats the title, preventing a perfect conciseness score.

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 relatively simple external read tool, it covers the output, supported subtitle types, language fallback, caching, and cost, compensating well for the absent output schema. Remaining gaps include behavior when subtitles are unavailable, max_chars truncation semantics, and when payment transaction details are required.

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?

With 80% schema coverage, most parameters are already documented, but the description adds meaningful language-fallback semantics beyond the lang field and payment context relevant to tx. It does not explain the otherwise undocumented max_chars parameter, particularly whether output is truncated and how metadata affects the limit.

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 identifies the resource and result: manual or auto-generated YouTube subtitles returned as plain text, optionally with timestamps, plus title and channel. This precise scope also distinguishes it from generic content tools such as fetch and pdf.

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?

It provides clear usage context for obtaining a YouTube video's transcript rather than general page content. It does not explicitly state when not to use it or name an alternative for non-YouTube sources.

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