Skip to main content
Glama

reaper_get_midi_notes

Read-onlyIdempotent

Read MIDI notes from a REAPER item to retrieve pitch, start and length in beats, velocity, and channel for analysis or editing.

Instructions

Read notes of a MIDI item (pitch, start/length in beats from item start, velocity, 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": {
      "track": "<track>",
      "item": "<item>"
    },
    "name": "reaper_get_midi_notes"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemYes0-based item index on the track, from reaper_list_items
limitNoMax results to return
trackYesTrack number as shown in REAPER (1-based, 0 = master) or exact track name
offsetNoPagination offset

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint=false, so the safety profile is fully covered without the description. The description adds a useful unit convention ('in beats from item start'), which is genuine non-obvious context, but says nothing about pagination behavior, empty/non-MIDI items, or result ordering.

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 dense sentence, front-loaded with the verb and resource, with the field list packed into a parenthesis. Nothing is wasted, though the parenthetical straddles return values rather than clarifying inputs.

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?

With no output schema, the description usefully enumerates the returned fields (pitch, start, length, velocity, channel) and their units, which is the key gap it needs to fill for a read tool. Missing only pagination expectations and edge-case behavior for items with no notes.

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 coverage is 100%, so track, item, limit and offset are fully documented in the schema itself. The description's parenthetical describes returned note fields rather than adding meaning to any parameter, so baseline 3 applies.

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 ('Read notes of a MIDI item') and enumerates the returned fields, so the agent can distinguish it from write-side siblings like reaper_add_midi_notes and reaper_clear_midi_notes. It does not explicitly name any alternative, so it falls short of full sibling differentiation.

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?

Usage is implied by 'Read' — retrieval only — but the description gives no explicit guidance on when to call this versus reaper_list_items or the MIDI mutation tools. The schema does point to reaper_list_items for the item index, but the description itself carries no when/when-not framing.

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