Skip to main content
Glama

bitwig_edit_clip

Edit an existing launcher clip on one exact track: change its name, loop, or color, and add, modify, or delete individual notes while verifying untouched notes stay unchanged.

Instructions

Change an existing launcher clip on one exact track without rewriting it: set name, loop (start, length, on/off) or color; add or change single notes (setNotes, matched by beat, pitch and channel; only given fields change); delete single notes (removeNotes). The whole clip is read before and after; every untouched note must come back unchanged, or the call fails with the exact differences.

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": {
      "trackId": "<trackId>"
    },
    "name": "bitwig_edit_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
loopNoLoop region and on/off; this is how a launcher clip's length is changed
nameNo
colorNoClip color as #RRGGBB
trackIdYesTrack id from bitwig_tracks; it stays the same when the track is renamed or moved
setNotesNoNotes to add, or to change where a note already starts on that cell
slotIndexNoLauncher slot (scene) index, 0-based
removeNotesNoNotes to delete; each must exist
stepsPerBeatNoGrid resolution for note starts in steps per beat (4 = 1/16 at 4/4, 96 for fine timing). Every note start must lie on this grid. Clip span × stepsPerBeat may not exceed 16384

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the read-before/after verification, that untouched notes must return unchanged, that the call fails with exact differences, and that only given fields change. It does not say whether a failure leaves the clip partially modified or rolled back, which is the main remaining gap for a mutation tool.

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 operation and its constraint and free of filler. The heavy semicolon-chaining and stacked parentheticals in the second sentence slightly reduce scanability, but every clause carries functional information.

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

Completeness4/5

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

For an 8-parameter nested mutation tool with no annotations and no output schema, the description covers the risky parts: matching keys, partial-update semantics, and verification/failure reporting. It does not describe what a successful response contains or what happens when the target slot is empty, but the schema covers most parameter detail.

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

Parameters4/5

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

Schema coverage is 88%, so the baseline is 3, but the description adds real semantics: setNotes are matched by beat+pitch+channel and only supplied fields change, removeNotes entries must exist, and loop is the mechanism for changing clip length. It leaves trackId, slotIndex and stepsPerBeat to the schema, which already documents them well.

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?

States a specific verb+resource with precise scope ('Change an existing launcher clip on one exact track without rewriting it') and enumerates the editable facets (name, loop, color, setNotes, removeNotes). The phrase 'without rewriting it' implicitly separates it from bitwig_write_clip and bitwig_read_clip, so an agent can pick it without opening the schema.

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?

The description makes clear this is for in-place edits that preserve untouched notes, which is the key selection criterion against a full rewrite. It stops short of explicitly naming bitwig_write_clip or bitwig_read_clip as the alternatives or stating when a rewrite is preferred, so the agent must infer the boundary.

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