Skip to main content
Glama

get_devices

Read-onlyIdempotent

List a track's device chain with names, class names, on/off states, and parameter counts. Use the reported indices to address devices in other operations while keeping the chain unchanged.

Instructions

List a track's device chain: names, class names, on/off, parameter counts.

Reads the chain and changes nothing in it. The device indices it reports are the
ones set_parameter, delete_device and ``song.move_device`` are addressed by.

Returns:
    Dictionary with the device count and one entry per device carrying its index,
    name, class name, on/off state, parameter count and ``configure_needed`` flag.
    A track with an empty chain answers ``device_count: 0`` rather than an error.

Note:
    Read the parameter count first. A third-party plug-in reporting exactly one
    parameter has not been configured, which the ``configure_needed`` flag says
    outright. That is a limit in Live, not in this server, and only Live's GUI
    lifts it. The probe behind that flag settles one question, whether the count
    is exactly one or more than one, so where it could not settle it the count
    arrives as ``parameter_count_at_least`` instead.

    For the parameters themselves, with their ranges and display units, call
    ``describe`` with ``with_parameters=True``: this tool counts them and does
    not list them. For the mixer, sends and clip slots on the same track, call
    get_track instead of adding a second call here.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoWhich collection the track index counts in: 'track' for song.tracks, 'return' for song.return_tracks, 'master' for the master track, where the track index is ignored.track
trackYesTrack index in song.tracks, counted from 0.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Changed3 schema fields changedv0.1.1
    • addedInput schema / properties / kind / description
      Added value: +"Which collection the track index counts in: 'track' for song.tracks, 'return' for song.return_tracks, 'master' for the master track, where the track index is ignored."
    • addedInput schema / properties / kind / enum
      Added value: +[
      +  "track",
      +  "return",
      +  "master"
      +]
    • addedInput schema / properties / track / description
      Added value: +"Track index in song.tracks, counted from 0."
  2. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, and the description's 'Reads the chain and changes nothing in it' aligns with them. Beyond annotations it adds substantial behavior: the empty-chain case returns device_count: 0 rather than an error, the configure_needed flag semantics for third-party plug-ins, the parameter_count_at_least sentinel when the probe cannot settle, and the note that only Live's GUI lifts the configuration limitation.

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?

The description is front-loaded with the one-sentence purpose followed by the one-line safety statement, and uses clear Returns/Note sections. It is long, but the Note's content about configure_needed and parameter_count_at_least is substantive and necessary for correct interpretation. The Returns section slightly overlaps with the existing output schema, which keeps it from a perfect 5.

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

Completeness5/5

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

For a two-parameter read-only tool with 100% schema coverage, an output schema, and safety annotations, the description covers everything an agent needs: purpose, non-mutating behavior, return-shape narrative, edge case handling, the configure_needed caveat, and routing to sibling tools. No critical gap remains for correct invocation.

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 100%: both 'kind' (with its enum of track/return/master) and 'track' (index in song.tracks counted from 0) are fully documented in the schema. The description adds no parameter-specific meaning beyond the schema, which is acceptable per the baseline-3 rule when schema coverage is high.

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 opening sentence names a specific verb and resource ('List a track's device chain') and enumerates the exact fields returned ('names, class names, on/off, parameter counts'). It differentiates itself from siblings by explicitly stating it counts parameters but does not list them (that is describe's job) and that mixer/sends/clip slots belong to get_track.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit routing: 'call ``describe`` with ``with_parameters=True``' for parameter details, and 'call get_track instead of adding a second call here' for mixer/sends/clip slots. It also provides sequencing guidance ('Read the parameter count first') and explains that reported device indices are the addressing scheme used by set_parameter, delete_device, and song.move_device, telling the agent exactly when this tool's output is needed.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/romanstark/live-maestro'

If you have feedback or need assistance with the MCP directory API, please join our Discord server