Skip to main content
Glama
live-agent-bridge

live-agent-bridge

by huaidj

write_chords

Convert a chord progression into MIDI notes inside an Ableton Live clip, creating the clip when the target slot is empty. Use it to write chord parts from chord symbols or roman numerals.

Instructions

Turn a chord progression into MIDI in a clip (created if the slot is empty).

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": {
      "progression": "<progression>"
    },
    "name": "write_chords"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNoNeeded for roman numerals, e.g. 'A minor'
bassNoAdd the root (or slash bass) an octave below
clipNoClip ref/path (e.g. 'id 123'); alternative to track+slot
modeNoreplace
nameNo
slotNo
styleNoblock
trackNo
octaveNoAbleton octave (C3 = middle C)
voicingNosmooth = minimal voice movementsmooth
velocityNo
progressionYesChord symbols 'Am F C G', 'Cmaj7 Dm7 G7', slash chords 'C/E', or roman numerals with key 'i VI III VII', 'ii7 V7 Imaj7'. Per-chord beats with ':' e.g. 'Am:2 F:2 C:4'
beats_per_chordNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare this is a write (readOnlyHint=false) that is non-destructive and open-world false. The description adds genuinely useful context beyond that: the target clip is created if the slot is empty. However, it does not disclose what 'replace' mode does to any pre-existing notes in the clip, nor whether a clip reference is returned, which matters for a 13-param writer.

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?

A single front-loaded sentence with zero filler; the core action and the clip-creation caveat are both stated compactly. Nothing in it is redundant or padding.

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

Completeness2/5

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

For a tool with 13 parameters, no output schema, and thin annotations, one sentence is far from complete. An agent is left to infer addressing precedence (clip vs track+slot), how roman numerals depend on key, what replace mode overwrites, and what is returned.

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

Parameters2/5

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

Schema description coverage is low (46%) across 13 parameters, so the description bears substantial compensating burden. Instead it adds nothing beyond the schema: no explanation of key/roman-numeral interaction, style variants, voicing, velocity, octave placement, or the track/slot/clip addressing alternatives. Parameters like mode, name, slot, style, velocity, and beats_per_chord have no schema description and no description-level explanation either.

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?

States a concrete verb+resource: convert a chord progression into MIDI within a clip, with the side note that the clip is created when the slot is empty. An agent can tell this is the chord-based writer versus note/melody writers. It stops short of naming the sibling tools (write_melody, write_notes, write_drum_pattern) that an agent would otherwise compare against.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance and no mention of alternatives such as write_melody or write_notes for non-chord input. The only usage-adjacent information is the parenthetical that a clip is created for an empty slot, which is behavioral rather than selection guidance.

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