Skip to main content
Glama

Set Spotify Volume

spotify_set_volume
Idempotent

Adjust Spotify playback volume to a specified level between 0 and 100 percent, optionally targeting a specific device for control.

Instructions

Set Spotify playback volume from 0 to 100 percent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idNo
volume_percentYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
uriNo
statusNoaccepted
device_idNo
operationYes
spotify_urlNo
volume_percentNo
Install Server

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare (readOnlyHint=false, idempotentHint=true, destructiveHint=false), and the description adds the 'playback' context and range, which is mildly useful. However, it does not disclose behavior like what happens if no device is active or whether it affects a specific device, leaving gaps beyond the structured data.

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 concise sentence (eight words) that is front-loaded with the action and resource. No wasted words or redundancy beyond the schema's min/max, which is acceptable.

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?

For a simple two-parameter mutation tool with annotations and an output schema, the description is adequate but not fully complete. It lacks any usage context, clarification of device_id semantics, or distinction from sibling tools, so it does not fully equip the agent for correct invocation.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate for parameter meanings. It explains the volume range (aligned with schema min/max) but entirely omits device_id, which is optional but important for targeting the correct playback device. The description adds minimal value beyond the schema's basic types.

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?

The description states a specific verb ('Set') and resource ('Spotify playback volume') with a clear scope (0 to 100 percent), making the core function obvious. However, it does not differentiate from the sibling tool 'spotify_adjust_volume', so it lacks explicit sibling distinction.

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?

The description gives no guidance on when to use this tool versus alternatives, especially the similar 'spotify_adjust_volume'. It does not mention prerequisites like having an active device or context for setting absolute vs relative volume.

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

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/martin-gomola/spotify-mcp'

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