Skip to main content
Glama

reaper_midi_delete_notes

Delete MIDI notes from a REAPER take by explicit indices or by pitch, time, and channel filters to edit or clean up MIDI data.

Instructions

Delete MIDI notes in a REAPER take by explicit indices OR by pitch/time/channel filters.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reaper_midi_delete_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
pitchNo
trackNo
channelNo
indicesNo
item_guidNo
max_pitchNo
min_pitchNo
item_indexNo
end_beat_relNo
start_beat_relNo

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 for a destructive operation. 'Delete' signals mutation, but nothing is said about irreversibility, what happens when no filters are given (all notes in the take?), permission or item-selection requirements, or the delete-vs-mute distinction. For a destructive, zero-annotation tool this leaves a serious gap.

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, and the two-mode structure is expressed efficiently. It is tight but arguably too sparse for a 10-parameter destructive tool, which is reflected in the other dimensions rather than here.

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?

The tool is destructive with 10 optional parameters and no annotations; the most important fact an agent needs — that invoking with no filters may delete every note in the take, and which of track/item_guid/item_index selects the target take — is absent. The existence of an output schema excuses explaining return values, but the invocation safety picture is incomplete.

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% across 10 parameters, so the description must compensate. It does name the filter concepts (indices, pitch, min/max pitch implied by 'pitch/time/channel filters', channel, time range) mapping to roughly half the parameters, but says nothing about item_guid, item_index (default 0), track scoping, or accepted pitch formats (integer vs. string note names).

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 and resource (delete MIDI notes in a REAPER take) and distinguishes two operating modes: explicit indices vs. pitch/time/channel filters. It does not name the sibling it should be chosen over (e.g., reaper_midi_edit_notes), so it is clear but not sibling-differentiating.

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 'indices OR fililters' phrasing implies which mode to pick depending on whether you know note positions or only musical criteria, which is useful intra-tool guidance. There is no guidance on when to use this instead of reaper_midi_edit_notes or reaper_midi_transform, and no stated prerequisites or warnings.

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