Skip to main content
Glama
Spotify MCP Server for macOS

Spotify MCP Server for macOS

Toggle Shuffle

spotify.toggle_shuffle

Toggle shuffle mode on or off to control whether Spotify playback follows a shuffled track order on macOS.

Instructions

Toggle shuffle mode

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "spotify.toggle_shuffle"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/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 behavioral burden, yet it discloses nothing beyond the verb. It does not say whether the change is immediate, whether the new shuffle state is returned, what happens if nothing is currently playing, or that repeated calls revert the state.

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

Conciseness3/5

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

It is a single short, front-loaded sentence with no wasted words, but the brevity comes from under-specification rather than tight writing. It reads as a label rather than a definition.

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?

A zero-parameter playback control is simple, but with no annotations, no output schema, and no description of effect or return state, the agent still lacks enough to predict what the call does or how to report the result. It should at minimum state that shuffle flips on/off and where the resulting state appears.

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

Parameters4/5

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

The tool takes zero parameters, so there is no parameter semantics for the description to explain; the empty schema is self-evident. Baseline 4 applies.

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

Purpose2/5

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

"Toggle shuffle mode" restates the tool name and title almost verbatim, adding only the word "mode." It gives no scope, no target device/context, and does not distinguish this from the sibling spotify.set_shuffle, so an agent cannot tell which one to pick from the description alone.

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 when-to-use guidance, no mention of preconditions (e.g., a track must be playing), and no reference to the alternative spotify.set_shuffle which sets an explicit state rather than flipping it. The agent is left to infer everything.

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