Skip to main content
Glama

get_set_state

Read-only

Reads the full Ableton Live song state—tempo, tracks, devices, mix, scenes, and transport—and flags the first call of a new request so undo can return to that point.

Instructions

Read the whole song: tempo, time signature, key (scale), whether it is playing, transport (metronome, loop, count_in_bars), every track (index, name, type, devices, drum_pads, mix, io, clip_slots), the sections (scenes), the shared effect channels (return_tracks) and the main output. Indices are 0-based. Pass new_request=true on the FIRST call of each new user request: it marks where undo goes back to. mix is {volume_db, pan -50..50, mute, solo, sends by letter}; dB null means silent. io (tracks that can record) is {arm, input, input_channel, input_channels_available, monitoring}. drum_pads lists {note, name} for a drum kit: use those notes as pitches. room_left says how many tracks and sections can still be added (Lite: 8 and 16). last_changed is what the previous change touched, for "this" and "that".

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_set_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
new_requestNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations cover only readOnlyHint/openWorldHint=false, and the description adds substantial behavior beyond them: 0-based indices, the meaning of dB null (silent), pan range, mix/io/drum_pads sub-structures, room_left capacity limits for Lite, and how last_changed resolves "this"/"that" references. That is exactly the return-shape context an agent needs before calling a broad state read.

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 payload listing, then field glosses in descending priority; no filler sentences. It is dense to the point of being a run-on in places (the parenthetical field list and the semicolon-chained glosses), which costs a little readability, but every clause conveys information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a read-only tool with no output schema, the description substitutes effectively by describing the returned structure field-group by field-group, including units, ranges, and sentinel values. An agent can parse and act on the result without any further documentation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the single parameter new_request has no schema-level explanation, so the description carries the full burden — and does: it states the trigger condition (first call of each new user request) and the effect (marks where undo goes back to). Nothing about the parameter is left ambiguous.

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?

Opens with a specific verb and resource ("Read the whole song") and then enumerates the exact contents: tempo, time signature, key, playing state, transport settings, tracks with nested fields, scenes, return_tracks and main output. That enumeration distinguishes it clearly from siblings like get_clip_notes or get_device_params, which read narrow subsets.

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?

Explicitly tells the agent to pass new_request=true on the FIRST call of each new user request, which is real when-to-do-what guidance tied to the undo boundary. It also implies this is the state-priming read via the last_changed explanation, but it never names an alternative tool or states a when-not condition.

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