Skip to main content
Glama

Delete a playlist

delete_playlist
Destructive

Permanently removes a Deezer playlist by its numeric ID; requires confirm=true so the irreversible deletion occurs only after user approval.

Instructions

Permanently delete a playlist. Irreversible: requires confirm: true, after the user agreed.

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

Input Schema

NameRequiredDescriptionDefault
confirmYesMust be true (agent safety).
playlist_idYesDeezer numeric id, not a URL.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv2.0.0
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / confirm
      Added value: +{
      +  "description": "Must be true (agent safety).",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / playlist_id / description
      Added value: +"Deezer numeric id, not a URL."
    • addedInput schema / properties / playlist_id / pattern
      Added value: +"^[0-9]+$"
    • changedInput schema / required
      Previous value: -[
      -  "playlist_id"
      -]New value: +[
      +  "playlist_id",
      +  "confirm"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "type": "object"
      +}
  2. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description reinforces this with "Permanently" and "Irreversible," plus a confirmation workflow the annotations do not express. It does not cover whether removing a playlist affects favorited tracks or whether any permission/ownership check applies, which keeps it short of a 5.

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?

Two short sentences, front-loaded with the effect and then the safety condition. Every phrase carries information and there is no boilerplate.

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 two-parameter destructive tool with full annotation coverage and an output schema, the definition supplies the essentials: permanence, irreversibility, and the confirm gate. It could still say what makes the call fail or what ownership rights are needed, but nothing critical to correct invocation is 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 100%, so both parameters are already documented, including confirm's boolean constraint and playlist_id's numeric-id pattern. The description only adds the timing nuance that confirm should follow user agreement; the numeric-id-vs-URL distinction is left entirely to the schema.

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?

The description states a specific verb and resource ("Permanently delete a playlist") with a scope qualifier that unambiguously separates it from create_playlist, update_playlist, and edit_playlist_tracks. An agent needs nothing further to know this is the removal operation.

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?

It gives a precondition ("after the user agreed") that governs when the call is legitimate, which is genuinely useful. However, it never contrasts this with siblings or explains when a playlist should be deleted at all, so the guidance is a gate rather than a when-to-use routing rule.

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