Skip to main content
Glama

markers_apply

Batch edit markers and regions in REAPER: rename, reposition, recolor, or delete them in a single call.

Instructions

Batch edit (name/position/start/end/color) or delete markers and regions in one call.

Args: entries: JSON array. Each: {"marker_index":0, "name":"Line 12"}. Region bounds: {"marker_index":5, "start":10.0, "end":14.5}. Point marker position: {"marker_index":2, "position":8.0}. Color: {"marker_index":7, "color":[200,90,60]} (0-255 each). Delete: {"marker_index":9, "delete":true}. Only marker_index required. start/end only apply to regions, position only to point markers — a mismatched field (e.g. start/end on a point marker) is silently ignored, not an error. Non-delete changes apply first (in the order given); deletes apply last, in descending marker_index order, regardless of input order — this avoids a delete shifting the indices of markers processed later in the same batch. A bad marker_index is recorded in the response's errors array and does not abort the rest of the batch.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entriesYes
Behavior5/5

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

With no annotations, the description fully discloses behavioral traits: silent ignoring of invalid field combinations, the order of operations to avoid index shifting, and error handling that doesn't abort the batch. This is highly transparent.

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?

The description is well-structured with a summary sentence and detailed 'Args' section. It is front-loaded with the main purpose. Every sentence adds value, though it could be slightly more concise. Given the complexity, it is appropriately sized.

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?

The description lacks an explanation of the return value. It mentions an 'errors array' in the response but does not describe the full return structure. For a batch operation, knowing the response format (e.g., success count, error details) would improve completeness.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although the input schema has only one parameter 'entries' with 0% description coverage, the description compensates excellently. It provides detailed examples and semantics for each field, including marker_index, name, start, end, position, color, and delete, explaining constraints and behaviors (e.g., start/end only for regions).

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?

The description clearly states the tool's function: 'Batch edit (name/position/start/end/color) or delete markers and regions in one call.' It specifies the exact attributes that can be edited and distinguishes this batch operation from individual marker tools like marker_edit or marker_delete.

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

Usage Guidelines5/5

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

The description provides comprehensive usage guidance, including the exact format for entries, the behavior for mismatched fields (silently ignored), the order of operations (non-delete first, then deletes in descending order), and error handling (bad index recorded in errors, batch continues). It clearly implies this is for batch operations, contrasting with sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/xDarkzx/Reaper-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server