Skip to main content
Glama

Update a playlist

update_playlist
Idempotent

Change a Deezer playlist's title, description, privacy setting, or collaborative flag by supplying its numeric playlist ID.

Instructions

Rename a playlist or change its description, privacy or collaborative flag.

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
titleNo
privateNo
descriptionNo
playlist_idYesDeezer numeric id, not a URL.
collaborativeNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv2.0.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / collaborative
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / description / maxLength
      Added value: +2000
    • addedInput schema / properties / playlist_id / description
      Added value: +"Deezer numeric id, not a URL."
    • addedInput schema / properties / playlist_id / pattern
      Added value: +"^[0-9]+$"
    • addedInput schema / properties / private
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / title / maxLength
      Added value: +200
    • addedInput schema / properties / title / minLength
      Added value: +1
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true and destructiveHint=false, so the safety profile is largely covered and the description is consistent with it. What the description does not add is the mutation semantics that matter here: whether omitted fields are left unchanged (partial update), whether it overwrites the whole resource, or 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?

A single front-loaded sentence naming the resource first and then the changeable fields, with no filler or restatement of the title.

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?

With five parameters, 20% schema coverage and only one documented parameter, the description has to carry more weight; it identifies all mutable fields but omits partial-update behaviour and edit permissions. Return values are not needed since an output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 20% (only playlist_id is annotated), so the description must compensate, and it does map names to parameters: 'rename'→title, 'description'→description, 'privacy'→private, 'collaborative flag'→collaborative. It falls short of saying the four fields are optional and independently settable, or noting the length limits, so it adds real but incomplete meaning.

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 ('Rename a playlist') and enumerates the mutable attributes: description, privacy, collaborative flag. That clearly separates it from create_playlist, delete_playlist and edit_playlist_tracks (which handles tracks), though it never explicitly says tracks are untouched.

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 implied by the field list — you use this to change playlist metadata — but there is no explicit when-to-use/when-not guidance and no mention of the obvious near-neighbour edit_playlist_tracks or of prerequisites (ownership/permission to edit a playlist).

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