Skip to main content
Glama
YouTube Upload & Studio MCP Server

YouTube Upload & Studio MCP Server

by harsh-096

youtube_get_transcript

Read-onlyIdempotent

Retrieve transcripts and captions from YouTube videos by video ID, using the public transcript API by default or the official YouTube Data API for owned videos.

Instructions

Get transcript/captions for a video.

Uses youtube-transcript-api by default (works for public videos, zero quota). Set use_official_api=True to use the official YouTube Data API (own videos).

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

Input Schema

NameRequiredDescriptionDefault
languageNoen
video_idYes
use_official_apiNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint, openWorldHint, destructiveHint=false), so the bar is lower. The description adds genuinely non-derivable behavior: the default path uses youtube-transcript-api with zero quota and works on public videos, while the official API path is for owned videos and implicitly consumes quota. It omits failure behavior (no captions available, private video, language fallback).

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?

Three short lines, front-loaded with the core action, followed by the mode-selection detail. Nothing is redundant and the implementation reference (youtube-transcript-api) earns its place because it explains the zero-quota claim.

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?

There is no output schema, so the description should indicate what comes back — raw transcript text, timed segments, or a caption track object — and it does not. It also omits error conditions despite openWorldHint indicating external variability. An agent can call it correctly but cannot anticipate the response shape.

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 carry the load. It explains use_official_api well, including the ownership condition that selects it, but says nothing about the 'language' parameter (default 'en') — whether it falls back, matches auto-generated captions, or accepts ISO codes. video_id is self-evident. Partial compensation warrants a 3.

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: 'Get transcript/captions for a video.' An agent can immediately tell this retrieves caption text rather than caption metadata (youtube_list_captions) or video metadata. It stops short of explicitly differentiating itself from those siblings, which keeps it from a 5.

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 clear routing guidance for the two execution modes: default API 'works for public videos, zero quota', and 'Set use_official_api=True ... (own videos)'. That is a concrete condition for choosing a mode. There is no guidance on when to prefer this tool over youtube_list_captions or what to do when a video has no captions.

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