Skip to main content
Glama

alexa_playback

Control an Alexa device's current media: play, pause, skip to next, or go back; confirms first to prevent accidental changes.

Instructions

Play, pause, skip to next or go back to previous on an Alexa device’s current media. 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.
commandYesThe media command.
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

A4.6/5.0
Behavior5/5

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

Annotations only declare it is a non-read-only, open-world, non-destructive action. The description adds substantial context beyond that: a mandatory user confirmation gate, a client-dependent two-path protocol, and the existence of a preview response carrying a confirmToken. That is exactly the behavioral disclosure the annotations do not provide.

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?

Two sentences with the capability front-loaded and the confirmation protocol second. No filler; the parenthetical pointer to MCP_CONFIRM_MODE is compact and points to deeper detail rather than restating it.

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 an action tool with no output schema, the description covers the non-obvious parts of the call flow, including the shape of the phase-1 response. It stops short of describing the successful result (e.g., playback-state change confirmation), but nothing critical to invoking it correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds meaning about parameter lifecycle: confirmToken is only for the fallback path, is never used on the first call, and is ignored under elicitation. It clarifies when the parameter is meaningful rather than just what it is.

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?

States a specific verb set (play, pause, next, previous) against a specific resource (an Alexa device's current media), matching the command enum exactly. An agent can tell this apart from alexa_stop and alexa_get_now_playing from the description alone.

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

Usage Guidelines4/5

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

Gives explicit operational guidance: the confirmation prompt applies when the client supports one, otherwise a two-step preview/confirmToken flow is required. It does not name sibling alternatives (e.g., alexa_stop for halting playback), so it falls short of full when/when-not routing.

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