Skip to main content
Glama

set_instrument

Changes the sound of a MIDI track by replacing it with a preset or merging parameter tweaks into the current instrument.

Instructions

Change the sound of a MIDI track: sound = preset name (replaces it), or params = some parameters to tweak the current one (merged: e.g. {"cutoff": 900, "release": 0.6}). See instrument_params.

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

Input Schema

NameRequiredDescriptionDefault
typeNo
soundNo
trackYes
paramsNo
projectNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does usefully disclose the replace-vs-merge semantics and implies mutation, but says nothing about whether a preset change wipes out existing parameter tweaks, permissions, reversibility, or what is returned. For an unannotated mutation tool this is only partial disclosure.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two compact sentences, front-loaded with the action, then the two modes with an inline example. The example earns its place by showing merge syntax; nothing is redundant, though the parenthetical could be tightened.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema and no annotations mean the description is the only behavioral source, and it covers the two central parameters well but omits 2 of 5 parameters and any return/confirmation behavior. For a tool with a nested free-form object, a pointer on valid keys beyond instrument_params would help.

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 description coverage is 0% across 5 parameters, so the description must compensate. It adds real meaning for 'sound' (preset name, replaces) and 'params' (merged tweaks, with a concrete example object), but leaves 'type' and 'project' completely unexplained and does not say how 'track' is identified.

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 ('Change the sound of a MIDI track') and immediately splits it into two named modes: 'sound' replaces the preset, 'params' merges tweaks into the current one. An agent can tell what the tool does without opening the schema, though the relationship to related mixer/automation tools is never stated.

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?

The description gives explicit mode-selection guidance: use sound to replace the whole preset, use params to modify an existing one, and points to instrument_params for parameter discovery. What's missing is when NOT to use this tool, e.g. routing to set_automation or add_effect instead.

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