Skip to main content
Glama

List YouTube caption languages

list_languages
Read-onlyIdempotent

List available caption tracks, translation targets, and basic video metadata (title, author, default_language) for a public YouTube video as JSON. Free. Does not download transcript text. Use before get_transcript only when you need to discover non-default caption languages, check for manual vs auto-generated tracks, or recover from language_not_available; skip when the video's default language is fine. Subject to per-account rate and concurrency limits.

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_languages"
  }
}

Input Schema

NameRequiredDescriptionDefault
videoYesPublic YouTube URL (youtube.com/watch?v=..., youtu.be/..., youtube.com/shorts/..., youtube.com/live/...) or 11-character video ID (e.g. "dQw4w9WgXcQ").

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/open-world, so the description only needs to add beyond that, and it does: free of cost, explicitly does NOT download transcript text, and is subject to per-account rate and concurrency limits. It stops short of stating auth requirements or whether results are cached, which keeps it from a 5.

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?

Front-loads the outcome and payload, then the negative scope (no transcript download), then routing guidance, then constraints. No sentence is redundant; density is high without being unreadable.

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 no output schema, the description correctly enumerates the returned fields and states the format (JSON). Return-value completeness is good; only minor gaps remain around whether all tracks are returned at once or paginated.

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?

One parameter with 100% schema description coverage including accepted URL forms and 11-character ID format. The description adds no parameter-level meaning, which is acceptable given the schema does the work, but earns only the baseline.

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?

States a specific verb and resource (list caption tracks/translation targets) plus the exact return payload (title, author, default_language as JSON). The agent knows what it gets back without opening any schema.

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?

Explicit when-to-use triggers (discover non-default caption languages, check manual vs auto-generated tracks, recover from language_not_available), a named alternative (get_transcript), and an explicit skip condition (default language is fine). This is the complete when/when-not/alternative pattern.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.