Skip to main content
Glama

batch_add_to_playlist

Add tracks from albums, artists, or playlists to a target playlist in one batch. Optionally deduplicates against existing items and previews changes with dry-run.

Instructions

Add tracks from multiple source URIs (tracks, albums, artists, playlists) to a target playlist in one call. Dedupes within the batch and optionally against the existing playlist. Batches writes in groups of 100. Dry-run previews without writing. Elicitation for 100+ tracks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dedupeNoDeduplicate (within batch and against target). Default: true
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
max_resultsNoMax items to return (default: SPOTIFY_MCP_MAX_ITEMS env or 50)
source_urisYesSource URIs: spotify:track:, spotify:album:, spotify:artist:, spotify:playlist:
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise
target_playlist_idYesTarget playlist ID or spotify:playlist: URI
Behavior3/5

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

The description discloses useful behaviors not in annotations: batching into 100-item writes, dedupe within batch/optionally against playlist, and dry-run that previews without writing. However, with no annotations present, it omits permission/ownership requirements, failure semantics, and a coherent statement of what happens for 100+ tracks, and the ambiguous 'Elicitation' sentence weakens the transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is compact and front-loaded, with the core action in the first sentence and each behavioral note in its own sentence. It loses a point for grammatical issues ('Batches writes') and the unclear standalone phrase 'Elicitation for 100+ tracks.'

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No annotations and no output schema mean the description must supply usage context, return semantics, and side-effect caveats on its own. It supplies batching and dry-run details, but it does not explain what a successful call returns, how errors or duplicate situations are handled beyond the flag, or when to invoke this over the many playlist mutation siblings, so the tool is not fully callable from the description alone.

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 baseline is 3; the description adds a little context by spelling out the accepted source URI categories and the dedupe/dry-run intent. It does not add meaningful detail for target_playlist_id, max_results, or response_format beyond the schema.

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 opening sentence names the verb (add), resource (tracks to a target playlist), and the batch/multi-source scope, which clearly sets it apart from sibling tools like add_to_playlist. It also enumerates acceptable source URI kinds, so an agent can identify what the tool accepts.

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 phrase 'in one call' and source-URI breadth imply a batch-add scenario, but the description never states when to prefer this over add_to_playlist or playlist_add_by_search, nor does it provide exclusions. The final 'Elicitation for 100+ tracks' phrase is too vague to serve as practical guidance.

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

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