Skip to main content
Glama

sonos_set_volume

Adjust the volume of a Sonos device or group to a level between 0 and 100. Use this to control audio output on your Sonos system.

Instructions

Set volume level on a Sonos device. Range: 0 (silent) to 100 (maximum). Affects entire group if device is grouped.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
volumeYesVolume level (0-100)
deviceIdYesRoom name, UUID, or IP address
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It states the allowed range (0-100) and the important side effect that setting volume affects the entire group if the device is grouped. This is valuable transparency for an action tool. It could additionally mention if the operation is idempotent or if it requires the device to be online, but overall it is above average.

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 two concise sentences that front-load the purpose and immediately follow with key constraints. Every word is necessary; no fluff or repetition. This is ideal for quick agent comprehension.

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?

Given the tool's simplicity (2 required params, no output schema, no nested objects), the description covers the primary aspects: function, range, and group behavior. It does not mention return values or error cases, but that is acceptable without an output schema. It is mostly complete but could be slightly improved by noting that the device must be available.

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?

The input schema already provides 100% coverage with descriptions for both parameters. The description adds the group effect context beyond the schema, but does not elaborate on parameter syntax or special values beyond the range (which is already in schema min/max). It contributes some value but not substantial given the schema is already clear.

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 verb 'Set' and the resource 'volume level on a Sonos device', making the tool's purpose immediately obvious. It distinguishes itself from sibling tools like sonos_get_volume, sonos_set_mute, and others by specifying volume setting. The range is also clarified, leaving no ambiguity.

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 gives a hint about when to use the tool (to set volume) but lacks explicit guidance on when not to use it or alternatives. For example, it doesn't contrast with sonos_get_volume or sonos_set_mute. The mention of group effect is useful but insufficient to fully guide an AI agent in tool selection among many volume-related siblings.

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