Skip to main content
Glama

list_transcript_languages

Lists all available caption tracks and languages for a YouTube video so you can find a usable transcript when the requested language is unavailable.

Instructions

List all caption tracks for a video (language code, human vs auto, translatable targets).

Call this when get_transcript reports that the requested language is unavailable.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "video": "<video>"
    },
    "name": "list_transcript_languages"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoYesYouTube URL (watch, youtu.be, /shorts/, /live/, /embed/) or an 11-character video ID.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. 'List' implies a non-destructive read, and the parenthetical previews the returned fields, but there is no mention of behavior for private/region-locked/deleted videos, auth requirements, or rate limits. Adequate but not rich for a tool with zero annotation coverage.

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?

Two short sentences: the capability and its return shape come first, then the routing condition. Nothing is redundant or padded.

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?

With one fully documented parameter and an output schema covering return values, an agent has nearly everything needed to call this correctly. The remaining gap is edge-case behavior (errors on unavailable or non-caption videos), which annotations would normally supply but don't here.

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 single 'video' parameter has 100% schema description coverage, including all accepted URL forms and the 11-character ID alternative, so the schema does the heavy lifting. The description adds only 'for a video', which is already conveyed by the schema and purpose statement.

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?

Uses a specific verb and resource ('List all caption tracks for a video') and enumerates what each track contains (language code, human vs auto, translatable targets). The explicit reference to get_transcript makes it distinguishable from the sibling that fetches actual transcript text.

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?

Gives a concrete trigger: call it when get_transcript reports the requested language is unavailable, which names the sibling and the condition that selects this tool. It doesn't state explicit when-not cases or mention other siblings such as get_video_info, but the routing guidance is clear and actionable.

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