Skip to main content
Glama

reaper_midi_edit_notes

Edit specific MIDI notes by index to adjust pitch, start/end timing, duration, velocity, channel, or mute state for targeted corrections in a REAPER MIDI item.

Instructions

Edit specific MIDI notes by their index from reaper_midi_read (pitch/note, start/end/duration, velocity, channel, muted).

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": {
      "edits": "<edits>"
    },
    "name": "reaper_midi_edit_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
editsYes
trackNo
item_guidNo
item_indexNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden. Beyond the bare verb 'Edit' it discloses nothing about whether edits are destructive/reversible, whether unspecified fields retain their current values, or whether indices remain valid after inserts/deletes — all critical for a mutation tool with zero annotation coverage.

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?

One tight sentence, front-loaded with verb and resource, with the dependency on reaper_midi_read placed immediately after. No filler, though the parenthetical field list compresses a lot into an inline clause.

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?

An output schema exists, so return values need no explanation. But for a no-annotation mutation tool the definition is thin: it omits partial-update semantics, index stability, and how track/item_guid/item_index scope the operation, leaving the agent to guess at edit behavior.

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 description coverage is 0%, so the description must compensate. It does add real meaning for the required 'edits' array by naming the editable note fields (pitch/note, start/end, duration, velocity, channel, muted), but it never explains the edit object's index field or the track/item_guid/item_index addressing parameters.

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 specific verb ('Edit') and resource ('specific MIDI notes by their index'), and names the sibling reaper_midi_read as the source of the indices. The verb alone separates it from reaper_midi_delete_notes and reaper_midi_insert_notes, though it never states that distinction explicitly.

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?

Implies the workflow — read notes with reaper_midi_read, then edit them by index here — but gives no explicit when-to-use vs. reaper_midi_delete_notes/insert_notes. No prerequisites, no exclusions, no guidance on index validity after other operations.

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