Skip to main content
Glama

set_volume

Set Spotify playback volume to any percentage from 0 to 100, optionally targeting a specific device by ID.

Instructions

Set playback volume (0–100)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idNoTarget device ID
volume_percentYesVolume level 0–100
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only states the effect ('set volume') without clarifying side effects, whether device_id is required or optional in practice, whether it affects the active session, or any potential failure modes. This is minimal disclosure for a mutation tool.

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, tightly worded sentence with no excess verbiage. It front-loads the action and the acceptable range, making it immediately actionable.

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 tool with no output schema, the description is functional but incomplete. It does not explain the role of device_id (e.g., whether omission targets the default device) or any observable outcomes. Given the lack of annotations, a bit more context would be warranted, hence a mid-range score.

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 description coverage is 100%, so the schema already documents both parameters. The description adds no additional meaning beyond the schema—it repeats the volume range but does not explain device_id semantics or the relationship between parameters. Baseline 3 is appropriate because the schema does the heavy lifting.

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 specifies the action (set volume) and the resource (playback volume) with an explicit range (0–100). It is distinct from sibling tools like seek or set_shuffle, leaving no ambiguity about what it does.

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 no guidance on when to use this tool versus alternatives, nor does it mention prerequisites or context such as default device behavior. The purpose is self-evident, but there is no explicit direction to disambiguate from other playback controls.

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

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