Skip to main content
Glama

Add Spotify Playlist Items

spotify_playlist_add

Add tracks or episodes to a Spotify playlist using their IDs or URIs. The returned snapshot confirms the addition, so you can avoid blind retries.

Instructions

Add exact Spotify track IDs or track/episode URIs. A returned snapshot proves acceptance; a missing snapshot is reported as ambiguous and must not be retried blindly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
positionNo
playlist_idYes
item_ids_or_urisYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
positionNo
operationYes
item_countYes
playlist_idYes
range_startNo
snapshot_idNo
spotify_urlNo
insert_beforeNo
Install Server

TDQS

A3.9/5.0
Behavior4/5

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

The description adds a critical behavioral warning about snapshot verification and the danger of blind retries on ambiguous results, which goes beyond the idempotentHint=false annotation. It also clarifies the accepted input format ('exact' IDs/URIs), adding useful context.

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 two sentences long, front-loaded with the purpose and followed by a key behavioral note. Every word earns its place, with no redundant or generic phrasing.

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?

The description covers the primary action and the important retry ambiguity, but it lacks guidance on prerequisites like playlist ownership and does not place the tool in context relative to siblings. The presence of an output schema reduces the need for return details, but parameter constraints could be more explicit.

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?

With 0% schema coverage, the description partially compensates by explaining that item_ids_or_uris accepts track IDs or track/episode URIs. However, it does not explain the optional 'position' parameter or constraints like max items, leaving gaps.

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 adds exact Spotify track IDs or track/episode URIs, which is a specific verb+resource combination. It distinguishes from sibling playlist operations like create, update, remove, and reorder by explicitly saying 'add'.

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 for adding items to a playlist but does not explicitly state when to use this tool over alternatives like spotify_add_to_queue or library_save. No exclusions or alternative recommendations are provided, so guidance is only implied.

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