Skip to main content
Glama
panuhen

Spotify MCP Server

by panuhen

repeat

Set Spotify playback to loop off, one track, or the album/playlist for the active or selected device.

Instructions

Set repeat mode. Needs state.

Input Schema

NameRequiredDescriptionDefault
stateYestrack = repeat one song, context = repeat the album or playlist.
device_idNoOptional device ID from get_devices.

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 provided, so the description carries the full behavioral burden, and it discloses almost nothing: it does not say whether the mode persists, whether it targets the active device by default, or what happens if device_id is omitted. 'Needs state' is the only behavioral hint and it merely echoes the schema.

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?

Two short fragments, front-loaded with the action. 'Needs state' is largely redundant with the schema's required array, so it is not perfectly economical, but nothing is bloated.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a simple two-parameter tool with full schema coverage and no output schema, so the schema does most of the work. The description is adequate but leaves device-targeting and persistence behavior unstated, which for a stateful playback control would be useful.

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% and the enum values (off/track/context) are already fully explained in the schema, so the baseline of 3 applies. The description adds no format, default, or device-targeting nuance beyond what the schema documents.

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?

States a concrete verb+resource ('Set repeat mode'), which clearly distinguishes it from playback siblings like shuffle, seek, or set_volume. It does not, however, explicitly disambiguate from shuffle (the closest sibling) beyond the word 'repeat'.

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?

'Needs state' only restates the schema's required field; there is no when-to-use context, no note about whether the setting applies to the current device, and no mention of the shuffle sibling that a user might confuse it with.

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