sample_playlist_tracks
Get a random sample of tracks from a playlist. Provide a seed to reproduce the same selection, or omit for a fresh draw each time.
Instructions
Draw a uniform random sample of N tracks from a playlist — deterministic when a seed is given (same seed + same playlist = same sample), read-only. Quota: 🟢 1–2 GETs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Seed for reproducible sampling. Omit for a fresh random draw | |
| count | No | Sample size (1–200). Default 10 | |
| max_results | No | Max items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50) | |
| playlist_id | Yes | Playlist to sample (ID or spotify:playlist: URI) | |
| response_format | No | 'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API object | concise |