Skip to main content
Glama

Music Previous Track

music_previous_track
Destructive

Goes back to the previous track in the Music app. Does nothing when the Music app is not open. Returns the player state, the volume and the current track afterwards.

Input Schema

NameRequiredDescriptionDefault
confirmNoIgnored; kept for older clients.

Output Schema

NameRequiredDescriptionDefault
doneYes
noteNo
stateYes
trackNo
actionYes
volumeNo
runningNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Adds real behavioral context beyond the annotations: the no-op-when-app-closed semantics and the resulting player state. That is valuable for an agent that needs to know the call will not fail. It never explains why destructiveHint=true — skipping a track discards playback position — which is the one annotation an agent would most want justified.

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?

Three short sentences, zero filler, with the core action stated first and preconditions and outcome trailing. Nothing to cut.

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?

An output schema exists, so the return-value sentence is bonus rather than necessity, and the no-op condition covers the main failure mode. The only gap is edge behavior at the start of a queue or playlist, which the description leaves unstated.

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% and the single parameter ('confirm' — 'Ignored; kept for older clients') is fully documented in the schema itself. The description adds nothing about it, which is acceptable at this coverage level, so the baseline 3 applies.

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 and resource ('Goes back to the previous track in the Music app') with the direction of travel front and center, which is exactly what separates it from music_next_track, music_play and music_pause. An agent can disambiguate without opening the schema.

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 a clear precondition/negative case: 'Does nothing when the Music app is not open,' which tells the agent the call is a safe no-op rather than an error. It stops short of naming an alternative (e.g. music_next_track or music_play) or saying what to do when the app is closed, so it is clear context without explicit routing.

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