Skip to main content
Glama

remove_track

Destructive

Deletes an instrument track and its clips from the current LMMS project after user confirmation. Use it to remove unwanted tracks; later track paths shift down by one.

Instructions

Remove an instrument track and all its clips. Ask the user to confirm first.

This cannot be undone. The index paths of later tracks move down by one.

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": "remove_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
trackYesA track handle or path, for example tracks/"Bass" or tracks/0.

Output Schema

NameRequiredDescriptionDefault
removedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds real information beyond them: the deletion cascades to clips, it is irreversible, and later track index paths shift down by one. The index-shift side effect is exactly the kind of downstream consequence an agent could not infer from the schema or annotations.

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?

Three short sentences, front-loaded with the action and scope, followed by the confirmation requirement, the irreversibility warning, and the index-shift side effect. Every sentence carries distinct, load-bearing information with no repetition.

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?

An output schema exists, so return values need no explanation, and the destructive profile plus side effects are well covered. Minor gap: it does not mention recovering via the undo sibling or checking list_tracks for valid handles, which would round out an otherwise complete definition for a one-parameter destructive tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is a single parameter and schema description coverage is 100%, with the schema already supplying handle/path examples such as tracks/"Bass" and tracks/0. The description adds no further meaning about the track argument, so the baseline of 3 applies.

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 ('Remove an instrument track') and expands the scope to include 'all its clips', so the agent knows this is a cascading deletion rather than a track-only unlink. It is clearly distinguishable from sibling verbs like add_instrument_track or list_tracks, though it never names an alternative explicitly.

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?

Gives an actionable precondition — 'Ask the user to confirm first' — which directly shapes agent behavior before invocation. It does not describe when to choose this over related maintenance actions (e.g., deleting only clips), so it falls short of full when/when-not guidance.

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