Skip to main content
Glama

get_transcript

Download YouTube video captions as plain text or timestamped segments. Search within the transcript, filter by time range, or paginate results with language metadata.

Instructions

Fetch YouTube captions for one video: full text, keyword search, time range, or paginated segments. Returns JSON with segments[] (display_timestamp, end_seconds), match_count when searching, language metadata, and next_steps[]. Structured overview of a video uses summarize_video.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax caption segments per page (hard cap 500).
formatNoplain = joined text; timestamped = segments[] with display_timestamp for citations.plain
offsetNoSkip N segments after filters (pagination). Use next_offset from prior response.
languagesNoPreferred caption language codes. Response includes language and language_fallback.
video_refYesYouTube watch URL, youtu.be link, or 11-character video ID.
end_secondsNoOnly segments overlapping this end time (seconds).
start_secondsNoOnly segments overlapping this start time (seconds). Includes boundary overlap.
search_in_transcriptNoCase-insensitive keyword — returns only matching segments and match_count.
Behavior4/5

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

With no annotations, the description carries full responsibility for disclosing behavior. It meaningfully describes the output structure (segments[], display_timestamp, end_seconds, match_count, language metadata, next_steps[]), which goes beyond the input schema and gives the agent a clear picture of what to expect. It stops short of documenting potential edge cases (e.g., no captions available, rate limits), but for a read-only fetch tool, the transparency is reasonably strong.

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 exactly two sentences: the first states the core purpose and capabilities, the second outlines the JSON return structure. Every sentence earns its place, the most critical information is front-loaded, and there is no redundancy or filler. It is ideal in size and structure.

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?

For a tool with 8 parameters and no output schema, the description does a solid job of conveying the essential context: what the tool does, the modes of operation, the key returned fields, and the alternative for structured overviews. It is not exhaustive—for instance, it doesn't demonstrate how parameters combine—but it is sufficient for an agent to correctly select and invoke the tool for typical use cases.

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 the baseline is 3. The description adds light narrative context by summarizing modes ('full text, keyword search, time range, or paginated segments'), but each parameter is already thoroughly explained in the schema. The description does not add significant meaning beyond what the schema already provides, so no higher score is warranted.

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 clearly states the tool's function: 'Fetch YouTube captions for one video' with specific modes (full text, keyword search, time range, paginated segments). It distinguishes from the sibling summarize_video by explicitly directing structured overviews there, making the tool's specific purpose unambiguous.

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?

The description provides clear usage context by enumerating the types of transcript tasks it supports and explicitly notes that 'Structured overview of a video uses summarize_video,' which serves as a when-not/alternative directive. This is sufficient guidance for an agent to decide between get_transcript and summarize_video, and implicitly differentiates from youtube_query by focusing on caption retrieval.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Amorizz/tubask-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server