Skip to main content
Glama

get_transcript

Fetch YouTube video transcripts with timestamps and multi-language support. Provide a video URL or ID to receive captions with formatting options.

Instructions

Fetch transcript for a YouTube video with timestamps

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
languagesNoPreferred languages in priority order (e.g., ['en', 'es'])
video_url_or_idYesYouTube video URL or video ID
include_timestampsNoWhether to include start and end timestamps
preserve_formattingNoWhether to preserve HTML formatting in transcript text
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It merely restates that timestamps are included, which is already implied by the schema's default. It does not disclose return format, error behavior (e.g., when no transcript is available), or any side effects.

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?

The description is a single, front-loaded sentence with no wasted words. It is concise and to the point. Given the simplicity of the sentence, it earns a high score for structure, though it could be slightly more informative without becoming verbose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The tool has 4 parameters, no output schema, and no annotations. The description fails to explain what the returned transcript looks like, how languages are handled, or how this tool relates to the time-range variant. It is incomplete for a tool of this complexity, as the agent would need additional information to invoke it correctly and interpret results.

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 no additional meaning beyond the schema; the mention of timestamps corresponds to the include_timestamps parameter default but offers no extra insight into parameter usage or edge cases.

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 clearly states the action (fetch) and resource (YouTube video transcript), and mentions 'with timestamps' which hints at a key feature. However, it does not explicitly distinguish this tool from the sibling get_transcript_with_time_range, which could cause confusion about when to use which.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No usage guidance is provided. The description does not indicate when to use this tool versus the siblings (list_available_transcripts, get_transcript_with_time_range), nor does it mention any prerequisites or exclusions. Users are left to infer the appropriate use case.

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/shubhamshnd/ytmcp'

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