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

YouTube Model Context Protocol (MCP) Server

by nilhn9660

youtube_upload_caption

Upload .srt or .vtt caption files to an owned YouTube video using its video ID, language, and caption name; OAuth2 authorization is required.

Instructions

Upload a caption file (.srt, .vtt) for an owned video. Requires OAuth2.

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>",
      "language": "<language>",
      "name": "<name>",
      "caption_file_path": "<caption_file_path>"
    },
    "name": "youtube_upload_caption"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
is_draftNo
languageYes
video_idYes
caption_file_pathYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/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 burden; it does disclose the OAuth2 requirement and that the video must be owned, which are real behavioral facts. However, for a mutation tool it omits whether the upload is asynchronous, whether it replaces an existing caption track for the same language, and what happens on failure.

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?

Two short sentences, front-loaded with the action and formats, with the auth requirement last. No wasted wording, though the terseness leaves little room for the parameter explanations that are needed here.

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

Completeness2/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 described. But with five undocumented parameters, zero schema coverage, and no annotations, the description is far too thin for a mutation tool that attaches content to an existing video.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 5 parameters, and the description only hints at the accepted file formats for caption_file_path. Nothing explains video_id, language, name, or the non-obvious is_draft flag, so the meaning gap is largely unfilled.

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 ('Upload a caption file') plus accepted formats (.srt, .vtt) and a scope constraint ('owned video'). This naturally distinguishes it from youtube_download_caption and youtube_delete_caption, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a precondition ('for an owned video') and an auth requirement (OAuth2), which sets the context for use. It does not state when to prefer another tool, what to do when a caption already exists for that language, or any exclusions.

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