Skip to main content
Glama

alexa_set_volume

Idempotent

Set an Alexa device's speaker volume (0–100) by device name or serial number, with confirmation required before the change is applied.

Instructions

Set the speaker volume (0–100) of an Alexa device. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceYesAn Alexa device: its name as alexa_list_devices shows it (case-insensitive; a unique part of the name works) or its serial number.
volumeYesVolume level, 0–100.
confirmTokenNoONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A3.9/5.0
Behavior5/5

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

Annotations already declare the mutation/idempotence/safety profile, and the description adds substantial behavior beyond them: the user-confirmation requirement, the elicitation-vs-token fallback, and the preview-plus-confirmToken response of phase 1. This is exactly the kind of operational detail an agent needs before calling a write tool.

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 compact sentences: the core action is front-loaded and the confirmation mechanics follow. The parenthetical reference to MCP_CONFIRM_MODE is slightly indirect, but no sentence is wasted.

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 mutation tool with no output schema, the description covers the essential operational unknowns: confirmation gating, the token fallback, and the phase-1 preview response. What remains (e.g., failure handling, device-not-found behavior) is minor and largely inferable.

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%, so both required params (device, volume) and the confirmToken are already fully documented in the schema, including the token's "never on first call" rule. The description reinforces the range and token flow but adds little beyond the schema, so baseline 3 applies.

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 uses a specific verb+resource ("Set the speaker volume") and scopes it with a range (0–100) and target ("of an Alexa device"). It is immediately distinguishable from read-side siblings like alexa_list_volumes, but it never names a sibling tool, so it stops short of explicit differentiation.

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?

It clearly tells the agent how invocation is gated (confirm first, or two-step token flow), which is useful context. However, it offers no guidance on when to choose this over adjacent tools (e.g., alexa_set_equalizer or alexa_list_volumes); selection guidance is only implied.

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