Skip to main content
Glama

set_drum_pad_state

Plan or mute/solo a specific Drum Rack pad by MIDI note, using a guarded snapshot to prevent conflicts. Does not assign sounds to pads.

Instructions

Plan or mute/solo an exact populated Drum Rack pad by MIDI note with a guarded rack snapshot. Does not assign sounds to pads.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
muteNoMute pad.
noteYes
soloNoSolo pad.
dryRunNoOmit or true to return a plan; false requires a valid confirmationToken.
trackIdYesStable device-owner ID: track-N from list_tracks, return-N from get_set_mixer, or master.
deviceIdYesStable device ID returned by list_devices.
planHashNoHash returned by the matching dry run.
confirmationTokenNoShort-lived, single-use token returned by the matching dry run.
expectedStateVersionYesExact stateVersion observed immediately before planning.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and destructiveHint=false, which is thin. The description adds meaningful behavioral context: it can operate in a planning mode ('Plan'), it mutates mute/solo state, it requires an exact state version ('guarded rack snapshot'), and it explicitly does not assign sounds. It does not detail side effects on existing mute/solo states or confirmation requirements, but the schema covers the confirmation token.

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 sentences, front-loaded with the action and resource, and the exclusion is stated in a short second sentence. Every word earns its place; no fluff or repetition of schema details.

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 9-parameter mutation tool with no output schema, the description plus rich schema covers the core workflow: plan via dryRun, confirm with token, guard with expectedStateVersion. It does not explain return values or failure modes, but the schema's parameter descriptions carry much of that burden. The main gap is not describing what happens to existing mute/solo states on the pad, but that is a minor omission.

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 89%, so the schema already documents most parameters well. The description adds the semantic that the pad is identified by MIDI note and that the operation is guarded by expectedStateVersion, but it does not add meaning beyond the schema for individual parameters. Baseline 3 is appropriate.

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

Purpose5/5

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

The description states a specific verb ('Plan or mute/solo'), a precise resource ('exact populated Drum Rack pad by MIDI note'), and a key exclusion ('Does not assign sounds to pads'). This clearly distinguishes it from sound-assignment or pattern-planning siblings like plan_drum_pattern or set_device_parameters.

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 implies the two-phase plan/confirm workflow via 'Plan or mute/solo' and 'guarded rack snapshot', and the dryRun/confirmationToken schema makes the usage context clear. It does not explicitly name alternative tools or state when not to use it, but the guarded-snapshot language and exclusion of sound assignment give reasonable context.

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

Deploy Server

Other Tools