Skip to main content
Glama

Play Music via Streaming Provider

alexa_play_music

Search and stream music on Echo from Amazon Music, Spotify, Apple Music, TuneIn, iHeartRadio, or Deezer. Provide serial number and search phrase to play songs, artists, albums, genres, or playlists.

Instructions

Search and stream music on an Echo device from Amazon Music, Spotify, Apple Music, TuneIn, iHeartRadio, or Deezer.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
providerNoMusic service provider (default: AMAZON_MUSIC)AMAZON_MUSIC
searchPhraseYesSong, artist, album, genre, or playlist to play
serialNumberYesSerial number of the Echo device (use alexa_list_devices to find it)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description must carry the burden of behavioral disclosure. It states the core behavior (search and stream music) but does not mention side effects like interrupting current audio, requiring a linked account, or device state requirements. This is adequate but lacks depth for a streaming action.

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, well-structured sentence that front-loads the purpose and lists the supported providers. There is no wasted wording or redundant detail.

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 tool with 3 fully documented parameters and a clear purpose, the description is largely sufficient. It does not explain return behavior or prerequisites like linked accounts, but these are not required when no output schema exists and the action is straightforward. Minor gaps remain around device prerequisites.

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 fully documents all three parameters. The description repeats the provider list and general action but adds no extra semantic detail beyond the schema, such as format constraints, defaults, or relationships between parameters.

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 states a specific action ('search and stream music'), a clear resource ('on an Echo device'), and a defined set of providers. The mention of 'music' clearly distinguishes it from sibling tools like alexa_play_audible (audiobooks), alexa_play_sound (sound effects), and alexa_play_behavior.

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 implies the tool is for playing music on an Echo device, but it does not explicitly contrast it with alternatives or state when not to use it. No exclusions or alternative routing is given, so the usage is implied rather than explicit.

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