Skip to main content
Glama

Spotify MCP Server

by latiftplgu

get_playlist_tracks

Retrieve detailed track listings from any Spotify playlist, including song titles, artists, albums, and metadata. Analyze musical patterns, create backups, or build custom playlists with comprehensive track information.

Instructions

Get the complete track listing from any playlist with detailed song information and metadata.

🎯 USE CASES: • Extract songs from playlists for custom music apps • Analyze musical patterns and genre distributions • Create backup copies or derivative playlists • Study playlist curation and track progression • Build recommendation systems based on playlist contents

📝 WHAT IT RETURNS: • Complete ordered track listing from the playlist • Song titles, artists, albums, and release dates • Track durations, popularity scores, and preview URLs • Added date and user who added each track • Explicit content flags and market availability

🔍 EXAMPLES: • "Get all tracks from my 'Road Trip' playlist" • "Show me songs in playlist ID: 1BxfuPKGuaTgP6aM0NMpti" • "List tracks from Spotify's RapCaviar playlist" • "Extract songs from this collaborative party playlist"

🎵 TRACK DETAILS: • Maintains original playlist order and context • Shows track addition history and contributors • Includes full metadata for each song • Perfect for playlist analysis and music research • Great for creating similar or inspired playlists

💡 ANALYSIS OPPORTUNITIES: • Genre distribution and musical diversity • Track popularity trends within playlists • Artist frequency and collaboration patterns • Temporal patterns in track additions

⚠️ REQUIREMENTS: • Valid Spotify access token • Playlist must be accessible to the user • Respect rate limits for large playlists

Input Schema

NameRequiredDescriptionDefault
limitNo
playlistIdYesSpotify playlist ID or URI
tokenYesSpotify access token for authentication

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 50, "description": "", "maximum": 50, "minimum": 1, "type": "number" }, "playlistId": { "description": "Spotify playlist ID or URI", "type": "string" }, "token": { "description": "Spotify access token for authentication", "type": "string" } }, "required": [ "token", "playlistId" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/latiftplgu/Spotify-OAuth-MCP-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server