Skip to main content
Glama

add_instrument_track

Adds an instrument track to the end of the Song Editor using a plugin selected from list_plugins. Use it to create a new instrument channel before writing MIDI or adjusting parameters.

Instructions

Add an instrument track at the end of the Song Editor. Call list_plugins first.

This cannot be undone with undo.

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": {
      "plugin": "<plugin>"
    },
    "name": "add_instrument_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional track name. Default: the plugin's display name.
pluginYesA plugin name or display name from list_plugins, for example tripleoscillator.

Output Schema

NameRequiredDescriptionDefault
panNo
nameYes
pathYes
soloYes
typeYes
indexYes
mutedYes
handleYes
volumeNo
clip_countYes
instrumentNo
mixer_channelNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations declare readOnlyHint=false and destructiveHint=false; the description adds the crucial behavioral detail that the change is not reversible via undo, which the annotations do not convey. It stops short of describing side effects such as whether the new track becomes selected or active, and the irreversibility sits in mild tension with destructiveHint=false.

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, with no filler. Each sentence carries distinct information: what it does, what to do first, and the irreversibility warning.

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 annotations plus the description cover safety and prerequisites. Minor gaps remain around failure behavior for an unknown plugin name and post-add state changes, but nothing essential for correct invocation is missing.

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?

Schema coverage is 100%, so both parameters (plugin, name) are already fully documented with defaults and examples. The description only hints at the plugin parameter's source via "Call list_plugins first" and adds no syntax or naming semantics beyond that, matching the baseline for high-coverage schemas.

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 ("Add an instrument track") plus placement ("at the end of the Song Editor"), which distinguishes it from the MIDI-clip sibling. It does not explicitly contrast with alternatives like add_midi_clip, so it falls just short of the top mark.

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?

"Call list_plugins first" gives a concrete prerequisite and implicitly points at the sibling that supplies valid plugin values. There is no statement of when-not to use it (e.g., duplicate tracks, MIDI vs instrument), so no exclusions are covered.

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