Skip to main content
Glama

yt_add_video_to_playlist

Add a video to a playlist owned by your YouTube channel using playlist ID and video ID.

Instructions

Add a video to a playlist the channel owns.

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": "yt_add_video_to_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
video_idYes
playlist_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations only declare destructiveHint=false, so the description carries most of the burden. It adds a real constraint (channel-owned playlist required) but says nothing about auth needs, idempotency (re-adding an existing video), quota cost, or failure modes for a mutation call.

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 front-loaded sentence with no filler and no redundancy. It is efficient rather than padded, though the brevity edges into under-specification.

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 described, and the ownership constraint is a useful addition. However, for a two-parameter mutation tool with near-zero annotation and schema-description coverage, the definition leaves the agent without ID sourcing or duplicate-handling guidance.

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%, so the description must compensate and does not: neither playlist_id nor video_id format, source, or how to obtain the values is addressed. The parameter names are self-evident, but no meaning is added beyond the schema's bare 'Video Id' / 'Playlist Id' titles.

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 (add a video to a playlist) plus a scope qualifier ('the channel owns'), which separates it from yt_remove_video_from_playlist. It stops short of naming siblings explicitly, so nothing actively routes the agent away from alternatives.

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?

Usage is only implied: the 'playlist the channel owns' clause hints at a prerequisite and rules out playlists owned by others. There is no explicit when-to-use statement and no mention of the sibling removal tool or of what to do when the video is already present.

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