Model Context Protocol server for Spotify using Claude Desktop
Spotify MCP shows solid naming conventions and reasonable schema structure, but suffers from several critical gaps that prevent a higher score. All 15 tools have explicit names starting with action verbs (get_, search_, create_, etc.), which is excellent for LLM disambiguation. Descriptions exist for all tools and parameters, though many are terse (under 50 chars). Schema definitions use Zod with proper type constraints and enums, which is appropriate for the mcp-sdk. However, output schemas are completely undocumented, the code shows input validation but no mention of what these tools return. No error handling guidance is present (what happens when a track isn't found? What should the agent do next?). No tool annotations (readOnlyHint, destructiveHint) are visible in the source. The composition is reasonable, each tool does one thing, but critical chaining data is missing (e.g., does search_track return IDs that play_track expects?). Security handling of Spotify tokens appears reasonable (stored server-side in TOKEN_PATH), but no audit logging is evident.
Add tracks to a playlist
Create a new playlist
Delete a playlist
Get the cover image of a playlist
Get tracks from a specific playlist
Get the user's recently played tracks
Get track recommendations based on seed tracks, artists, or genres
Get the user's top tracks
Output schemas completely undocumented. Code shows input validation via Zod but no documentation of what fields tools return. LLMs cannot plan downstream calls or extract data without knowing response structure.
No error handling guidance provided. Tools do not document what happens on failure (track not found, playlist does not exist, auth fails). LLMs receive raw errors with no recovery path.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 52 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 32 | - | v1 |
Get the user's playlists
Start playback of a specific track
Remove tracks from a playlist
Reorder tracks within a playlist
Search for tracks, albums, artists, or playlists on Spotify
Update playlist metadata such as name, description, and visibility
Upload a new cover image for a playlist
Tool annotations missing. Destructive operations (delete_playlist, remove_tracks_from_playlist) and write operations (create_playlist, add_tracks_to_playlist) lack destructiveHint or readOnlyHint annotations. LLMs cannot assess operation risk.
Tool chaining data unclear. For example, search() likely returns track IDs, but documentation does not confirm that these IDs match the 'trackId' parameter expected by play_track(). Response field naming mismatches force LLMs to guess at data mapping.
Many parameter descriptions are terse (under 50 chars). Examples: 'Start playback of a specific track' for play_track (no mention of side effects), 'Delete a playlist' for delete_playlist (no warning of irreversibility). Descriptions lack context for LLM selection and behavior understanding.
No audit logging visible. Destructive operations (delete_playlist) and state modifications (create_playlist, upload_playlist_cover) leave no trace of who called what, when, or with which parameters. Compliance and incident response are impossible.
Pagination implemented for some GET tools (limit/offset on get_top_tracks, get_user_playlists, get_playlist_tracks) but no total count or next_cursor returned. LLMs cannot determine if more results exist or efficiently continue iteration.