Skip to main content
Glama

reaper_import_midi_file

Imports a .mid file into a live REAPER project, optionally expanding tracks, importing tempo, and loading an instrument for immediate MIDI editing or playback.

Instructions

Import a .mid file into live REAPER (zero modal dialogs; optionally expands tracks, sets tempo, and loads an instrument).

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": {
      "midi_path": "<midi_path>"
    },
    "name": "reaper_import_midi_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
midi_pathYes
instrumentNo
start_beatsNo
import_tempoNo
target_trackNo
expand_tracksNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It usefully discloses 'zero modal dialogs' and optional expansion/tempo/instrument loading, but it does not describe side effects such as whether tracks are created or overwritten, whether the project is mutated destructively, or whether undo applies.

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?

The definition is a single front-loaded sentence with little wasted wording. It is appropriately concise, though the parenthetical bundles several behaviors without elaborating on the parameters that control them.

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 an import tool with six parameters, no annotations, and an output schema, the description is too thin. It covers the general purpose and a few optional behaviors but leaves key operational details, parameter meanings, and project side effects unstated.

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 coverage is 0%, so the description must compensate for all six parameters. It only vaguely references expand_tracks, import_tempo, and instrument; it says nothing about midi_path requirements, start_beats positioning, or target_track semantics.

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?

The description states a specific verb and resource: importing a .mid file into live REAPER. It distinguishes the operation from export or MIDI-creation siblings by emphasizing live REAPER import, but it does not explicitly name or contrast with a sibling tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It implies the tool is for importing MIDI into the active REAPER session, but gives no explicit guidance on when to use it instead of MIDI file creation/editing tools or when not to use it. The 'live REAPER' phrase provides context but not selection guidance.

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