Skip to main content
Glama

Update a playlist

update_playlist
DestructiveIdempotent

Change the title, description (null clears it) or visibility of a playlist, or make it a row of the author's site (site_section, site_order). Send only what changes.

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
is_publicNofalse: only the owner sees the playlist
site_orderNoRow position on the site, smallest first; null for none
descriptionNonull clears it
playlist_idYesPlaylist id
site_sectionNoOwn row (section) on the author's site; a row is public. false removes the row.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, so the bar is lower, and the description still adds genuine semantics: omissions leave fields untouched, null explicitly clears description, and setting a site row implies public exposure. It stops short of warning that overwritten values are not recoverable or noting any permission requirement.

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?

One tight sentence, front-loaded with the mutation scope, and the closing 'Send only what changes' correctly appears last as an operating instruction. No filler.

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?

For a 6-parameter mutation tool with a fully documented schema and annotations that carry the safety profile, the description covers what can be changed and how partial updates behave. It leaves out error/failure behavior and preconditions such as ownership, which are the only notable gaps.

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 the baseline is 3. The description does add one useful signal beyond the schema by pairing site_section with site_order as a single 'make it a row' concept, but the rest ('null clears it') restates schema text rather than extending it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb ('change') and resource ('playlist') and enumerates the mutable facets (title, description, visibility, site row), which cleanly separates it from sibling update_room/update_stream/update_video by resource alone.

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?

'Send only what changes' gives a partial-update convention, which is real guidance, but there is no explicit when-to-use framing: nothing says to use create_playlist for new playlists, get_playlist to read current values before editing, or delete_playlist to remove one.

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.