Skip to main content
Glama
live-agent-bridge

live-agent-bridge

by huaidj

write_drum_pattern

Writes step-sequenced drum patterns into an Ableton Live clip, creating the clip when the target slot is empty. Program kick, snare, hat, and other drum rows by step.

Instructions

Write a step-sequenced drum pattern into 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": {
      "rows": "<rows>"
    },
    "name": "write_drum_pattern"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipNoClip ref/path (e.g. 'id 123'); alternative to track+slot
modeNoreplace
nameNo
rowsYesRow -> steps. Row: kick snare clap rim hat openhat ride crash tom perc shaker, a note name ('C1') or number. Steps: x hit, X accent, o ghost, 1-9 velocity, . rest; spaces/| ignored. E.g. {'kick':'x...x...x...x...','hat':'..x...x...x...x.'}
slotNo
stepNoBeats per step: 0.25 = 16ths, 0.5 = 8ths
swingNo
trackNo
velocityNo
bars_repeatNoRepeat the pattern N times

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior: the clip is created if the slot is empty. However, it never explains that the default mode 'replace' can overwrite existing notes in the clip, which is the main behavioral risk an agent needs to know.

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?

A single front-loaded sentence with no filler or redundancy, which is well structured for a short description. It is arguably too terse given the tool's 10-parameter surface, but nothing in it is wasted.

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 10-parameter mutation tool with a nested row/step-notation object, no output schema, and only 40% schema description coverage, the description is far too thin. It does not explain the replace-vs-add consequence, the velocity/swing interplay, or what the tool returns on success.

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?

With 10 parameters and only 40% schema description coverage, the description should compensate but adds no parameter meaning at all. Names like 'mode', 'swing', 'velocity', 'bars_repeat', and the track/slot/clip addressing options are left entirely to the schema, whose own coverage is partial.

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 a specific verb and resource ('write a step-sequenced drum pattern') and the target ('into a clip'), which distinguishes it from siblings like write_chords and write_melody without naming them. It stops short of explicitly contrasting itself with write_notes, which also writes into clips.

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 statement of when to choose this tool over write_notes, write_melody, or clip_edit, and no prerequisites or exclusions are given. The only conditional mentioned, clip creation when the slot is empty, is a behavior note 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.