Skip to main content
Glama
Stipe15

spotify-mcp

by Stipe15

remove_playlist_items

Destructive

Remove specific tracks or episodes from a Spotify playlist by URI. Requires the playlist's current snapshot ID to confirm the exact playlist state before deleting only approved items.

Instructions

DESTRUCTIVE. Remove specific items from a playlist by URI. Disabled by default — set SPOTIFY_MCP_ALLOW_REMOVALS=true to enable. Requires a snapshot_id you fetched yourself (e.g. via get_playlist) immediately beforehand, so a removal only ever applies to the playlist state you actually looked at. Never call this from a broad instruction like 'clean up my library' — only on an explicit, specific removal request the user approved for these exact items.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urisYes
playlist_idYes
snapshot_idYes
confirm_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
resultNo
statusYes
previewNo
next_stepNo
expires_atNo
confirm_tokenNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the destructiveHint annotation, the description warns 'DESTRUCTIVE', explains that the tool is disabled by default, and describes the safety mechanism tied to snapshot_id. This gives the agent meaningful context about the destructive and state-mutating nature of the operation.

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?

Every sentence earns its place: destructive warning, enablement condition, snapshot safety prerequisite, and anti-pattern. The most important safety signal is front-loaded befor the technical detail.

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?

This is a destructive, disabled-by-default operation with an output schema present. The description sufficiently covers safety, opt-in, prerequisite state, and call restrictions. The optional confirm_token is the only unaddressed param, and it is secondary to correct invocation.

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?

With 0% schema description coverage, the description compensates by explaining the snapshot_id semantics clearly and by saying items are removed 'by URI', which maps to the uris parameter. Playlist_id is self-evident, but confirm_token is never mentioned, leaving a small gap.

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 opens with a specific verb and resource: 'Remove specific items from a playlist by URI.' This clearly distinguishes the tool from siblings such as add_playlist_items, replace_playlist_items, and reorder_playlist_items. There is no ambiguity about what action the tool performs.

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

Usage Guidelines5/5

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

It gives explicit when-to-use and when-not-to-use guidance: only for a specific, user-approved removal request, never from a broad instruction. It also states the prerequisite of fetching a fresh snapshot_id via get_playlist immediately beforehand and mentions the opt-in environment variable needed to enable the tool.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Stipe15/spotify-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server