Skip to main content
Glama

Fetch a YouTube transcript

fetch_transcript

Use this tool when the user asks to use, get, fetch, retrieve, summarize, translate, or convert a YouTube video (implicitly or explicitly by using the transcript of the video). Input is exactly one YouTube video URL or video ID; for several videos, call the tool once per video. Do not use this tool for general YouTube questions, channel analytics, or videos without a specific URL or ID.

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": "fetch_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoYesOne YouTube video ID or full video URL (watch, youtu.be, shorts, embed or live link).

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.9/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden; it does add useful cardinality behavior (exactly one video per call) and a scope exclusion. It says nothing about what is returned (plain text vs. timed segments), caption-less videos, language handling, or length/timeout limits, which are the main failure modes for a transcript fetcher with no output schema.

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?

Three sentences, front-loaded with the trigger conditions and ending with the exclusions, so the important routing information comes first. The verb run (use, get, fetch, retrieve, summarize, translate, convert) is somewhat padded but serves trigger matching; the parenthetical 'implicitly or explicitly' is slightly convoluted.

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?

For a single-parameter, annotation-free tool with no output schema, an agent can select and invoke it correctly from this text. Completeness falls short on the return value and edge cases (no captions, region/age restrictions, unexpected failures), which the description should cover since nothing else does.

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% and the parameter description already enumerates accepted URL forms, so the schema does the heavy lifting. The description still adds meaning beyond it by constraining cardinality to exactly one URL or ID and prescribing the loop-per-video pattern, which the schema cannot express.

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?

The description names a specific resource (a YouTube video's transcript) and frames the triggers clearly, and the title reinforces that the output is a transcript. It never states outright that the tool returns the transcript text, and with no sibling tools listed there is no differentiation to make, so it stops 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 Guidelines5/5

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

Gives explicit when-to-use triggers (summarize, translate, convert a video via its transcript) and explicit when-not-to-use cases (general YouTube questions, channel analytics, videos lacking a specific URL or ID). It also resolves the multi-video case: call once per video.

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