Skip to main content
Glama

add_to_youtube_playlist

Destructive

Add a video to a playlist of the channel: playlist_id, or playlist_title (found or created as private/unlisted).

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

Input Schema

NameRequiredDescriptionDefault
video_idYesID of the video
channel_idNoYouTube channel id (UC…) from list_youtube_channels; optional when only one channel is connected
playlist_idNoID of the playlist
playlist_titleNoPlaylist title; found or created if no playlist_id is given
playlist_privacyNodefault private. Public only via update_youtube_video with human approval.
playlist_descriptionNoDescription when the playlist is created here (max 5000 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / playlist_description
      Added value: +{
      +  "description": "Description when the playlist is created here (max 5000 characters)",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedInput schema / properties / playlist_id / description
      Added value: +"ID of the playlist"
    • addedInput schema / properties / playlist_title / description
      Added value: +"Playlist title; found or created if no playlist_id is given"
    • addedInput schema / properties / video_id / description
      Added value: +"ID of the video"
  3. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Against annotations that already flag destructiveHint, non-idempotent and open-world behavior, the description adds genuinely new context: a playlist created via title is private/unlisted and public visibility needs a separate human-approved flow. It omits the practical consequence of non-idempotency, namely that adding the same video twice may duplicate it, which is the main behavior an agent should know here.

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?

It is a single front-loaded sentence with no filler. The colon-embedded parameter list reads slightly awkwardly, but nothing is wasted.

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 six-parameter mutation tool with no output schema, the description covers parameter interplay and one important privacy constraint, but leaves out what is returned on success and how duplicate additions behave. Adequate rather than complete.

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 coverage is 100%, so the baseline is 3. The description does add the relationship between playlist_id and playlist_title and the privacy outcome of playlist creation, but it repeats what the schema properties already say about the title being found or created.

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 states a specific verb and resource (add a video to a playlist) and clarifies the two targeting modes, playlist_id versus playlist_title. That is enough to distinguish it from update_youtube_playlist, though the differentiation comes mostly from the name rather than the prose.

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?

It implies you choose either playlist_id or playlist_title and that a title creates a playlist when missing, which is real usage guidance for parameter selection. It never states when not to use this tool, and the duplicate-add case is unaddressed, so the guidance remains implicit.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.