Skip to main content
Glama

spotify_queue_from_playlist

Queue tracks from a playlist to an active device. Optionally shuffle and set the number of tracks to add.

Instructions

Queue tracks from a playlist, optionally shuffled. Requires an active device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
playlist_idYes
countNo
shuffleNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, the description carries the full burden. It lacks details on whether the queue is cleared before adding, if tracks are appended, or if the shuffle option toggles playback shuffle or shuffles the order. The potential mutation behavior is unclear.

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 description is a single sentence, very concise with no extraneous words. It front-loads the main action. However, it is slightly underspecified for a tool with three parameters.

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?

Given the tool's moderate complexity (3 params, output schema exists), the description is insufficient. It does not explain return values, failure modes (e.g., no active device), or behavioral assumptions. The output schema is present but not leveraged in the description.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It only explains playlist_id implicitly and shuffle ('optionally shuffled'), but does not clarify the count parameter's meaning, default, or range. The shuffle behavior is ambiguous.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool queues tracks from a playlist, with an optional shuffle. This distinguishes it from siblings like spotify_add_to_queue which adds individual tracks. However, it does not mention the count parameter limiting the number of tracks, which is part of the purpose.

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 mentions a prerequisite: 'Requires an active device.' This provides some guidance, but it does not specify when to use this tool versus alternatives like spotify_add_to_queue or spotify_build_queue, nor does it give usage exclusions.

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

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