Skip to main content
Glama

batch_add_to_queue

Queue multiple Spotify track or episode URIs at once. Supports up to 200 items, dry-run validation, and returns a summary of queued and failed counts.

Instructions

Add multiple URIs to the playback queue in one shot. POSTs each URI to /me/player/queue and returns a summary of queued/failed counts. Quota: 🟡 N writes (one POST per URI). Also covers: single add via add_to_queue, playlist queue via queue_playlist — See also: add_to_queue, queue_playlist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urisYesSpotify track/episode URIs to queue (1–200)
dry_runNoPreview only: validate inputs and describe exactly what would change without performing it
device_idNoTarget device id
response_formatNo'concise' = human prose, 'detailed' = more fields in prose, 'json' = raw API objectconcise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.28.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It discloses the write nature, the per-URI POST mechanism, the quota impact ('N writes'), and the queued/failed summary return. It does not discuss error handling or dry_run behavior, but the core side effects are clearly stated.

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-load the purpose, then add mechanics/quota and related-tool routing. Every sentence contributes useful information with no filler.

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?

The description covers purpose, mechanics, quota, output summary, and sibling relationships, while the schema fully documents all four parameters. Some minor gaps remain around failure behavior and dry_run effects, but the agent has enough to select and invoke the tool correctly.

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 little beyond the schema: it reinforces that the tool handles multiple URIs and returns a summary, but it does not explain dry_run, device_id, or response_format more deeply than the schema already does.

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 states a specific verb and resource: adding multiple URIs to the playback queue in one shot, with the mechanics briefly specified as POSTing each URI to /me/player/queue. It also differentiates itself from add_to_queue and queue_playlist by naming these siblings and the single/playlist cases they cover.

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 description names the relevant alternatives (add_to_queue for single add, queue_playlist for playlist queue) and the batch context is clear from 'multiple URIs in one shot.' It does not give fully explicit when-not instructions, but the routing signal is present and inferable.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools