Skip to main content
Glama
live-agent-bridge

live-agent-bridge

by huaidj

automation

Destructive

Read, write, and clear clip automation envelopes for device and mixer parameters, and revert overridden parameters back to their automation.

Instructions

Clip automation envelopes for any device/mixer parameter: read values, write breakpoints, clear one or all; re_enable reverts an overridden parameter to its automation. Values use the parameter's raw range (see get_device min/max). Live only creates NEW envelopes on session clips. For ARRANGEMENT automation on a MIDI track: write the envelope on a session MIDI clip, then arrangement duplicate_from_session; Live turns it into the track's arrangement automation over that clip's span (device and mixer parameters; check the parameter's automation_state). Audio clips lose the envelope.

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": {
      "action": "<action>"
    },
    "name": "automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipNoClip ref/path (e.g. 'id 123'); alternative to track+slot
slotNo
stepsNowrite: explicit steps [{time, duration, value}]
timesNoread: sample the envelope at these beats
trackNo
actionYes
pointsNowrite: breakpoints [{time, value}] in clip beats; each holds until the next
parameterNoDeviceParameter path/ref, e.g. 'track 0 devices 1 parameters 3', 'track 2 mixer_device volume', or a ref 'id 88' from get_device

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and readOnlyHint=false; the description supplies the concrete consequence—"Audio clips lose the envelope"—which is exactly the kind of lost-data warning annotations alone can't convey. It also discloses the non-obvious constraint that Live only creates new envelopes on session clips and that re_enable overwrites an override. It doesn't state what clear_all irreversibly removes or any permission/side-effect limits.

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?

It is front-loaded with the core verb and action list, then layers the arrangement caveat and the audio-clip warning. Sentences are information-dense with little filler, though the line breaks are awkwardly wrapped and the arrangement paragraph is somewhat compressed for a first-time reader.

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

Completeness3/5

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

For an 8-parameter, no-output-schema, destructive tool, the description covers the write/arrangement workflow well but never says what `read`, `has`, or `clear` return (values, timestamps, booleans, envelope existence). An agent knows how to act but not what to expect back.

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 63%, and the description adds a genuinely useful semantic rule—values use the parameter's raw range, referencing get_device min/max—which the schema does not state. However, actions like `has`, the steps-vs-points distinction, and `times` sampling are left entirely to schema text, leaving the remaining coverage gap uncompensated.

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 opens with a specific verb+resource ("Clip automation envelopes for any device/mixer parameter") and then enumerates every action the tool supports: read, write, clear/clear_all, and re_enable. It also distinguishes scope from Live's own behavior ("Live only creates NEW envelopes on session clips") and points to siblings for related data (get_device for min/max, duplicate_from_session for arrangement).

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?

It gives clear conditional guidance: use write for breakpoints, read for sampling, re_enable to revert an overridden parameter, and check automation_state before arranging. The arrangement workflow (write on session clip, then duplicate_from_session) is spelled out with its precondition. It stops short of explicitly naming when *not* to use this tool versus siblings like arrangement or device_control.

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