Skip to main content
Glama

Get video transcript

get_transcript
Read-onlyIdempotent

Fetch a YouTube transcript via ID or URL with no API key. Use clean text for summarization or timestamps for citing moments; pagination and time-range limits available.

Instructions

Get a video's transcript (ID or URL). No API key or quota needed. Long transcripts are split into pages of about page_words words; when the result includes next_cursor, more of the transcript remains and can be fetched by calling again with the same arguments plus cursor. timestamps=false gives clean text for summarising; true gives [m:ss] chunks for citing moments or making chapters. start/end (seconds) limit to a section of the video.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoOnly include up to this many seconds
startNoOnly include from this many seconds in
videoYes
cursorNonext_cursor from a previous call, to fetch the next page
languagesNoPreference order, e.g. ['en','en-AU']
page_wordsNoApproximate words per page (8000 is roughly 11k tokens)
timestampsNo
translate_toNoMachine-translate into this language code, e.g. 'en'
chunk_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark the operation as read-only and idempotent nont-destructive. The description adds substantial behavioral detail beyond that: transcripts are paginated with page_words and next_cursor, timestamps=false returns clean text versus true returning [m:ss] chunks, and start/end restrict to a time range. This is exactly the kind of context agents need.

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

Conciseness5/5

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

The description is compact and every sentence adds value. It leads with the core function, then covers authentication/quota, pagination, timestamp modes, and time-range limiting. No redundant phrases or filler.

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?

Even without an output schema, the description tells the agent about the pagination cursor, the format of timestamped chunks, and how to limit by time. It also explains the tradeoff between clean text and timestamped text, which is essential for selecting the right invocation. Combined with schema descriptions for the remaining parameters, this is complete enough for correct use.

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 67%, and the description compensates for the undocumented 'video' parameter by clarifying it accepts an ID or URL. It also explains the behavior of page_words, cursor, timestamps, start, and end. Some parameters like languages, translate_to, and chunk_seconds are not described in prose, but the schema already covers them, so the overall parameter semantics are strong.

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 states a specific verb and resource: 'Get a video's transcript (ID or URL).' It is immediately clear what the tool does and how it differs from sibling tools like list_transcripts, which likely lists available transcripts rather than fetching content.

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?

The description gives clear usage context: no API key or quota needed, pagination with cursor, and parameter-driven modes for summarizing vs citing. It does not explicitly name alternative tools or exclusion conditions, but the practical guidance is strong enough for an agent to know when to use this tool.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.