Skip to main content
Glama

Add / remove tracks in a playlist

edit_playlist_tracks
Destructive

Edit Deezer playlists by adding or removing up to 100 tracks per request and reporting which changes were applied or rejected.

Instructions

Add or remove tracks in one of your playlists; batched, and reports what Deezer applied versus rejected.

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

Input Schema

NameRequiredDescriptionDefault
actionNoadd
track_idsYesDeezer track ids, batched internally.
playlist_idYesDeezer numeric id, not a URL.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the mutation risk is covered structurally. The description adds genuine context beyond that: internal batching and a partial-result report of applied versus rejected tracks. It still omits auth requirements and whether rejected tracks are retryable.

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?

A single compact sentence with the operation front-loaded and the batching/partial-report caveat trailing it. No filler, though the semicolon clause is slightly telegraphic.

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 the applied-versus-rejected reporting need not be detailed further, and annotations cover the safety profile. For a three-parameter mutation tool this is close to sufficient, with only permission/ownership context missing.

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 67% and the schema already documents track_ids batching, the numeric-id pattern for playlist_id, and the action enum with a default. The description reinforces batching but adds no new semantics for action or playlist_id beyond what the schema states, so baseline 3 applies.

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 pair (add/remove) and resource (tracks in one of your playlists), which separates it from playlist-level siblings like create_playlist or update_playlist. It stops short of explicitly contrasting with update_playlist, so sibling differentiation is implied rather than stated.

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 'in one of your playlists' and the add/remove framing, but there is no explicit when-to-use versus when-to-use-something-else guidance, no mention of prerequisites (e.g. owning the playlist), and no named alternative for renaming or reordering.

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