Skip to main content
Glama

Playback

playback

Control audio transport and loop commands on the open file—play/stop, continue, loop selection, go to start/end—with every action recorded in History and undoable.

Instructions

Playback commands on the open file, as the person's own: each lands in History and undoes with edit.undo. transport.playStop — Play/Stop transport.continue — Continue transport.stop — Stop transport.loopSelection — Loop Selection transport.selectLoopRange — Select Loop Range transport.toggleLoop — Toggle Loop transport.lockLoop — Lock Loop transport.cycleLoopDirection — Cycle Loop Direction transport.loopForward — Loop Direction: Forward transport.loopReverse — Loop Direction: Reverse transport.loopPingPong — Loop Direction: Ping-Pong transport.setLoopDirection — Set Loop Direction (value: Direction , 0 to 2, default 0) filter.keyTracking — Filter Key Tracking monitor.ambisonicHeadphones — Decode Ambisonics for Headphones transport.goToStart — Go to Start transport.goToEnd — Go to End

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "command": "<command>"
    },
    "name": "playback"
  }
}

Input Schema

NameRequiredDescriptionDefault
valueNothe command's value, where it takes one (its range is in the list)
commandYesthe command's id

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.2
    • changedInput schema / properties / command / enum
      Previous value: -[
      -  "transport.playStop",
      -  "transport.continue",
      -  "transport.stop",
      -  "transport.loopSelection",
      -  "transport.selectLoopRange",
      -  "transport.toggleLoop",
      -  "transport.lockLoop",
      -  "transport.cycleLoopDirection",
      -  "transport.loopForward",
      -  "transport.loopReverse",
      -  "transport.loopPingPong",
      -  "transport.setLoopDirection",
      -  "filter.keyTracking",
      -  "monitor.ambisonicHeadphones",
      -  "transport.goToStart",
      -  "transport.goToEnd",
      -  "piano.octaveDown",
      -  "piano.octaveUp",
      -  "transport.goToSelectionStart",
      -  "transport.goToSelectionEnd",
      -  "transport.goToPeak"
      -]New value: +[
      +  "transport.playStop",
      +  "transport.continue",
      +  "transport.stop",
      +  "transport.loopSelection",
      +  "transport.selectLoopRange",
      +  "transport.toggleLoop",
      +  "transport.lockLoop",
      +  "transport.cycleLoopDirection",
      +  "transport.loopForward",
      +  "transport.loopReverse",
      +  "transport.loopPingPong",
      +  "transport.setLoopDirection",
      +  "filter.keyTracking",
      +  "monitor.ambisonicHeadphones",
      +  "transport.goToStart",
      +  "transport.goToEnd"
      +]
  2. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and idempotentHint=false, but the description adds real value beyond them: commands act 'as the person's own', each lands in History, and each can be reversed with edit.undo. That tells an agent the effects are user-visible and recoverable, which the annotations alone do not convey. It does not cover error cases or whether a command is a no-op when already in that state.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The lead sentence is front-loaded and efficient, but the 16-line command list largely duplicates the enum already present in the schema. The labels add some clarity, yet the list is long relative to the incremental information it supplies.

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 2-parameter tool with full schema coverage, annotations, and no output schema, the definition covers the command set, the value parameter, and the history/undo side effect. The main remaining gap is that it never states what the tool returns or whether any command requires specific state.

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 by annotating the one command that takes a value ('transport.setLoopDirection — value: Direction, 0 to 2, default 0'), including the range and default that the schema defers to 'its range is in the list'. The per-command labels also clarify what each enum value means in human terms.

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 opening sentence names a specific verb class and resource ('Playback commands on the open file') and the enumerated command list makes the scope concrete and distinguishable from siblings like edit, markers, or library_command. It stops short of explicitly naming a sibling it is not, so it lands at 4 rather than 5.

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?

Usage is only implied: an agent can infer this is the tool for transport/loop/filter playback actions on the open file. There is no explicit when-to-use vs when-not guidance, and no mention of prerequisites such as whether a file must be open or whether playback state matters.

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