Skip to main content
Glama

find_duplicate_tracks_across_playlists

Find tracks that appear in more than one playlist, identifying cross-playlist duplicates for easy cleanup.

Instructions

Find tracks that appear in more than one of the given playlists (cross-playlist dupes). Quota: 🟡 N GETs (one per playlist).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
playlist_idsYesPlaylist IDs to compare (2–20)
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It explicitly discloses a quota behavior: 'Quota: 🟡 N GETs (one per playlist)', which also signals that the tool is read-only. This adds meaningful behavioral context beyond the name and schema, though output shape and error behavior are not mentioned.

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: the first states the core purpose, the second states the quota. No filler, key information is front-loaded, and every word earns its place.

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 simple read-only comparison tool, the description covers the essential purpose and cost model, while the schema handles parameter details and defaults. There is no output schema, and the description does not specify result shape or match criteria, but response_format in the schema mitigates some of that gap.

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 description coverage is 100% — all three parameters are documented with descriptions, defaults, and constraints. The description adds the useful note that GET count equals playlist count, but does not otherwise deepen parameter semantics beyond what the schema already provides.

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 names a precise operation ('Find tracks that appear in more than one of the given playlists') and explicitly identifies the resource as 'cross-playlist dupes'. This clearly distinguishes it from sibling tools like find_duplicates_in_playlist or find_duplicate_playlists.

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 clearly implies the use case: comparing multiple specified playlists to find cross-playlist duplicates. It does not explicitly name alternative tools or state when not to use it, but the 'cross-playlist' qualifier and quota note make the intended context obvious.

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

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