Skip to main content
Glama

TrueScrape

spotify: Playlist contents

spotify_playlist
Read-only

Playlist contents. Public Spotify playlist: name, owner, description, cover art, total track count and its tracks, 50 per cursor page, up to the first 100. On a longer playlist the last page reports hasMore true with a null cursor: the remaining tracks exist but are not served. Costs 1 credit. Pass exactly one of id or url.

Input Schema

NameRequiredDescriptionDefault
idNoSpotify playlist id, spotify:playlist: URI, or open.spotify.com playlist URL
urlNoopen.spotify.com playlist URL
cursorNoOffset into the track list. Pass back `pagination.cursor`
cache_max_ageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations by disclosing the truncation behavior that actually matters: 50 tracks per cursor page, a hard cap at the first 100, and the pathological case where the last page sets hasMore=true with a null cursor so the remaining tracks simply cannot be served. It also states the credit cost, which no annotation conveys.

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?

Front-loads the resource in two words, then packs the returned fields, page size, cap, truncation edge case, cost, and input exclusivity into four tight sentences. No filler and nothing repeated from the title.

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

Completeness5/5

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

With no output schema, the description carries the full burden of describing returns and does so explicitly, including the ambiguous hasMore/null-cursor end state that would otherwise cause an agent to loop forever. Combined with the credit cost and the id/url rule, an agent has everything needed to call this correctly and interpret the response.

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

Parameters4/5

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

Schema coverage is 75%, and the description adds real value on top: id and url are mutually exclusive ('exactly one of'), which the schema never says, and `cursor` is tied to the hasMore/null-cursor failure mode so an agent knows when pagination is exhausted. The only gap is cache_max_age, which is undocumented in both the schema and the description.

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?

States the specific resource and scope (a public Spotify playlist) and enumerates exactly what it returns: name, owner, description, cover art, track count and tracks. It does not name or contrast with its nearest siblings (spotify_album, spotify_search, deezer_playlist), so it stops short of a 5.

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

Usage Guidelines3/5

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

The one explicit routing rule ('Pass exactly one of `id` or `url`') is a parameter-selection guideline rather than when-to-use guidance. There is no statement about when to pick this over spotify_search, spotify_track, or the equivalent deezer/youtube playlist tools; usage is only implied by the resource name.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.