Skip to main content
Glama

sonos_set_repeat

Set repeat mode for Sonos queue playback. Choose no repeat, repeat all, or repeat one track.

Instructions

Set repeat mode for queue playback. Options: off (no repeat), all (repeat entire queue), one (repeat current track).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeYesRepeat mode
deviceIdYesRoom name, UUID, or IP address
Behavior2/5

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

With no annotations, the description carries full burden. It discloses the direct action but fails to mention side effects, prerequisites (e.g., device must be in queue playback mode), or what happens when the mode is changed (e.g., immediate effect on current track). The description is too brief to fully inform the agent of behavioral traits.

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?

The description is a single sentence that packs all essential information: action, scope (queue playback), and options. No filler words or redundancy. It is optimally concise for its purpose.

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 simple setter with 2 parameters and no output schema, the description adequately covers the mode values and context. However, it omits any mention of device state requirements (e.g., must be playing a queue) or whether the setting persists across sessions. Given the tool's simplicity, it is nearly complete.

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 input schema covers both parameters with descriptions, but the enum values are not explained. The description adds clarity by defining each mode: 'off (no repeat), all (repeat entire queue), one (repeat current track)'. This meaningfully supplements the schema.

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 clearly states the action 'Set repeat mode for queue playback' and lists the three modes (off, all, one). It distinguishes itself from sibling tools like sonos_set_shuffle and sonos_set_crossfade by specifying the exact setting being modified.

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

Usage Guidelines3/5

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

The description provides basic guidance by listing the available modes but offers no context on when to use this tool vs alternatives, no prerequisites (e.g., whether queue must be active), and no exclusion criteria. It is minimally helpful.

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/Tommertom/sonos-ts-mcp'

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