Skip to main content
Glama

shuffle

Enable or disable random playback on your active Spotify device to control song order.

Instructions

Turn shuffle mode on or off on the user's active Spotify device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
enabledYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the behavioral burden. It usefully discloses that shuffle is set on the user's active device and toggles on/off. However, it does not mention failure behavior when no active device exists, permission requirements, or whether the operation returns a confirmation, leaving some ambiguity 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?

One short, front-loaded sentence states the action, target device, and possible states with no filler. Every word earns its place.

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 one-boolean parameter tool with an output schema present, the description is nearly complete. It covers what the tool does and on what target. The only real gaps are usage prerequisites and failure-mode context, which matter more for complex tools; here simplicity keeps the definition adequate.

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?

The schema provides no description for the single `enabled` parameter (0% coverage), so the description must compensate. It does map 'on or off' to `enabled`, giving the boolean meaning, but adds no further detail such as default behavior, null handling, or what happens when no device is active.

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 uses a specific verb ('Turn') plus a clear resource ('shuffle mode') and scope ('active Spotify device'). It is immediately distinguishable from siblings like repeat_mode, skip_next, and set_playback_volume, which target different playback controls.

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

Usage Guidelines2/5

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

No guidance is given about when to use this tool versus alternatives, and no prerequisites are stated. In particular, it does not mention that a device must already be active or that `activate_device` should be used first, which is important given the sibling tool list.

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