Skip to main content
Glama

Music Play

music_play
Destructive

Starts playback in the Music app: resumes, or with track_id plays that library track, or with playlist that playlist. Opens the Music app when it is closed. Returns the player state, the volume and the current track afterwards.

Input Schema

NameRequiredDescriptionDefault
confirmNoIgnored; kept for older clients.
playlistNoA playlist name or id from music_list_playlists.
track_idNoA track id from music_search_library.

Output Schema

NameRequiredDescriptionDefault
doneYes
noteNo
stateYes
trackNo
actionYes
volumeNo
runningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Adds real behavior beyond annotations: it opens the Music app when closed, which the agent could not infer from readOnlyHint/openWorldHint/destructiveHint. However, destructiveHint=true is never explained or reconciled — there is no mention of whether starting a track replaces the current queue or interrupts playback. The listed return values add little because an output schema already exists.

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?

Front-loaded with the action and the mode branching in one dense sentence; nothing is buried. The trailing sentence about return values is largely redundant with the output schema and slightly dilutes the signal.

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?

With an output schema present, the description need not spell out return shapes, and it covers modes plus app-launch behavior adequately. The remaining gap is conflict handling between `track_id` and `playlist` and the unexplained destructiveHint for a playback tool.

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 the schema already documents all three parameters, including that `confirm` is ignored. The description restates the meaning of `track_id` and `playlist` in terms of outcome but adds no precedence rule for supplying both, so it only marginally exceeds the schema baseline.

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?

States a specific verb (starts playback) plus the resource (Music app) and enumerates the three distinct operating modes: resume, track_id, and playlist. An agent can distinguish it from music_pause/music_next_track by the verb, though no sibling is named explicitly.

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?

The three invocation modes are laid out concretely ('resumes, or with `track_id` plays that library track, or with `playlist` that playlist'), which is clear when-to-use guidance internal to the tool. It stops short of naming alternatives or stating exclusions, e.g. what to do if both parameters are supplied or when to prefer music_now_playing first.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources