Skip to main content
Glama

get_transcript_with_time_range

Fetch YouTube video transcript for a specific time range. Provide start and end times to extract the relevant portion, with language selection and formatting options.

Instructions

Fetch transcript for a specific time range of a YouTube video

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_timeYesEnd time in seconds
languagesNoPreferred languages in priority order
start_timeYesStart time in seconds
video_url_or_idYesYouTube video URL or video ID
preserve_formattingNoWhether to preserve HTML formatting
Behavior3/5

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

With no annotations, the description carries the full burden. The verb 'Fetch' implies a read-only operation, but the description does not disclose error behavior, language fallback behavior, or what happens if no transcript exists for the range. It provides minimal behavioral context beyond the basic action.

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 a single, front-loaded sentence with no wasted words. It is highly concise and appropriate for the tool's simplicity.

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

Completeness3/5

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

The tool has no output schema, so the description should clarify what the tool returns to some degree. It says 'Fetch transcript' but does not indicate return format (e.g., text, JSON, list of segments) or edge-case behavior. Given the simple read-only nature, the description is minimally adequate but leaves gaps in context.

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?

The input schema has 100% parameter description coverage, so the baseline is 3. The description does not add any parameter-specific meaning beyond what the schema already provides; it merely contextualizes the time-range parameters generically.

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 fetches a transcript for a specific time range of a YouTube video, using a specific verb ('Fetch') and resource ('transcript for a specific time range'). This distinguishes it from sibling tools that list available transcripts or fetch full transcripts.

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 clearly indicates the use case (fetching a transcript segment by time range), which provides clear context. However, it does not explicitly name alternatives or state when not to use this tool, so it lacks explicit exclusions.

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