Skip to main content
Glama
markswendsen-code

@striderlabs/mcp-spotify

add_to_playlist

Add tracks to a Spotify playlist by specifying playlist ID and track URIs. Supports optional insertion position for precise placement.

Instructions

Add one or more tracks to a playlist. Use track URIs from search results (e.g., 'spotify:track:...').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urisYesList of Spotify track URIs to add (e.g., ['spotify:track:4iV5W9uYEdYUVa79Axb7Rh'])
positionNoPosition to insert tracks (0-based). Omit to append at end.
playlistIdYesPlaylist ID from get_playlists or create_playlist
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It only states the mutate action ('Add') and does not mention side effects, ordering behavior beyond the schema, ownership requirements, or response structure. This is a significant transparency gap for a mutation tool.

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 short sentences, front-loaded with the primary verb and resource, and contains zero fluff. Every phrase earns its place, providing the minimum useful guidance without redundancy.

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 relatively simple 3-parameter tool with full schema descriptions, the description is mostly adequate. It covers the action and the source of track URIs. It could have mentioned ownership/auth implications or return values, but the lack of an output schema and the simplicity of the operation keep this from being a critical gap.

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?

Schema description coverage is 100%, so the schema already documents all parameters. The description adds a small amount of value by specifying the URI format ('spotify:track:...') and suggesting they come from search results, but it does not compensate beyond that 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 'Add one or more tracks to a playlist,' a specific verb+resource combination that clearly states the core action. It also distinguishes itself from sibling tools like remove_from_playlist and create_playlist by implying the target is an existing playlist and the action is additive.

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?

The instruction 'Use track URIs from search results' establishes a clear context: this tool is used after searching for tracks, implying you should call search_tracks first. However, it does not explicitly state when not to use this tool or mention alternatives like remove_from_playlist for the opposite operation.

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

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