Skip to main content
Glama
Spotify MCP Server for macOS

Spotify MCP Server for macOS

Set Shuffle

spotify.set_shuffle

Enable or disable Spotify shuffle mode by setting the enabled boolean, letting MCP clients control playback order during local macOS sessions.

Instructions

Enable or disable shuffle mode

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "enabled": "<enabled>"
    },
    "name": "spotify.set_shuffle"
  }
}

Input Schema

NameRequiredDescriptionDefault
enabledYesEnable (true) or disable (false) shuffle mode

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden of behavioral disclosure. It never says whether shuffle applies to the current playback queue, whether it requires an active player or device, or what happens on failure. For a playback-control mutation, those omissions matter.

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?

It is one short sentence that front-loads the action, with no filler or repetition. It is arguably under-specified rather than bloated, but structurally it is clean.

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?

Although the tool is simple and the parameter is fully documented, the lack of any annotations means the description should cover session and device prerequisites that it does not. As written, an agent knows what the call does but not the conditions under which it will succeed.

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?

There is a single parameter, and the schema documents it fully, including the true/false meaning. The description adds nothing beyond the schema, which is the expected baseline at 100% coverage.

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 states a specific verb and resource: turning shuffle mode on or off. It is clear on its own, but it does nothing to separate it from the sibling 'spotify.toggle_shuffle', which an agent could confuse it with at selection time.

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?

There is no guidance on when to use this versus 'spotify.toggle_shuffle', nor on prerequisites such as an active playback session or a targeted device. The agent must infer everything about context from the name alone.

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