Skip to main content
Glama

reaper_midi_cc

Insert, ramp, or delete MIDI CC, pitch bend, and program change events in a REAPER MIDI take to shape automation and controller data.

Instructions

Insert, ramp, or delete MIDI CC / Pitch Bend / Program Change events inside a REAPER MIDI take. action: 'insert' (uses events list) | 'ramp' (uses cc, start/end_beat_rel, start/end_value, steps, curve) | 'delete' (uses cc/channel).

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

Input Schema

NameRequiredDescriptionDefault
ccNo
curveNo
stepsNo
trackNo
actionYes
eventsNo
channelNo
end_valueNo
item_guidNo
item_indexNo
start_valueNo
end_beat_relNo
clear_existingNo
start_beat_relNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations at all, the description bears the full behavioral burden but only discloses mode-to-parameter mapping. It never says that 'delete' removes events, what clear_existing wipes out, or whether ramp overwrites existing events in the beat range — critical for a mutating 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?

Two compact sentences, front-loaded with the operation set followed by the mode/parameter mapping. The pipe-delimited mode list is dense but every token carries routing information; no filler.

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 14-parameter mutation tool with zero annotation coverage, the description is thin — return values are covered by the output schema, but event targeting, clear_existing, and destructive side effects are unaddressed. An agent could not reliably pick the right targeting argument or predict what 'delete' destroys.

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 0% across 14 parameters, so the description must compensate, and it covers only about half: events, cc, channel, start/end_beat_rel, start/end_value, steps, curve. The targeting parameters (track, item_guid, item_index) and clear_existing carry no explanation anywhere, leaving the caller to guess how a take is selected.

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?

Names specific verbs (insert, ramp, delete) and a precise resource (MIDI CC / Pitch Bend / Program Change events inside a REAPER MIDI take), which distinctly separates it from the note-editing siblings like reaper_midi_insert_notes. It never explicitly contrasts itself with those siblings, though the resource boundary is clear enough to infer.

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?

The action-mode breakdown tells the caller which parameter set each mode consumes, which is genuinely useful routing guidance. It stops short of when-to-use vs alternatives (e.g., when to prefer reaper_midi_insert_notes or reaper_midi_transform) and gives no preconditions for the three targeting fields.

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