dedupe_playlist_plan
Scan a Spotify playlist to find duplicate tracks, group them by URI, and generate a keep-first or keep-last removal plan before applying changes.
Instructions
Census every duplicate uri in a playlist — groups, all positions, and the exact keep-first/keep-last removal plan — read-only (commit with dedupe_playlist_apply). Quota: 🟢 1–2 GETs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| playlist_id | Yes | Playlist to scan (ID or spotify:playlist: URI) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |