Skip to main content
Glama

add_marker

Adds a marker or a region (if end_bar provided) to a REAPER project for labeling song sections like choruses.

Instructions

Adds a marker, or a region when end_bar is given (e.g. 'Chorus' from bar 17 to 25).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
barYesBar number, 1-based
beatNoBeat within the bar, 1-based (default 1)
nameYes
colorNo#RRGGBB
end_barNoGive this to make a region (e.g. a song section) ending at this bar

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.19.1

TDQS

B3.3/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 discloses that supplying end_bar yields a region, but that fact is already stated in the end_bar schema field, so the description adds little beyond it. Nothing is said about permissions, overlap with existing markers, reversibility, or failure modes 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.

Conciseness5/5

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

A single tightly written sentence that front-loads the primary action and appends the conditional region behavior as a parenthetical example. Every clause earns its place with no filler.

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?

For a 5-parameter mutation tool with no annotations and no output schema, the description is thin: it omits ordering constraints (end_bar relative to bar), what happens to an existing marker of the same name, and confirmation of what is returned. The schema covers most parameter detail, but behavioral context is left largely unaddressed.

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 high (80%), with bar, beat, color, and end_bar each documented in the schema, so the baseline is 3. The description adds only the end_bar-as-region relationship and an illustrative example, which mildly reinforces but does not substantially extend the schema's own wording.

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 specific verb ('Adds') and resource ('a marker'), plus a clear dual behavior: a marker, or a region when end_bar is supplied. It is distinct from siblings like edit_marker and delete_marker by virtue of the create verb, though it never explicitly names them to reinforce the distinction.

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

Usage Guidelines3/5

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

It implicitly tells the agent when a region is created (when end_bar is given), which is useful conditional guidance, but offers no when-to-use-vs-alternatives framing, no prerequisites (e.g. project must be open), and no steering away from edit_marker for modifying existing markers.

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