Skip to main content
Glama

edit_item

Modify an audio or MIDI item in REAPER: move, trim, fade, re-pitch, loop, mute, rename, recolor, or adjust volume, timing, pitch, and track placement.

Instructions

Moves, trims, fades, re-pitches or otherwise edits an audio or MIDI item.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loopNoLoop the source when the item is longer than it
muteNo
nameNo
colorNo#RRGGBB
trackNoMove the item to this track
item_idYesItem id (audio or MIDI) from get_track_details, or "selected"
playrateNoAudio items: speed, 1 = normal
length_qnNo
start_barNoMove the item to this bar
volume_dbNo
start_beatNoBeat within the bar, 1-based (default 1)
length_barsNo
preserve_pitchNoAudio items: keep pitch when changing playrate
fade_in_secondsNo
pitch_semitonesNoAudio items: transpose
fade_out_secondsNo
trim_start_secondsNoTrim this much off the start, keeping the content in place (negative extends)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.19.1

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not say whether the edit is destructive, how unspecified properties are treated, whether parameters combine in one call, or whether the item must exist first — a serious gap for a 17-parameter mutation tool.

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 compact sentence with the operation list front-loaded and no filler. The catch-all 'or otherwise edits' weakens precision slightly but costs nothing structurally.

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?

With 17 parameters, no annotations, no output schema and only 59% schema coverage, the one-line description is not sufficient. It omits which parameters apply to audio versus MIDI, interaction/ordering between move, trim and fade parameters, and any notion of undo or reversibility.

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 59%, and the description's high-level verb list loosely mirrors the parameter groups (move/trim/fade/re-pitch). It adds the useful signal that some parameters are audio-only, but relies on the schema for the rest; baseline 3 fits given partial coverage.

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 (edits) plus an enumeration of the operations it performs (moves, trims, fades, re-pitches) on a bounded resource (audio or MIDI item). An agent can place it apart from create_midi_item, delete_item, split_item and duplicate_item, though those siblings are never named to sharpen the boundary.

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?

No when-to-use guidance, no prerequisites, and no alternatives named. The only faint signal is 'otherwise edits', which implies modifying an existing item, but nothing tells the agent when to pick this over split_item or duplicate_item.

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

Deploy Server

Other Tools