Skip to main content
Glama
seenws

spotify-mcp

by seenws

Remove tracks from a playlist

remove_tracks

Remove specified tracks from a Spotify playlist in one batch. Provide playlist ID and track URIs to clean duplicates or unwanted songs.

Instructions

Remove every occurrence of the given tracks from a playlist. Batched automatically. Call get_playlist first to confirm the exact URIs present.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urisYesSpotify track URIs, e.g. spotify:track:4cOdK2wGLETKBW3PvgPWqT
playlist_idYesPlaylist ID (the part after /playlist/ in a Spotify URL)
Behavior3/5

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

With no annotations, the description carries the behavioral burden. It usefully discloses duplicate removal ('every occurrence') and automatic batching, but does not warn about irreversibility, permissions, or behavior for invalid URIs.

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 sentences with no filler: main action first, then batching behavior, then the prerequisite call. Every sentence contributes useful information.

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?

Covers the essential workflow, duplicate handling, and batching for a straightforward two-parameter tool. Lacks explicit destructive-operation warnings, but the core invocation information is present.

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 coverage is 100%, so parameters are already well documented. The description adds value by advising the agent to verify exact URIs via get_playlist, reinforcing correct use of the uris parameter.

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?

Description uses a specific verb and resource: remove tracks from a playlist, and explicitly notes it removes every occurrence. This clearly distinguishes it from add_tracks and other playlist-related siblings.

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?

Gives a concrete precondition: call get_playlist first to confirm exact URIs. It does not explicitly mention when not to use it or name add_tracks as the inverse alternative, but the intended workflow is clear.

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

Install Server

Other Tools

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/seenws/spotify-mcp'

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