Skip to main content
Glama

reaper_insert_media

Import an audio, MIDI, or video file onto a chosen REAPER track at a specified position, using seconds, beats, or bars.

Instructions

Import a media file onto a track at a position.

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": {
      "file_path": "<file_path>",
      "track": "<track>"
    },
    "name": "reaper_insert_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNo'seconds', 'beats' (quarter notes from project start) or 'bars' (1-based, fractional allowed)seconds
trackYesTrack number as shown in REAPER (1-based, 0 = master) or exact track name
positionNo
file_pathYesAbsolute path to an audio/MIDI/video file

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?

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the safety profile is covered by structured data. The description adds nothing beyond that: it does not say whether the insert is undoable, whether it overwrites existing items, what happens if the file is missing or the track doesn't exist, or what the call returns. For a mutation tool the value added over annotations is essentially zero.

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 wasted words. It is tight, though the brevity comes at the cost of under-specification rather than efficiency.

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 project-mutating tool with four parameters and no output schema, the definition leaves too much implicit: return value, error behavior, and interaction with existing items at the same position are all unaddressed. Annotations cover only the safety flags, so the description should carry more of this burden than it does.

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 75%, with descriptions on file_path, track and unit; only 'position' is undocumented. The description's phrase 'at a position' gestures at the position parameter but adds no format or unit semantics beyond what the schema already supplies. Baseline 3 is appropriate since the schema does most of the work.

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 gives a concrete verb and resource — 'Import a media file onto a track at a position' — which distinguishes it from MIDI-oriented siblings like reaper_add_midi_notes or reaper_create_midi_item. It stops short of naming an alternative or stating scope boundaries, so it is clear but not sibling-differentiated.

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?

There is no when-to-use guidance and no mention of alternatives. An agent must infer whether importing audio should go through this tool versus reaper_create_midi_item or reaper_add_midi_notes, and no preconditions (e.g. track must exist) are stated.

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