Skip to main content
Glama

Beats

Delete a playlist

delete_playlist
DestructiveIdempotent

Delete one of the listener's own playlists for good. Use it only when that is clearly wanted; the demo playlists are read-only and no track is deleted. Returns ok, or ok false with the reason.

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

Input Schema

NameRequiredDescriptionDefault
idYesthe playlist to delete

Output Schema

NameRequiredDescriptionDefault
okYes
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds real context on top: permanence ("for good"), ownership restriction, the read-only demo-playlist failure case, and the fact that tracks survive. The only redundancy is the "Returns ok, or ok false with the reason" sentence, which repeats what the output schema already provides.

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, front-loaded with the action and immediately followed by the caution and the boundary condition. The closing return-value sentence is the one line that does not earn its place given the existing output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter destructive tool with rich annotations and an output schema, the description covers everything an agent needs: what is destroyed, what is not, which inputs will fail, and irreversibility. Nothing material 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% with a single required `id` already described as "the playlist to delete", so the schema does the heavy lifting. The description adds scope semantics (must be one of the listener's own playlists), which is valuable, but nothing about identifier format beyond the example.

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?

Specific verb+resource ("Delete one of the listener's own playlists") with the scope narrowed to owned playlists, plus a clear negative boundary ("no track is deleted") that separates it from remove_from_playlist. An agent can distinguish it from every sibling without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

"Use it only when that is clearly wanted" gives a caution condition, and "the demo playlists are read-only" supplies a concrete when-not case. It does not name an explicit alternative for removing tracks from a playlist, so the routing is implied rather than spelled out.

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.

Resources