Skip to main content
Glama
sjtan2302

spotify-mcp

by sjtan2302

Analyze a playlist

analyze_playlist

Break down any Spotify playlist by dominant artists, concentration, release decades, and total runtime. Supply a playlist name or ID for instant analysis.

Instructions

Full breakdown of one playlist: dominant artists, how concentrated it is, release decades and total runtime. Accepts a playlist name (matched against the user's own playlists) or a Spotify playlist ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlistYesPlaylist name or Spotify playlist ID.
max_tracksNo

Schema Changelog

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

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations present, the description carries the disclosure burden. It conveys a read-only analysis operation through the term 'breakdown' and describes the outputs (dominant artists, concentration, release decades, total runtime). It does not clarify behavior for missing playlists, whether arbitrary Spotify IDs are accepted, or whether max_tracks silently limits the analysis, leaving partial transparency.

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 only two sentences, front-loaded with the tool's purpose and output components, followed by input format guidance. Every clause contributes useful information, with no repetition of schema details or filler.

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

Completeness3/5

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

For a two-parameter tool with no output schema, the description covers the main query and gives a sense of the return values. However, the meaning and effect of max_tracks are missing, and the phrase 'Full breakdown' is potentially contradicted by the max_tracks default of 300 if a playlist is larger. This is a notable gap in completeness.

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 coverage is 50%, so the description must compensate for undocumented parameters. It does add meaning to 'playlist' by noting that names are matched against the user's own playlists, but it completely omits max_tracks, which also lacks a description in the schema. The agent cannot infer what max_tracks controls from the description alone.

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 names a specific verb ('breakdown') and a clear resource ('one playlist'), and enumerates concrete analysis dimensions: dominant artists, concentration, release decades, total runtime. This specificity distinguishes it from sibling tools like my_playlists (which lists playlists) and artist_profile (which focuses on a single artist).

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?

Usage is implied through the analysis-oriented wording, and input semantics ('playlist name matched against the user's own playlists or a Spotify playlist ID') provide practical context. However, the description does not explicitly state when to choose this tool over alternatives or mention any exclusions, such as preferring search_catalog for finding or my_playlists for listing.

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

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