Skip to main content
Glama

Get Spotify Playlist

spotify_playlist
Read-onlyIdempotent

Fetch Spotify playlist metadata by ID, providing details like name, owner, and track count.

Instructions

Return metadata for an exact Spotify playlist ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlist_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
urlYes
nameYes
ownerYes
publicNo
item_countNo
descriptionYes
snapshot_idNo
spotify_urlNo
collaborativeNo
Install Server

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, idempotentHint=true, and openWorldHint=true, covering the safety profile. The description adds the constraint that the ID must be 'exact', which is useful, but does not disclose additional behavioral traits such as error handling or pagination. With annotations doing the heavy lifting, this is adequate but not rich.

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 a single sentence that directly state the action and required input. There is no filler or redundant information, making it highly efficient and well-structured.

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 the tool's simplicity (one parameter, no nested objects, strong annotations, and an output schema), the description covers the essential purpose and input requirement adequately. It could mention what happens when an invalid ID is provided or how it differs from list tools, but those are not critical for invocation. The description is slightly terse but sufficient for the context.

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 coverage is 0%, so the description carries the burden of explaining the parameter. It does specify that the playlist_id must be an exact Spotify playlist ID, which adds meaning beyond the schema's 'Playlist Id' string type. However, it lacks format details (e.g., URI vs alphanumeric ID) and does not fully compensate for the missing schema descriptions, so a midpoint score is appropriate.

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 returns metadata for a specific playlist ID, using a specific verb ('Return') and resource ('Spotify playlist'). The phrase 'exact Spotify playlist ID' distinguishes it from sibling tools like spotify_playlists (which lists playlists) and spotify_playlist_items (which gets items in a 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?

No explicit guidance on when to use this tool versus alternatives is provided. The phrase 'exact Spotify playlist ID' implies the user must already have a concrete ID rather than searching by name, but it does not name alternative tools or state when not to use this tool. This is implied usage, not explicit guidance.

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

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

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