Skip to main content
Glama

remove_notes_extended

Remove MIDI notes from a clip by setting pitch and time boundaries. Specify track, clip, pitch span, and time span to delete notes within the given range.

Instructions

Remove MIDI notes from a clip within an explicit pitch and time range.

All four range parameters are required. Use from_pitch=0, pitch_span=128 to span all pitches; use from_time=0 and time_span=999999 to span the full clip.

Args: track_index: Zero-based index of the track. clip_index: Zero-based index of the clip slot. from_pitch: Starting MIDI pitch (0-127). pitch_span: Number of pitches to cover (1-128). from_time: Start time in beats. time_span: Duration in beats to remove notes within.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
from_timeYes
time_spanYes
clip_indexYes
from_pitchYes
pitch_spanYes
track_indexYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It explains the range-based behavior and parameter constraints, but does not disclose side effects such as whether the operation is undoable, what happens with out-of-bounds indices, or whether it is destructive beyond the obvious 'remove' action.

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 concise purpose statement, a note on required parameters with usage guidance, and a clear Args list. Every sentence contributes information, with no extraneous content.

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?

The description covers the key aspects: what the tool does, all parameter semantics, and how to span full ranges. It doesn't explicitly mention prerequisites like valid track/clip indices or that the clip must be a MIDI clip, but these are implied. Given the output schema exists, return values are not needed.

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?

Schema coverage is 0%, but the description compensates fully with an Args list that explains each parameter, including valid ranges (e.g., from_pitch 0-127, pitch_span 1-128) and how to use them for full-span selection. This adds essential meaning beyond the bare schema.

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 uses a specific verb ('Remove') with a clear resource ('MIDI notes from a clip') and a precise scope ('within an explicit pitch and time range'). This distinguishes it from sibling tools like remove_notes_from_clip and clear_clip_notes, which lack the range qualifier.

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 states that all four range parameters are required and provides explicit instructions for spanning all pitches/time. However, it does not mention alternatives or when to use this over other note-removal tools, so it stops short of full exclusion 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/alaarab/livemcp'

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