Skip to main content
Glama

get_rack_info

Read-only

Inspect Instrument, Effect, or Drum Rack chains, nested devices, and occupied drum pads, returning chain and device indexes for parameter edits or pad notes for drum pad updates.

Instructions

Inspect an Instrument/Effect/Drum Rack's chains (and nested devices) and/or occupied drum pads.

Use the returned chain_index and chain_device_index with get_device_parameters / set_device_parameter, or pad notes with set_drum_pad.

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_index": "<track_index>",
      "device_index": "<device_index>"
    },
    "name": "get_rack_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
kindNochains
track_indexYesZero-based index of a regular track in the Live set.
device_indexYesZero-based device position in the target track's device chain.

Output Schema

NameRequiredDescriptionDefault
dataYes
errorNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv2.0.1

TDQS

A4.2/5.0
Behavior4/5

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

readOnlyHint=true already tells the agent this is a safe inspection, so the description's job is lighter. It adds genuinely useful behavior context: the inspection reaches nested devices inside chains and returns indices expressed in a specific index space that other tools consume, which is not derivable from the name or annotations. It does not describe failure modes for non-rack devices or empty chains.

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, both front-loaded with the actionable information: what gets inspected first, then what to do with the output. No filler and no restatement of the tool name.

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?

With an output schema present, return values need not be explained, and the read-only annotation covers safety; the description completes the picture by tying indices to downstream tools. The remaining gap is that the `kind` modes and error behavior for non-rack devices are left implicit.

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 67%, with track_index and device_index documented in-schema while the `kind` enum has no schema description. The phrase "chains ... and/or occupied drum pads" loosely maps onto the chains/drum_pads/both enum, but the description never names the parameter or explains how each mode changes the result, so the mapping is inferential rather than explicit.

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 gives a specific verb ("Inspect") and a specific resource ("Instrument/Effect/Drum Rack's chains (and nested devices) and/or occupied drum pads"), which is far more precise than the bare name get_rack_info. It also implicitly differentiates itself from get_device_parameters by positioning itself as the source of chain_index/chain_device_index that those tools consume.

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 second sentence states a concrete usage pattern: call this first to obtain chain_index/chain_device_index for get_device_parameters/set_device_parameter, or pad notes for set_drum_pad. It stops short of explicit exclusions (e.g., what to do if the device is not a rack), so it is strong context rather than 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.