Skip to main content
Glama
khglynn

io.github.khglynn/spotify-bulk-actions-mcp

remove_duplicate_tracks

Remove duplicate tracks from a Spotify playlist, keeping the first occurrence. Returns a preview for safety; set confirm=True to execute removal.

Instructions

Remove duplicate tracks from a playlist, keeping the first occurrence.

For safety, returns a preview unless confirm=True.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlist_idYesPlaylist ID
confirmNoSet to True to actually remove duplicates

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations were provided, so the description must disclose behavioral traits. It reveals the safety preview behavior and that confirm=True triggers actual removal. It could mention permissions or irreversibility, but the key safety mechanism is well explained.

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?

The description is extremely concise: two sentences that convey the core functionality and safety behavior. Every word is necessary, with no filler or redundancy.

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?

Given the tool's simplicity (2 parameters, straightforward action) and the presence of an output schema, the description adequately covers the essential information. It could be slightly more thorough about edge cases, but it is sufficient for an agent to select and invoke the tool correctly.

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?

The input schema already provides parameter descriptions (playlist_id: 'Playlist ID', confirm: 'Set to True to actually remove duplicates'). The description adds value by noting that duplicates are removed keeping the first occurrence and that a preview is returned unless confirm=True, which clarifies the parameter's effect.

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 clearly states the tool removes duplicate tracks from a playlist while keeping the first occurrence, which is a specific verb+resource. It distinguishes itself from siblings like 'find_duplicate_tracks' (which likely only finds duplicates) and 'remove_tracks_from_playlist' (which removes specific tracks).

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?

The description explains that a preview is returned by default and that setting confirm=True actually removes duplicates, guiding when to use the confirm parameter. It does not explicitly mention when not to use this tool, but the context 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/khglynn/spotify-bulk-actions-mcp'

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