Skip to main content
Glama

Spotify MCP Server

by latiftplgu

save_tracks

Save discovered or recommended tracks to your personal Spotify library for permanent access and offline listening. Build curated music collections, update 'Liked Songs,' and store favorite songs efficiently using bulk save options.

Instructions

Add tracks to the user's personal library, creating a permanent collection of favorite music.

🎯 USE CASES: • Save discovered tracks for future listening • Build personal music library from recommendations • Like tracks during music discovery sessions • Create permanent collections of favorite songs • Save music for offline listening and easy access

📝 WHAT IT RETURNS: • Confirmation of successful track saves • Updated library count and collection size • Timestamp information for when tracks were saved • Error details for tracks that couldn't be saved • Success status for bulk save operations

🔍 EXAMPLES: • "Save 'Bohemian Rhapsody' to my library" • "Add these 5 discovered tracks to my liked songs" • "Save track IDs: 4uLU6hMCjMI75M1A2tKUQC, 7qiZfU4dY1lWllzX7mkmht" • "Like all tracks from this great album"

💖 BUILDING YOUR COLLECTION: • Creates permanent access to favorite music • Tracks appear in your "Liked Songs" playlist • Enables offline playback for saved content • Perfect for building personalized music libraries • Essential for music discovery and curation

💡 COLLECTION STRATEGIES: • Save tracks immediately during discovery • Build thematic collections of related music • Use bulk saves for efficiency with multiple tracks • Regular saving helps track music evolution • Create personal "greatest hits" collections

⚠️ REQUIREMENTS: • Valid Spotify access token with user-library-modify scope • Tracks must be available in user's market • Maximum 50 tracks can be saved per request

Input Schema

NameRequiredDescriptionDefault
tokenYesSpotify access token for authentication
trackIdsYesArray of Spotify track IDs to save

Input Schema (JSON Schema)

{ "properties": { "token": { "description": "Spotify access token for authentication", "type": "string" }, "trackIds": { "description": "Array of Spotify track IDs to save", "items": { "description": "", "type": "string" }, "type": "array" } }, "required": [ "token", "trackIds" ], "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