Skip to main content
Glama

edit_section

Clear or replace MIDI notes and control changes in a time range, selecting tracks and start/end times. Choose to edit notes, CCs, or both.

Instructions

Clear+replace notes/CCs in a time range. For CC-only fixes, use rewrite_cc instead.

Args: tracks: JSON array. Each: {"track_index":0, "notes":[...], "ccs":[...]}. Omit notes/ccs to just clear. Or "all". start_time: Range start in seconds. end_time: Range end in seconds. mode: "all" (default), "ccs_only", or "notes_only". trim_item: Shorten item to start_time (for cutting endings).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNoall
tracksYes
end_timeYes
trim_itemNo
start_timeYes
Behavior3/5

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

Annotations are absent, so description must bear full burden. Describes what it does (clear+replace) and modes, but lacks disclosure of side effects, destructiveness, or authorization requirements beyond the obvious.

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?

Description is concise and front-loaded with purpose. Uses clear bullet-like Args format without extraneous words. Every sentence adds value.

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?

Given 5 parameters, 3 required, no output schema, description covers core purpose, parameter details, and sibling differentiation. Lacks some details like return behavior and error handling, but sufficient for most use cases.

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 has 0% coverage; description compensates with detailed explanations for all 5 parameters: tracks JSON structure, start/end time units, mode options, trim_item usage. Adds significant meaning beyond 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?

Description clearly states verb 'Clear+replace' and resource 'notes/CCs in a time range'. Distinguishes from sibling 'rewrite_cc' by specifying its use case for CC-only fixes.

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?

Explicitly tells when to use this tool vs alternatives: 'For CC-only fixes, use rewrite_cc instead.' Provides clear context for different modes and parameters.

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