find_duplicate_saved_tracks
Detect duplicate saved Spotify tracks by matching ISRC, album, and duration, optionally flagging near duplicates for review. Cross-reference groups with a playlist and never change your library.
Instructions
Read-only duplicate detection over your saved (liked) tracks. Exact groups require the same non-null ISRC and album id with duration within ±2s, and keep the oldest dated save. On opt-in, near-duplicate groups show same-title/artist tracks whose ISRC, release, or duration differs; these are distinct saved tracks and are review-only with no removals. Undated saves sort after dated saves. Optionally pass a playlist_id to cross-reference which group members also appear in that playlist. Never mutates your library.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_duplicate_saved_tracks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| playlist_id | No | Optional playlist ID to cross-reference: members of each duplicate group that also appear in this playlist are flagged, so cleanup or review decisions can account for where the track is already curated. | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |
| include_near_duplicates | No | Also report same-title/artist groups with a different ISRC, release, or duration. Near duplicates are review-only and never recommend removal. Default false. |