Skip to main content
Glama

Update Playlist

update_playlist
DestructiveIdempotent

Update specific fields of a YouTube playlist—title, description, privacy, language, podcast status, or channel—without changing omitted values.

Instructions

Change one of your playlists. Only the fields you pass change.

Quota: 51 units.

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

Input Schema

NameRequiredDescriptionDefault
titleNoNew title.
podcastNoWhether the playlist is a podcast. Needs a playlist image first. The result reports podcast status; YouTube leaves it out when playlists are listed or fetched.
privacyNoNew privacy status.
languageNoLanguage of the title and description, e.g. en-US.
playlistYesPlaylist ID or URL.
my_channelNoWhich of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel.
descriptionNoNew description.

Output Schema

NameRequiredDescriptionDefault
idYes
urlYes
titleYes
privacyNo
languageNoLanguage of the title and description, e.g. en-US.
channel_idNo
item_countNo
descriptionNo
published_atNo
podcast_statusNoenabled, disabled, or unspecified. Missing when playlists are listed or fetched.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.8.0
    • addedInput schema / properties / podcast
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Whether the playlist is a podcast. Needs a playlist image first. The result reports podcast status;\nYouTube leaves it out when playlists are listed or fetched."
      +}
    • addedOutput schema / properties / podcast_status
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "enabled, disabled, or unspecified. Missing when playlists are listed or fetched."
      +}
  2. First observedv0.1.0

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is partly covered. The description adds two pieces of real value beyond that: partial-update semantics (untouched fields are preserved) and the explicit quota cost of 51 units, which matters for a rate-limited API. It does not explain what the destructive flag means in practice for this 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?

Three short sentences, zero filler, with the core action front-loaded and quota as a trailing aside. It is arguably under-written for a 7-parameter mutation, but nothing present 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?

An output schema exists, so return values need not be described, and the schema documents all parameters. Still, for a tool flagged destructive, the description should say what can be lost or which fields carry risk; it also gives no hint that my_channel selects among logged-in channels.

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 description coverage is 100%, so every field including playlist, my_channel and podcast already carries its own documentation and the baseline of 3 applies. The description adds no parameter-level meaning of its own, such as whether title changes affect URLs or how null differs from omitting a field.

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?

"Change one of your playlists" names a specific verb and resource, and the patch clause ("Only the fields you pass change") separates it from create_playlist/delete_playlist by implication. It stops short of explicitly naming a sibling, so an agent must infer the boundary with set_playlist_thumbnail or add_video_to_playlist.

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 or when-not guidance, no prerequisite (e.g. ownership of the playlist, channel selection via my_channel), and no named alternative for related operations. The patch sentence describes how the call behaves rather than when to choose it.

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