Skip to main content
Glama
Stipe15

spotify-mcp

by Stipe15

get_playlist_items

Read-only

Fetch tracks and episodes from a playlist you own or collaborate on, with pagination via limit and offset. Avoids Spotify’s 403 error by targeting only playlists where you have access.

Instructions

Tracks (and episodes) in a playlist, paginated. IMPORTANT: only works for playlists the user owns or collaborates on — Spotify returns 403 for any other playlist, including every Spotify-editorial playlist. There is no way around this restriction. Each item's item field holds the track/episode object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
playlist_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hrefNo
nextNo
itemsNo
limitNo
totalNo
offsetNo
previousNo

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already mark this as read-only and non-destructive, so the safety profile is covered. The description adds valuable behavioral context beyond those annotations: the 403 failure mode, the ownership/collaboration restriction, and the fact that the item field contains the track/episode object. No contradiction with annotations exists.

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?

The description is compact and front-loaded, opening with the core purpose and following with the critical restriction. Each sentence earns its place; the 'no way around this restriction' clause is somewhat emphatic but not wasteful.

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?

Given that an output schema exists, the description does not need to detail the return shape. It covers the essential invocation context: playlist items, pagination, and the auth-based 403 failure. The main gaps are explicit alternatives and deeper parameter semantics, but those are partially mitigated by the small, self-explanatory parameter set.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, but it only hints at pagination without explaining playlist_id, limit, or offset. An agent can infer that limit/offset relate to pagination, but the description does not clarify how these parameters behave, what defaults matter, or what forms playlist_id should take.

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

Purpose4/5

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

The description clearly identifies the resource as tracks and episodes within a playlist and notes pagination, so an agent knows what the tool returns. It does not explicitly distinguish itself from sibling tools like get_playlist or get_saved_tracks, though the playlist-items scope is reasonably clear from the name and phrasing.

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?

It gives strong contextual guidance: only owned or collaborative playlists are supported, and Spotify returns 403 for others. This effectively tells the agent when not to call the tool, but it does not name alternative tools to use for playlist metadata or other playlist-related lookups.

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

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

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