Skip to main content
Glama

reaper_set_loop

Idempotent

Set a REAPER loop or time selection range in seconds, beats, or bars, then enable or disable repeat playback.

Instructions

Set the loop/time selection range and/or toggle repeat.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "reaper_set_loop"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
unitNo'seconds', 'beats' (quarter notes from project start) or 'bars' (1-based, fractional allowed)seconds
startNo
repeatNoEnable/disable loop playback

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already declare this as a non-read-only, idempotent, non-destructive mutation, so the safety profile is covered. The description adds almost nothing beyond that: it does not say whether providing only start or only end is valid, whether the previous selection is cleared, or how repeat interacts with the range. For a mutation tool with 4 optional params, this is a thin disclosure.

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 efficient sentence with no filler, and the primary action is front-loaded. Its brevity is a virtue structurally, even though the content is under-specified rather than padded.

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 4-parameter mutation tool with no output schema and only 50% parameter documentation, the description leaves key behavior unexplained — null start/end semantics, partial updates, and whether repeat works independently of a range. It is not enough for an agent to invoke this confidently in edge cases.

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 50%: unit and repeat are documented in the schema, but start and end carry no descriptions. The description does not compensate, offering no explanation of whether start/end are absolute positions, what omitting them means, or whether they must be supplied together. It restates the toggle/general intent without adding meaning beyond the schema.

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 ("Set") tied to specific resources ("loop/time selection range") plus the repeat toggle, so the action is unmistakable. It does not differentiate itself from neighbors like reaper_set_cursor, but the purpose itself is clear.

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 guidance on when to use this versus reaper_set_cursor or other project-state tools, and no mention of prerequisites or side effects on existing selections. The only implicit hint is "and/or", suggesting parameters are optional, but no exclusions or alternatives are named.

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