Skip to main content
Glama

mcp_opendaw_clear_region_notes

Destructive

Remove all notes from a region while preserving its position, duration, and track placement. Use to erase and rewrite musical content without deleting the region container.

Instructions

Clear all notes from a region while keeping the region on the timeline.

Removes every note event from the specified region(s) but preserves the region itself — its position, duration, and track placement stay intact. This is the "erase and rewrite" operation: the producer wants to clear a region to start fresh, without deleting and recreating the region container.

Different from delete_note_region (which removes the entire region from the timeline) and delete_note (which removes one note at a time).

unit_index: AU index. track_index: Note track index. region_index: Region index (-1 = all note regions on the track).

Returns notes cleared and remaining region info.

Examples: clear_region_notes(unit_index=0, track_index=0, region_index=0) -> Erase all notes in region 0, region stays on timeline clear_region_notes(unit_index=0, track_index=0, region_index=-1) -> Erase all notes in ALL regions on track 0

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
unit_indexYes
track_indexYes
region_indexNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Even though the annotation destructiveHint=true already signals mutating behavior, the description goes further by explaining precisely what is preserved (region position, duration, track placement) and what is returned (notes cleared, remaining region info). It also documents the special -1 behavior, adding transparency beyond the annotation.

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 well-structured: a one-line summary, a clarifying elaboration, differentiation from siblings, parameter explanations, return value note, and two examples. Every sentence adds value, and the front-loaded summary immediately conveys the core purpose.

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

Completeness5/5

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

Given the tool's destructive nature and three parameters, the description is complete: it covers behavior, scope, special values, return values, and even provides worked examples. The output schema isn't shown, but the return value is described in prose, and the sibling differentiation fills any remaining context gaps.

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?

The input schema has 0% description coverage, so the description must fully compensate. It does: unit_index, track_index, and region_index are all explained, with the crucial -1 = all note regions on the track semantics. Concrete examples make parameter usage crystal clear.

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 opens with a specific verb+resource: 'Clear all notes from a region while keeping the region on the timeline.' It clearly distinguishes itself from siblings by explicitly comparing to delete_note_region and delete_note, making the purpose unambiguous.

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?

It explicitly states when to use this tool: as the 'erase and rewrite' operation when the producer wants to start fresh without deleting the region container. It also names alternatives and what they do differently, giving clear when-to-use vs. when-not-to-use guidance.

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/ameobius-ai/opendaw-mcp'

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