Skip to main content
Glama

get_devices

Read-onlyIdempotent

Retrieve a track's device tree, including paths for racks, chains, and Drum Racks, to reference devices in other tools.

Instructions

Device tree of a track: every device with path ("1/0/0"), name_path ("Drum Rack/Kick/Simpler"), class, type and on/off; racks with chains (recursively), visible macros and variation count; Drum Racks with their non-empty pads (note, note name, pad and chain names). Pass a path as device to other tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
trackYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered. The description adds real behavioral context beyond structured fields: recursive chain traversal, visible macros, variation counts, and that only non-empty Drum Rack pads are listed.

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-loaded with the core purpose followed by progressively finer detail. One long sentence, but each clause (paths, macros, pads) carries distinct information with no filler.

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 no output schema, the description correctly carries the return-value burden and does so thoroughly for a read tool. The only real omission is explaining the `track` input, which is a minor gap given the otherwise complete return documentation.

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

Parameters2/5

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

Schema coverage is 0% and the lone parameter `track` (int or string) is never explained in the description – the agent cannot tell whether it expects an index, name, or path. The path format '1/0/0' describes output, not the `track` input, so it does not compensate for the gap.

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?

The description names a specific resource ('device tree of a track') and enumerates exactly what is returned, so the agent knows this differs from a single-device read like get_device. It does not explicitly name the closest sibling for differentiation, but the scope is unambiguous.

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?

'Pass a path as `device` to other tools' implies a workflow (this tool feeds others) but stops short of stating when to use it versus get_device or other device siblings. Usage is implied rather than spelled out.

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