Skip to main content
Glama

spotify_set_shuffle

Toggle shuffle mode on or off to randomize the order of your Spotify playback.

Instructions

Toggle shuffle mode on or off.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateYestrue to enable shuffle, false to disable
device_idNoThe ID of the device to target
Behavior2/5

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

No annotations provided, so description bears full burden for behavioral disclosure. It does not mention side effects, required permissions, or that the tool might fail silently if no device is active or if shuffle is unsupported.

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?

Extremely concise single-sentence description that is front-loaded and free of unnecessary words. Every word serves a purpose.

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?

For a tool with 2 parameters, no output schema, no annotations, and many sibling tools, the description is insufficient. It lacks mention of return values, error conditions, and the relationship to other tools like spotify_get_shuffle_state.

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 coverage is 100% with clear parameter descriptions for 'state' and 'device_id'. The description adds no additional meaning beyond what the schema already provides, earning a baseline score of 3.

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?

Description clearly states the tool toggles shuffle mode on or off, using a specific verb and resource. It distinguishes from related tools like spotify_get_shuffle_state, but could be more explicit about its action versus state retrieval.

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 on when to use this tool versus alternatives such as spotify_get_shuffle_state. Missing context about prerequisites like requiring an active device or that shuffle may not be available in all playback contexts.

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/LLMTooling/spotify-mcp-server'

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