Skip to main content
Glama
YouTubeMCP
by imrees

Update playlist

update_playlist
DestructiveIdempotent

Change a YouTube playlist's title, description, or privacy while keeping other fields. Preview changes and require two-step approval, with explicit confirmation before making it public.

Instructions

Change a playlist's title, description and/or privacy; other fields are preserved. Two-step approval; making it public also needs confirm_public=true and the native dialog. The preview lists unlisted videos in the playlist that would become visible to anyone viewing it.

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>"
    },
    "name": "update_playlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
titleNoNew title.
privacyNo'private', 'unlisted' or 'public'.
descriptionNoNew description (replaces the old one).
playlist_idYesPlaylist ID (or a URL containing list=...).
confirm_publicNoRequired to make it public, only with explicit approval.
confirmation_tokenNoToken from the preview. Only pass it after the user has explicitly approved the preview.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

The annotations already declare destructiveHint=true and openWorldHint=true, yet the description still adds real value: the two-step approval gate, the native-dialog prerequisite for public visibility, the fact that unlisted videos would become visible to anyone viewing the playlist, and that unspecified fields are preserved. The only soft spot is the unexplained reference to "the native dialog."

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 sentences, front-loaded with the core action, then the approval mechanics, then the exposure warning — each sentence carries distinct information with no restatement of the name or title.

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

Completeness4/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 no explanation, and the description covers the mutation scope, prerequisites, and side effects adequately. The remaining gap is that the preview/token source is referenced but not identified, leaving the agent to guess where the first step of the two-step approval happens.

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 all six parameters are already documented in structured form, setting the baseline at 3. The description does add the conditional relationship between privacy=public and confirm_public=true, and the ordering constraint on confirmation_token, but it does not elaborate on value formats or defaults beyond the schema.

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 names a specific verb ("Change") and resource ("a playlist's title, description and/or privacy") and adds the scope boundary "other fields are preserved." That is precise enough to act on without opening the schema, but it never distinguishes this from sibling mutations such as update_metadata or create_playlist.

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?

It gives clear procedural context for the risky path: making a playlist public requires confirm_public=true plus the native dialog, and the confirmation_token should only be passed after explicit user approval. It stops short of naming which tool produces the preview/token, so the agent must infer the entry point to the two-step flow.

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