Skip to main content
Glama

set_tempo_map

Add, change, or remove tempo and time-signature changes in REAPER: tempo jumps, ramps, and odd-meter bars, all in one undo step.

Instructions

Adds, changes or removes tempo and time-signature changes: tempo jumps between sections, ramps (accelerando/ritardando), odd-meter bars. One undo step. Items stay at their bar positions; the starting tempo is set with set_tempo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clearNoRemove every change after the first before adding
changesNoTempo/time-signature changes, e.g. [{'bar': 17, 'bpm': 128}, {'bar': 33, 'numerator': 7, 'denominator': 8}]. For a ramp: [{'bar': 25, 'bpm': 120, 'ramp_to_next': true}, {'bar': 33, 'bpm': 140}]
remove_barsNoRemove the changes at these bars

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.19.1

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and adds useful context: one undo step, items remaining at their bar positions, and separation from set_tempo. It does not mention permissions or error cases, but for a DAW mutation tool with rich schema documentation this is solid behavioral disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three tight sentences with zero waste; the core action and its examples are front-loaded, followed by key constraints (one undo step, bar positions, set_tempo boundary). Every sentence earns its place.

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

Completeness4/5

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

For a three-parameter mutation tool with a fully described nested schema and no output schema, the description covers what the tool does, undo behavior, positional invariance, and the relationship to set_tempo. Additional detail on reading the map or failure modes would be nice but is not essential for correct invocation.

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 100%, and the nested TempoChange fields are well documented with examples, so the schema already does the heavy lifting. The description adds only high-level examples (ramps, odd-meter) that mirror the schema, fitting the baseline 3 for high schema coverage.

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?

States specific verbs (adds, changes, removes) and resource (tempo and time-signature changes), and distinguishes the scope from set_tempo by noting that the starting tempo is set there instead. An agent can tell it apart from siblings like get_tempo_map and set_tempo without opening the schema.

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?

Clearly indicates the situations it covers (tempo jumps, ramps, odd-meter bars) and explicitly routes the initial tempo to set_tempo. It does not, however, explicitly mention get_tempo_map for reading, which is the natural alternative for inspection.

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