Skip to main content
Glama

Spotify MCP Server

by latiftplgu

remove_from_playlist

Remove unwanted or outdated tracks from Spotify playlists to maintain organization and relevance. Delete single songs, multiple tracks, or duplicates while preserving playlist structure. Ideal for playlist cleanup, seasonal updates, and collaborative editing.

Instructions

Remove unwanted tracks from any playlist that the user owns or can modify.

🎯 USE CASES: • Clean up playlists by removing outdated or unwanted songs • Maintain playlist quality by pruning poor matches • Remove duplicates and fix playlist organization • Update seasonal playlists by removing irrelevant tracks • Collaborate on playlist refinement with shared editing

📝 WHAT IT RETURNS: • Confirmation of successful track removals • Updated playlist length and duration • New snapshot ID reflecting the changes • List of successfully removed tracks • Error details for tracks that couldn't be removed

🔍 EXAMPLES: • "Remove 'Yesterday' from my Modern Hits playlist" • "Delete these 3 songs from my party playlist" • "Remove track spotify:4uLU6hMCjMI75M1A2tKUQC from favorites" • "Clean up duplicate songs from my road trip playlist"

🧹 CLEANING FEATURES: • Remove single tracks or multiple tracks at once • Maintains playlist integrity after removals • Preserves order of remaining tracks • Perfect for playlist maintenance and curation • Supports bulk removals for efficiency

💡 MAINTENANCE TIPS: • Regular cleanup keeps playlists relevant • Remove songs that no longer fit the theme • Check for duplicates and outdated content • Consider seasonal relevance for themed playlists • Use bulk removals for major playlist overhauls

⚠️ REQUIREMENTS: • Valid Spotify access token with playlist-modify scopes • User must own playlist or have collaborative access • Track URIs must match exactly for successful removal

Input Schema

NameRequiredDescriptionDefault
playlistIdYesSpotify playlist ID or URI
tokenYesSpotify access token for authentication
trackUrisYesArray of Spotify track URIs

Input Schema (JSON Schema)

{ "properties": { "playlistId": { "description": "Spotify playlist ID or URI", "type": "string" }, "token": { "description": "Spotify access token for authentication", "type": "string" }, "trackUris": { "description": "Array of Spotify track URIs", "items": { "description": "", "type": "string" }, "type": "array" } }, "required": [ "token", "playlistId", "trackUris" ], "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