Skip to main content
Glama

SiteCheck Shop & Social

Transcript of a public YouTube video from YouTube caption

social_youtube_transcript
Read-only

Transcript (captions) of a public YouTube video from YouTube caption tracks: title, channel, length, available caption languages, and the chosen track as timed segments (start and duration in seconds, text) plus the joined full text. Prefers human captions over auto-generated ones. Videos without captions return an empty segment list; private or removed videos return 404. YouTube bot-checks some requests: those return 503 (not charged), retry. Takes about 12 s; allow a 30 s timeout. Related tools on this server, for a different need: social_youtube_channel_email when you need YouTube channel About page from YouTube's public page data; social_youtube_comments when you need first page of top comments on one YouTube video: author. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

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": "<video>"
    },
    "name": "social_youtube_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
langNoPreferred caption language code, e.g. en, de, es (default en; falls back to the first track)
videoYesYouTube video URL (watch, youtu.be, shorts, embed) or the 11-character video ID

Output Schema

NameRequiredDescriptionDefault
textNo
trackNo
videoNo
sourceNo
segmentsNo
checkedAtNo
languagesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly and openWorld; the description goes far beyond them by disclosing caption-selection preference (human over auto-generated), failure semantics (empty segments for caption-less videos, 404 for private/removed, 503 for bot-checks with no charge), typical latency (~12s), and billing scope ($0.002 per successful call, failures not charged). This is the kind of behavior an agent cannot infer from structured fields.

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?

Front-loads what is returned, then failure modes, then timing, then alternatives, then price — a logical progression with no filler sentences. It is dense but somewhat over-packed, and the pricing/network clause is long enough to slow scanning; still, each sentence carries information an agent needs.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers everything needed to invoke this tool correctly: accepted video identifier forms are in the schema, and the description supplies error handling, retry policy, timeout budget, cost, and sibling routing. The presence of an output schema means return fields need not be explained, yet their summary does no harm and aids selection.

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% and both parameters are already documented, including the lang default of en and first-track fallback. The description adds only indirect context — that available caption languages are returned and a track is 'chosen' — which slightly informs how lang interacts with the response but adds no format or syntax detail beyond the schema. Baseline 3 applies.

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+resource: the transcript/captions of a public YouTube video pulled from caption tracks, and enumerates the return shape (title, channel, length, languages, timed segments, joined text). It also names sibling tools and the different needs they serve, so an agent can distinguish it without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly routes the agent: use social_youtube_channel_email for channel About data, social_youtube_comments for top comments, implying this tool is for the video's spoken content. It also sets operational conditions — retry on 503, allow a 30s timeout — which function as usage guidance rather than mere flavor.

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