Skip to main content
Glama

reaper_envelope

List, read, write, or clear track and FX parameter automation envelopes, including setting points and auto-creating FX parameter envelopes in REAPER.

Instructions

List, read, write, or clear track or FX parameter automation envelopes. action: 'list' | 'get' | 'set' | 'clear'. For FX parameter automation, pass fx and param (envelope is auto-created on 'set'). Each point in points: {time_beats (or time_sec), value, shape (0=linear..5=bezier), tension}.

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": {
      "action": "<action>",
      "track": "<track>"
    },
    "name": "reaper_envelope"
  }
}

Input Schema

NameRequiredDescriptionDefault
fxNo
paramNo
trackYes
actionYes
pointsNo
end_beatsNo
start_beatsNo
envelope_nameNo
clear_existingNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry full behavioral weight. It usefully discloses that 'set' auto-creates a missing envelope, but it does not say what 'clear' destroys (all points vs. a range), whether it is reversible, or what happens when `clear_existing` is true on a set — meaningful gaps for a 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?

Four tightly packed lines, front-loaded with the action vocabulary and followed by the FX-specific condition and the point structure. No filler; only minor friction from dense inline notation like 'shape (0=linear..5=bezier)'.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists so return values needn't be explained, and the action/point semantics are covered. Still, with 9 parameters, three required-ish behaviors (range scoping, envelope naming, clear_existing) go unaddressed, which is not enough for an unannotated mutation tool of this size.

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 0%, so the description must compensate. It documents the `points` object shape in detail (time_beats/time_sec, value, shape code range, tension), which is valuable, but leaves `start_beats`, `end_beats`, `envelope_name`, and `clear_existing` unexplained — notably the range parameters that likely gate destructive clears.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb set and resource: 'List, read, write, or clear track or FX parameter automation envelopes,' then enumerates the exact action values. An agent can tell this handles automation envelopes rather than item or track editing, unlike any sibling.

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

Usage Guidelines4/5

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

Gives conditional routing inside the tool: for FX parameter envelopes pass `fx` and `param`, and the envelope is auto-created on 'set'. It does not compare itself to alternatives such as reaper_fx_set_params, so an agent must infer which tool to use for a static parameter value versus a curve.

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