Skip to main content
Glama
YouTube Model Context Protocol (MCP) Server

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_get_video_transcript

Extract subtitles and transcript text from public YouTube videos with start timestamps and duration segments; optionally select languages for analysis or indexing.

Instructions

Extract subtitles and transcript text with start timestamps and duration segments for any public video.

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_id": "<video_id>"
    },
    "name": "youtube_get_video_transcript"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYes
languagesNo
include_timestampsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose one meaningful constraint: the video must be public, plus the general shape of returned segments (start timestamps, duration). It says nothing about what happens when captions are absent, whether requests need auth, or whether the languages parameter falls back to a default — notable gaps for a no-annotation tool.

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?

A single front-loaded sentence with no filler; the capability and output shape come first. It is efficient, though the brevity is part of why parameter guidance is absent.

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?

An output schema exists, so return values need not be explained, and the description covers the core extraction behavior. However, for a 3-parameter tool where one parameter (languages) is entirely undocumented in both schema and prose, plus no annotation coverage, the definition leaves real gaps an agent would hit when invoking it.

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 0%, so the description must compensate, and it only partially does: 'start timestamps and duration segments' maps to include_timestamps, but the languages parameter and its fallback/priority semantics are not explained anywhere. The video_id parameter is conveyed only obliquely through 'any public video.'

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?

States a specific verb and resource: 'Extract subtitles and transcript text' with 'start timestamps and duration segments,' scoped to 'any public video.' The purpose is unambiguous, though it never distinguishes itself from the sibling youtube_list_transcript_languages, which an agent might reasonably confuse for a related caption task.

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?

Provides only an implicit scope constraint ('for any public video') and no explicit when-to-use or when-not-to-use guidance. It does not mention the language-discovery sibling as a prerequisite step for choosing the languages parameter, leaving routing entirely to inference.

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

Deploy Server

Other Tools