Skip to main content
Glama

get_transcript

Read-only

Fetch a YouTube video's full transcript verbatim, page by page, cached locally for later reads. Continue with a cursor to retrieve the remaining pages and get the original words.

Instructions

Return the full transcript of a YouTube video, one page at a time.

    The transcript is saved to the local library on first fetch, so later reads are instant.
    A page with a non-null next_cursor is only part of the transcript: call again with that cursor
    to read the rest. Summarizing is up to you; this tool always returns the original words.
    

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoNoVideo URL or ID. Optional when continuing with a cursor.
cursorNonext_cursor from a previous page.
formatNo'segments': timed cues with jump links. 'text': compact timestamped paragraphs.text
originNoForce creator-made or automatic captions.
refreshNoRe-fetch from YouTube even if a saved copy exists.
languageNoLanguage code such as 'en' or 'pt-BR'. Omit to use the spoken language.
max_segmentsNoSegments per page; a cursor keeps its page size.

Output Schema

NameRequiredDescriptionDefault
textNoPresent when format='text': '[mm:ss] ...' paragraphs.
titleYes
offsetYesIndex of the first segment on this page.
originYes
statusNoready
versionYes
languageYes
segmentsNoPresent when format='segments'.
video_idYes
next_cursorYesPass back to get_transcript to continue; null on the last page.
channel_nameYes
language_nameYes
total_segmentsYes
end_of_transcriptYesTrue when this page reaches the final segment.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With readOnlyHint and openWorldHint already declared, the description adds real behavioral context beyond the annotations: the transcript is persisted to the local library on first fetch so later reads are instant, and returned text is always the original words, never a summary. It does not discuss rate limiting or failure modes for a video lacking captions.

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 short paragraphs, front-loaded with the purpose, then persistence, then pagination handling. Every sentence carries information; the only mild redundancy is explaining that pagination exists, which the schema's next_cursor partly implies.

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?

An output schema exists, so return-value detail is correctly omitted, and with seven fully described optional parameters the description's job is mainly to explain paging and caching, which it does. It leaves open what happens when captions are unavailable or when both video and cursor are omitted, a minor gap for a zero-required-parameter tool.

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 description coverage is 100%, so every parameter is already documented, and baseline is 3. The description reinforces cursor semantics ("call again with that cursor") and the page-size implication, but adds no syntax or format detail for video, origin, language, refresh, or max_segments beyond what the schema already states.

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 first sentence gives a specific verb and resource ("Return the full transcript of a YouTube video") plus its scoping constraint ("one page at a time"). It does not explicitly name or contrast itself with the sibling get_transcript_segment, so the exact boundary between a full transcript and a segment lookup is left for the agent to infer.

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 concrete operating guidance: if next_cursor is non-null, call again with that cursor to read the rest, and it tells the agent that summarizing is the caller's job rather than the tool's. It stops short of naming alternatives (e.g. when to prefer segment-level retrieval) or stating exclusions, so there is no explicit when-not guidance.

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