Skip to main content
Glama
YouTube Upload & Studio MCP Server

YouTube Upload & Studio MCP Server

by harsh-096

youtube_add_to_playlist

Add a specific video to a YouTube playlist by providing the playlist and video IDs, with an optional position to control where it appears.

Instructions

Add a video to a playlist.

Args: playlist_id: Playlist ID to add the video to. video_id: Video ID to add. position: Optional 0-based position in the playlist.

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": {
      "playlist_id": "<playlist_id>",
      "video_id": "<video_id>"
    },
    "name": "youtube_add_to_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
positionNo
video_idYes
playlist_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already state readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=true, so the agent knows this is a non-destructive remote write. The description adds nothing beyond that: no mention of quota cost, rate limits, or what happens if the video is already in the playlist (a realistic edge case given idempotentHint=false). It essentially restates the mutation the annotations already imply.

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?

One-line purpose followed by a compact Args block, front-loaded and free of filler. The playlist_id and video_id arg lines are largely tautological restatements of their names, but they cost almost nothing.

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?

For a simple three-parameter mutation with no output schema, the definition is adequate: it names the operation and all inputs. It omits behavioral edge cases an agent would want — duplicate handling, out-of-range position behavior, and auth requirements — which matters given this is a write operation in an external system.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the full burden and does document all three parameters, including the non-obvious detail that 'position' is optional and 0-based. Only the ID formats (playlist vs video identifier shape) are left unspecified.

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?

The description opens with a specific verb+resource: 'Add a video to a playlist.' That is unambiguous and clearly distinct from siblings like youtube_remove_from_playlist or youtube_create_playlist. It stops short of explicitly naming an alternative, but the operation itself is sharply defined.

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?

There is no when-to-use guidance, no mention of prerequisites such as being authenticated (the tool is openWorldHint=true and clearly needs OAuth), and no note on how this differs from related playlist tools. The only usage signal is the tool name and parameter list, leaving everything to inference.

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