Skip to main content
Glama
live-agent-bridge

live-agent-bridge

by huaidj

m4l_bridge

Inspect and modify Ableton Live Set objects through Max for Live's LiveAPI, with preview-first writes and bridge connection/status checks.

Instructions

Talk to Live through Max for Live's official LiveAPI (Cycling '74 docs: apiref/js/liveapi, LOM). Needs the 'LOM API Bridge' MIDI effect loaded on one track. status = install + connection check. Writes are previews unless write=true, and are bound to the identity a fresh resolve returned. Device errors (object_type_mismatch, unknown_member, stale_identity, ...) are tool errors. The first poll after observe also carries the value current at subscribe time.

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": "m4l_bridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoLiveAPI path, e.g. 'live_set', 'live_set tracks 0', 'this_device'
limitNo
valueNo
writeNoset/call: actually write. Default false = preview only
actionYes
memberNoProperty or function name
offsetNo
argumentsNo
object_typeNoExpected LOM class, e.g. Song, Track, Device, DeviceParameter, Clip
subscription_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=false, while the description adds substantive behavior: writes are previews unless write=true, writes are bound to the identity returned by a fresh resolve, device-level failures surface as tool errors with named codes, and the first poll after observe carries the subscribe-time value. The only gap is the absence of per-action behavior (what resolve/capabilities actually do).

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?

Five tight sentences with no padding, prerequisites and the preview-safety rule front-loaded. The opening 'Talk to Live' is informal but the following sentences are dense and information-bearing.

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 a 10-parameter, nine-action bridge with no output schema, the description should describe what each action returns and how state flows between resolve, observe, poll, and unobserve. It covers safety and error semantics well but leaves the action-by-action contract and return shapes to inference.

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 only 40% across 10 parameters, so the description carries a real burden. It clarifies write (preview vs. actual), ties writes to a resolve-returned identity, and explains the observe/poll/subscription relationship, but limit, offset, arguments, and value remain undocumented in both places.

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 description names the resource (Live's LiveAPI via Max for Live) and the mechanism, and implies the action surface through the enumerated verbs in the schema. It never distinguishes itself from siblings like live_status, get_device, or device_control, so an agent must infer which of those overlaps with this multi-action bridge.

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?

It states a hard prerequisite (the 'LOM API Bridge' MIDI effect must be loaded) and explains that status performs an install and connection check, which is genuine when-to-use guidance. Beyond that there is no guidance for the nine other actions or any comparison to sibling tools.

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