Skip to main content
Glama

reaper_delete_track

Destructive

Delete a REAPER track along with its items and FX, then automatically renumber the following tracks. Use it to remove unwanted tracks and keep session numbering consistent.

Instructions

Delete a track with its items and FX. Following tracks are renumbered.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "track": "<track>"
    },
    "name": "reaper_delete_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackYesTrack number as shown in REAPER (1-based, 0 = master) or exact track name

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already flag destructiveHint=true and non-idempotent, but the description adds genuinely new behavior: what is destroyed alongside the track (items and FX) and the side effect that following tracks are renumbered. That renumbering note is especially useful since it explains downstream track-number invalidation.

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?

Two short sentences, both load-bearing: the destructive scope comes first, the renumbering consequence second. No filler, no repetition of the name.

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 single-parameter mutation with rich annotations and a fully documented schema, this covers the essentials: what is removed and the side effect on sibling tracks. Minor gaps such as whether the track must exist or how failures are reported are tolerable given no output schema.

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 100% and the parameter's own description already explains 1-based numbering and that 0 means master. The tool description reinforces the track-level semantics and the naming/number duality is fully documented, so the agent loses nothing.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Delete a track') and adds cascade scope ('with its items and FX'), which separates it from reaper_delete_item or reaper_update_track. It stops short of naming a sibling explicitly, so it's clear but not maximally differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is only implied: an agent can infer this is the way to remove a whole track rather than single items, but the description never states when to prefer it over reaper_delete_item or what prerequisites exist before deleting (e.g., unsaved project state, undo behavior).

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