Skip to main content
Glama
abenke

Spotify MCP

by abenke

get_playlist

Retrieve details and tracks of a Spotify playlist using its ID, URI, or URL. Optionally limit the number of tracks returned.

Instructions

Get a playlist's details and its tracks.

Args: playlist_id: A Spotify playlist ID, spotify:playlist:... URI, or open.spotify.com playlist URL. tracks_limit: Max number of tracks to include (default 100). If the playlist has more, tracks_truncated will be true.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlist_idYes
tracks_limitNo
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It explains the output includes details and tracks with potential truncation (tracks_truncated flag), and documents acceptable playlist_id formats. It does not cover authentication or rate limits, but the core behavior is transparent.

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 extremely concise with two short paragraphs. The first sentence states the purpose, followed by parameter details. Every sentence adds value; no fluff.

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 no output schema, the description outlines the output (details and tracks) and mentions the truncation behavior. However, 'details' is somewhat vague and could be more specific (e.g., includes name, owner, etc.). Overall, it covers the essential context for a get playlist tool.

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

Parameters5/5

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

The description adds significant meaning beyond the input schema, which has 0% coverage. It explains playlist_id can be a Spotify ID, URI, or URL, and tracks_limit max with default 100 and that exceeding it sets tracks_truncated to true. This fully clarifies both parameters.

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 retrieves a playlist's details and its tracks, using specific verbs and resource. It distinguishes itself from siblings like list_my_playlists (listing all playlists) and get_track (single track) by focusing on one playlist.

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 description implies usage when a user has a playlist ID and wants its details and tracks, but it does not explicitly mention when to use this tool over alternatives (e.g., list_my_playlists for all playlists, get_track for a single track). No exclusions or when-not-to-use guidance.

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

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