Skip to main content
Glama

Spotify MCP Server

by marcelmarais

getPlaylistTracks

Retrieve tracks from a Spotify playlist by specifying the playlist ID, with options to limit results and paginate through tracks for efficient data access.

Instructions

Get a list of tracks in a Spotify playlist

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of tracks to return (1-50)
offsetNoOffset for pagination (0-based index)
playlistIdYesThe Spotify ID of the playlist

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "limit": { "description": "Maximum number of tracks to return (1-50)", "maximum": 50, "minimum": 1, "type": "number" }, "offset": { "description": "Offset for pagination (0-based index)", "minimum": 0, "type": "number" }, "playlistId": { "description": "The Spotify ID of the playlist", "type": "string" } }, "required": [ "playlistId" ], "type": "object" }

Other Tools from Spotify MCP Server

Related Tools

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/marcelmarais/spotify-mcp-server'

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