Skip to main content
Glama

transcript_youtube_fetch

Fetch a YouTube video's transcript as plain text or subtitles. Supports language selection, auto-generated captions, and translation.

Instructions

Fetch the transcript for a YouTube video and return it rendered as text. Read-only. Mirrors omni-dev transcript youtube fetch. format is txt (default, one cue per line), srt, vtt, or json. lang defaults to en (prefix fallback: en matches en-US). Set auto = true to allow auto-generated (ASR) captions when no manual track matches; set translate to request a machine-translated track in that language.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlYesYouTube video URL or bare 11-character video ID.
autoNoAllow falling through to auto-generated (ASR) captions when no manual track matches. Defaults to `false`.
langNoPreferred caption language (e.g. `en`, `en-US`). Prefix fallback applies (`en` matches `en-US`). Defaults to `en`.en
formatNoOutput rendering. Defaults to `txt`.
translateNoSynthesise a translated track in this target language when no native track matches.
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It declares the tool 'Read-only', explains default behaviors for format, lang, auto, translate, and mentions prefix fallback for language matching. It does not cover error cases or rate limits, but the disclosed traits are sufficient for a fetch tool.

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 concise at three sentences, front-loading the main purpose and read-only nature, then systematically covering parameter details. Every sentence contributes useful information without redundancy.

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?

The tool has 5 parameters and no output schema. The description explains all parameters with defaults and behavior, but does not describe the return format beyond 'rendered as text' or cover failure scenarios. Given the tool's simplicity and sibling context, it is fairly complete.

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 description coverage is 100%, so baseline is 3. The description adds value by explaining prefix fallback for lang and clarifying the effect of auto and translate beyond the schema's descriptions. It also ties to a CLI command for familiarity.

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 verb ('Fetch') and the resource ('transcript for a YouTube video') and specifies the output format ('rendered as text'). It distinguishes from sibling tools by focusing on fetching the transcript as text, whereas siblings are for info and listing languages.

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?

The description does not explicitly state when to use this tool versus its siblings or alternatives, nor does it provide exclusions. However, it implicitly conveys its purpose by detailing parameters like lang, auto, translate, which guide usage. Still, it lacks a clear 'when to use' statement.

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/rust-works/omni-dev'

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