Skip to main content
Glama

Groundsocial

Transcript of a YouTube video

youtube_video_transcript
Read-onlyIdempotent

A YouTube video’s transcript: timestamped segments and full text, in a chosen language.

What is said in a video, from its captions (creator-made first, else auto-generated): segments with start and duration in ms, and the whole text. Without language you get the original spoken language; with it, that language or target_not_found (never charged) with the languages that exist in the hint. Videos with no captions at all answer target_not_found.

Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "id": "<id>"
    },
    "name": "youtube_video_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesA video or Short id, or any URL of it (watch, youtu.be, shorts, live, embed).
languageNoISO 639-1 language code (en, es, pt-BR).
original_audioNotrue: only the original spoken language (wins over language).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing credit cost (2 per call), automatic refund on failure, that failed language lookups are never charged, and the exact fallback/error surface (target_not_found with available languages). Annotations already cover read-only/idempotent/open-world, and the description adds the economic and failure semantics on top.

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-loaded with the resource and return shape, then fallback behavior, then cost as a final line. Dense but every sentence carries information; only the trailing cost/safety line is somewhat boilerplate-adjacent.

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?

With no output schema, the description names the return fields (segments with start/duration in ms, text, cost_credits, credits_remaining) and the failure case, so an agent knows what to expect. For a 3-parameter read tool this covers everything needed to call it correctly.

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?

Schema coverage is 100%, so baseline is 3; the description still adds value by explaining the observable consequence of omitting `language` versus supplying it, including the target_not_found outcome and the language hint returned. It does not elaborate on URL-form acceptance for `id` or the `original_audio` precedence beyond what the schema already says.

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: it returns a YouTube video's transcript as timestamped segments plus full text, and clarifies the source is captions (creator-made first, else auto-generated). That is more precise than the title alone. It does not explicitly differentiate from the sibling youtube_video_subtitles, so it falls short of a 5.

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?

Gives conditional behavior for the `language` and `original_audio` paths, and notes the no-captions case, which implies when the tool will and won't return data. However, there is no explicit routing guidance telling an agent when to pick this over youtube_video_subtitles or youtube_video_transcript_batch.

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.