Skip to main content
Glama
abenke

Spotify MCP

by abenke

add_tracks_to_playlist

Add one or more tracks to a Spotify playlist by providing the playlist ID and track URIs. Optionally specify an insertion position.

Instructions

Add one or more songs to an existing playlist.

Args: playlist_id: A Spotify playlist ID, URI, or URL. track_uris: List of track IDs, spotify:track:... URIs, or track URLs. position: Optional zero-based index to insert at (defaults to the end).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
positionNo
track_urisYes
playlist_idYes
Behavior3/5

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

No annotations are provided, so the description must disclose behavior. It states it adds tracks (mutation), mentions accepted input formats, and default behavior for position. It does not cover auth requirements, rate limits, error handling, or max tracks, which would improve 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 extremely concise: one sentence for purpose, then a bullet-style list for args. No extraneous words, and all information is front-loaded.

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?

For a tool with 3 params, no annotations, and no output schema, the description covers purpose and parameter details well. It omits return value and error scenarios, but the core functionality is clear. A minor gap prevents a perfect score.

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?

Schema description coverage is 0%, so the description fully compensates. It explains each parameter: playlist_id accepts ID, URI, or URL; track_uris are list of IDs/URIs/URLs; position is optional zero-based index defaulting to end. This adds critical meaning beyond the schema's type-only info.

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 action: 'Add one or more songs to an existing playlist.' It uses a specific verb and resource, distinguishing it from sibling tools like create_playlist (create new) or get_playlist (retrieve).

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 explains how to use the tool: required arguments and optional position. However, it lacks explicit guidance on when not to use it or alternatives, such as noting that the playlist must already exist (as opposed to creating one).

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