diff_playlists
Compare two Spotify playlists to identify tracks only in A, only in B, and shared tracks at different positions. Set scan and result caps to manage large playlist diffs.
Instructions
Compare two playlists up to the configured source cap: tracks only in A, only in B (by track ID), and tracks present in both but at different positions. Rendered rows are capped by max_results; truncation metadata reports when source walks hit scan_cap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Source page size, 1–100. Default: 100 | |
| dry_run | No | Preview only: validate inputs and describe exactly what would change without performing it | |
| scan_cap | No | Maximum source rows to scan; bounded by SPOTIFY_MCP_FETCH_ALL_CAP | |
| playlist_a | No | Canonical A playlist; provide with playlist_b | |
| playlist_b | No | Canonical B playlist; provide with playlist_a | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |