Skip to main content
Glama

Spotify MCP Server

by latiftplgu

get_liked_tracks

Retrieve and manage saved tracks from a Spotify library to create playlists, analyze music preferences, build recommendations, or export your favorite music collection.

Instructions

Access the user's personal collection of liked/saved tracks from their Spotify library.

🎯 USE CASES: • Display user's favorite music collection in applications • Create personalized playlists from liked songs • Analyze personal music taste and preferences • Build recommendation systems based on user favorites • Export personal music library for backup or migration

📝 WHAT IT RETURNS: • Complete collection of user's liked/saved tracks • Track information with save dates and timestamps • Artist, album, and release information for each track • Chronological order of when tracks were liked • Total count of saved tracks in library

🔍 EXAMPLES: • "Show me my liked songs collection" • "Get my 50 most recently liked tracks" • "What songs have I saved to my library?" • "Export my favorite tracks with save dates"

💖 PERSONAL COLLECTION: • Reflects user's musical taste and preferences • Shows evolution of music taste over time • Perfect for building "greatest hits" playlists • Useful for music discovery based on preferences • Great for sharing favorite music with friends

💡 COLLECTION INSIGHTS: • Track when musical tastes changed or evolved • Identify patterns in saved music genres • Use for personalized recommendation systems • Perfect for "throwback" and nostalgia playlists • Analyze your music journey over time

⚠️ REQUIREMENTS: • Valid Spotify access token with user-library-read scope • User must have saved tracks in their library

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
tokenYesSpotify access token for authentication

Input Schema (JSON Schema)

{ "properties": { "limit": { "default": 20, "description": "", "maximum": 50, "minimum": 1, "type": "number" }, "offset": { "default": 0, "description": "", "minimum": 0, "type": "number" }, "token": { "description": "Spotify access token for authentication", "type": "string" } }, "required": [ "token" ], "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