Skip to main content
Glama
seenws

spotify-mcp

by seenws

Get playlist contents

get_playlist

Retrieve a playlist's full track listing with URIs and positions before editing, so you can avoid duplicate additions and remove the exact tracks you intend.

Instructions

Full track listing of a playlist, with each track's URI and its 0-based position. Read this before editing so you know what is already there — it prevents duplicate adds and lets you remove exactly the right tracks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlist_idYesPlaylist ID (the part after /playlist/ in a Spotify URL)
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of behavioral disclosure. It clearly states what the operation returns and implies it is a non-mutating read operation through 'Read this before editing'. It does not explicitly say 'this does not modify the playlist' or mention pagination, but that is a minor gap for a simple getter.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences. The first states what the tool returns, and the second explains when and why to use it. Every word contributes, and the most important information is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-parameter read-only tool with no output schema, the description is largely complete: it explains the return contents, the position semantics, and the practical workflow. It could add an explicit read-only statement or note about large playlists, but nothing critical is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The only parameter, playlist_id, is already 100% documented in the schema with a helpful description ('the part after /playlist/ in a Spotify URL'). The tool description adds no additional parameter semantics, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('get') and resource ('playlist contents'), and specifies exactly what is returned: full track listing with URIs and 0-based positions. This clearly distinguishes it from siblings like search_tracks, list_my_playlists, and add_tracks.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context for when to use the tool: 'Read this before editing'. It connects the tool to the add/remove workflow and explains the benefit (preventing duplicate adds, removing the right tracks). It does not explicitly name alternatives or exclusion conditions, but the use case is unambiguous.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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

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