Skip to main content
Glama

mcp_opendaw_delete_section

Destructive

Deletes all audio regions within a specified beat range across all tracks, clearing sections like bars 9-12 or an intro. Use it to remove unwanted sections from your arrangement in one call.

Instructions

Delete all regions within a beat range across all tracks.

Scans all tracks across all specified audio units, finds every region that overlaps the [from_beat, to_beat) range, and deletes each one. This is the arrangement cleanup tool: "clear bars 9-12 so I can put something else there" or "remove the intro (bars 1-4) from all tracks".

Completes the section CRUD trilogy: duplicate (copy), move (cut-paste), delete (remove). One call replaces N delete_region calls.

from_beat: Start of the section to delete (beats). to_beat: End of the section to delete (beats, exclusive). unit_indices: Comma-separated AU indices to scan (default: all AUs).

Returns number of regions deleted, per-track details, and remaining counts.

Examples: delete_section(from_beat=0, to_beat=16) -> Remove first 4 bars from ALL tracks across ALL audio units delete_section(from_beat=32, to_beat=48, unit_indices="0,1") -> Remove bars 9-12 from AUs 0 and 1 only

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
to_beatYes
from_beatYes
unit_indicesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

The description goes far beyond the destructiveHint annotation. It explains the exact scanning behavior, the half-open interval [from_beat, to_beat), the optional unit_indices restriction, and what is returned ('number of regions deleted, per-track details, and remaining counts'). This gives the agent a thorough understanding of the tool's actions and side effects.

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 efficiently structured: a one-sentence summary, then behavior, use cases, parameters, return value, and two examples. Every sentence adds value, and the content is well-organized and front-loaded. Although it is longer than typical descriptions, the length is justified by the tool's complexity and the lack of parameter descriptions in the schema.

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 complexity (multiple tracks, range semantics, optional unit filtering), the description is remarkably complete. It covers the action, the scope, the parameters, and the return value. The presence of an output schema means the description need not detail return structure, but it does anyway. There are no significant gaps for an agent to misuse the tool.

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?

With schema description coverage at 0%, the description fully compensates by explaining each parameter: from_beat (start), to_beat (exclusive end), and unit_indices (comma-separated AU indices, defaults to all AUs). The examples further clarify usage. This is exactly what a well-compensated parameter section looks like.

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+scope: 'Delete all regions within a beat range across all tracks.' It distinguishes itself from the sibling delete_region by explicitly saying 'One call replaces N delete_region calls' and positions itself within the CRUD trilogy (duplicate/move/delete). This makes the tool's function unmistakable and differentiated.

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?

The description provides concrete use cases ('clear bars 9-12') and explicitly contrasts with delete_region ('One call replaces N delete_region calls'). It does not explicitly state when NOT to use it (e.g., for a single region), but the context is clear enough that an agent can infer the appropriate scenario. The missing explicit exclusion prevents a 5.

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