Skip to main content
Glama
seenws

spotify-mcp

by seenws

Add tracks to a playlist

add_tracks

Append or insert multiple Spotify tracks into a playlist using URIs from search. Handles batching automatically to add all tracks in one request.

Instructions

Append tracks to a playlist (or insert at a position). Pass as many URIs as you like — they are batched automatically. Get URIs from search_tracks; do not invent them.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urisYesSpotify track URIs, e.g. spotify:track:4cOdK2wGLETKBW3PvgPWqT
positionNo0-based insert position. Omit to append to the end.
playlist_idYesPlaylist ID (the part after /playlist/ in a Spotify URL)
Behavior3/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It does reveal non-obvious behavior: many URIs are accepted and 'batched automatically,' and omitting position appends to the end. However, it does not mention permissions, duplicate handling, or response/error behavior.

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?

Three short sentences, front-loaded with the core purpose and no filler. Each sentence adds distinct information: action, batching, and input provenance.

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 3-parameter tool with no output schema, the description covers the main invocation concerns: required IDs, URI sourcing, and position semantics. It is slightly incomplete regarding post-conditions and error behavior, but the core call is fully specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema already documents all three parameters with 100% coverage, so the baseline is 3. The description adds value by specifying URI provenance (search_tracks), automatic batching, and the append-vs-position distinction, pushing it above baseline.

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 opens with a specific verb and resource: 'Append tracks to a playlist (or insert at a position).' This clearly states the action and distinguishes it from siblings like remove_tracks. The title and description align.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It provides practical usage guidance by instructing the agent to 'Get URIs from search_tracks; do not invent them.' The append/insert semantics make the intended use case clear, though it does not explicitly state when to prefer this over alternatives.

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

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