get_playlist
Retrieve a Spotify playlist's metadata, cover image, and items, with optional market relinking, unavailable-track flags, pagination, and field filtering.
Instructions
Get a playlist's metadata (including cover image) and items. Use market to relink tracks and flag unavailable ones, and fields/additional_types to trim the payload — both are forwarded to the metadata read and the item pages.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Alias for playlist_id, resolved the same way | |
| limit | No | Items per page, 1–100. Default: 50 | |
| fields | No | Comma-separated list of response fields to keep, e.g. 'total,items(track(name,uri))' | |
| market | No | ISO 3166-1 alpha-2 country code, e.g. 'GB'; relinks tracks to that market and flags unavailable ones | |
| offset | No | Pagination offset for items. Default: 0 | |
| fetch_all | No | Fetch all items across pages (up to 500), continuing FROM offset. limit is the page size. Note: library tools' fetch_all ignores offset — contracts differ between modules (#110). | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| playlist_id | No | Playlist ID, spotify:playlist: URI, or open.spotify.com/playlist URL | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |
| additional_types | No | Item types to include beyond the default 'track', e.g. ['track', 'episode'] |