Skip to main content
Glama

set_chain

Idempotent

Change an Ableton rack chain's name, color, mute, solo, volume, pan, and Drum Rack pad note, output note, or choke group.

Instructions

Change a rack chain: name, colour, mute, solo, volume_db ("-inf" allowed), pan (-1..1 or "25L"), and for Drum Rack chains in_note (the pad that plays it, as a note name or number: this moves the chain to another pad), out_note and choke_group (0 = none, 1..16).

device: the rack (index, name or path). chain: index, name, drum note ("C1") or "return:0" for a return chain. Example: set_chain("Drums", "Drum Rack", "C1", volume_db=-3, choke_group=1).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
panNo
muteNo
nameNo
soloNo
chainYes
colorNo
trackYes
deviceYes
in_noteNo
out_noteNo
volume_dbNo
choke_groupNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true, destructiveHint=false and readOnlyHint=false, so the mutation/safety profile is covered. The description adds genuine behavioral context beyond that: setting in_note 'moves the chain to another pad', and choke_group 0 disables choking. It still omits permission requirements or what happens to unspecified fields.

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?

Front-loads the mutable attributes, then explains the device/chain addressing, then closes with a concrete example. Dense but each clause carries parameter meaning; a little tight to read but nothing is padding.

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 12-param mutation with no output schema and no param descriptions in the schema, the description supplies addressing rules, allowed value formats, and an example, which is enough to call it correctly. Only the track/color value formats remain gaps.

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

Parameters4/5

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

Schema description coverage is 0%, so the description must carry the load, and it does for most of the 12 params: volume_db accepts "-inf", pan accepts -1..1 or "25L", choke_group is 0..16, in_note moves the chain, and device/chain formats are given (index, name, path, "return:0"). It leaves track format and color format undocumented, so it falls short of fully compensating.

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 (change) and resource (rack chain) and enumerates the chain attributes that can be altered, so the agent knows exactly what is mutated. It does not name any sibling (e.g. set_device, set_device_parameters) to differentiate scope, but 'rack chain' is distinctive enough to place it apart from the generic set_* tools.

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?

The worked example set_chain("Drums", "Drum Rack", "C1", volume_db=-3, choke_group=1) shows how to invoke it, which implies usage. However there is no explicit when-to-use/when-not guidance and no mention of alternatives like set_device when the target is not a chain, so usage is only implied.

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