Skip to main content
Glama

render_regions

Renders each project region to its own file using REAPER’s render settings, with a naming pattern and optional selection filter. Use it to batch-export regions or preview output files without writing them.

Instructions

Render each region of the project to its own file, using the project's render settings. pattern: file name pattern; $region, $regionnumber, $project are available, and it may name subdirectories. REAPER numbers names that would clash ("take-001", "take-002"). selected_only: render only the regions selected in REAPER; with none selected, REAPER renders all of them. dry_run: return the project's regions and the files REAPER would write, without rendering. It sets the render settings and restores them. Fails without rendering if any output file already exists; never deletes files. Blocks until every file is written; status is then "complete". Gives up with "stalled" once the files stop growing for stall_timeout_seconds (longer while REAPER holds a scratch file), or "timeout" after timeout_seconds in total. Region "index" is the position among regions, as in get_project_info.

Input Schema

NameRequiredDescriptionDefault
dry_runNo
patternNo$region
selected_onlyNo
timeout_secondsNo
output_directoryYes
stall_timeout_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.6/5.0
Behavior5/5

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

With no annotations provided, the description carries the full burden and does so well: it discloses file creation, temporary render-setting changes in dry_run, refusal to overwrite existing files, no deletion behavior, blocking until completion, and the complete/stalled/timeout statuses. The stall detection condition is also explained clearly.

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?

The description is front-loaded with the core action and then organized around parameter names and behavioral conditions. It is dense but every sentence adds useful operational detail, and the length is justified for a six-parameter tool with no annotations.

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 tool with no annotations and no output schema, the description covers most behavioral and failure semantics thoroughly, including dry_run returns and final status values. The main gap is that the required output_directory parameter is not described, leaving the destination semantics partially implicit.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must compensate. It explains pattern variables and collision numbering, selected_only behavior, dry_run behavior, and both timeout-related parameters, but it never explains the required output_directory parameter.

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 gives a specific verb, resource, and scope: render each project region to its own file using project render settings. That scope implicitly distinguishes it from whole-project, stem, and time-selection renders without ambiguity.

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?

It clearly explains when selected_only applies and what dry_run does, including the failure behavior when output files already exist. It does not explicitly name sibling alternatives such as render_project or render_stems, so selection guidance is strong but not fully comparative.

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