Skip to main content
Glama

get_user_playlists_by_id

Retrieve public playlists for any Spotify user by user ID, with pagination and result limits. Use this to fetch another user's public playlist data when you know their Spotify username.

Instructions

List another Spotify user's public playlists (paginated). Removed by Spotify's February 2026 Web API changes — unavailable for newer app registrations. Output is capped by max_results (default: SPOTIFY_MCP_MAX_ITEMS).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo1–50. Default: 20
offsetNoPagination offset. Default: 0
user_idYesSpotify user ID
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
Behavior4/5

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

No annotations are present, so the description carries the behavioral burden. It discloses pagination, cap by max_results, and the deprecation status. It does not describe output format details, but the schema covers response_format and no output schema means the description doesn't need to detail return values.

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?

Three sentences carry a complete signal: what it does, its availability status, and its output cap. No filler, and the critical deprecation warning 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?

Given 5 parameters, 100% schema coverage, and no output schema, the description adequately explains purpose, deprecation, pagination, and cap. It lacks an explicit alternative tool name (e.g., get_user_playlists), but the deprecation note prevents incorrect selection.

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?

Schema description coverage is 100%, so the schema already documents all five parameters fully. The description adds only the deprecation context and the default max_results behavior. Baseline 3 is appropriate because the schema does the heavy lifting and the description provides marginal additional meaning.

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 clearly states the tool lists another user's public playlists with pagination, and prominently notes it was removed by Spotify's February 2026 Web API changes. It uniquely identifies this as a deprecated/unavailable endpoint, which is a specific and actionable statement of what this tool does.

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 explicitly says the tool is unavailable for newer app registrations, which is a critical usage condition. It also mentions pagination and max_results default. It does not explicitly name sibling tools like get_user_playlists as the alternative, but the deprecation note is a clear warning that this should not be used for newer apps.

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

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