Skip to main content
Glama
grandMA2 MCP
by drohi-r

browse_preset_type

Browse the grandMA2 preset-type feature tree to list features, attributes, or subattributes at a chosen depth. Use it to discover valid indexes before addressing preset-type children.

Instructions

Browse the feature/attribute tree under a preset type (SAFE_READ).

Navigates the grandMA2 LiveSetup preset-type cd-tree and lists children
at the requested depth. The tree structure (live-verified v3.9.60.65):

  cd 10.2.N       → Features under PresetType N
  cd 10.2.N.M     → Attributes under Feature M
  cd 10.2.N.M.K   → SubAttributes under Attribute K  (leaf level)

Indexes at each level use sequential position (1 = first listed child),
NOT the internal library ID shown in the output.

Args:
    preset_type_id: Preset type to browse (1=Dimmer, 2=Position, 3=Gobo,
        4=Color, 5=Beam, 6=Focus, 7=Control, 8=Shapers, 9=Video)
    depth: How deep to traverse (1=features only, 2=+attributes,
        3=+subattributes). Defaults to 1.

Returns:
    str: JSON with the tree structure at the requested depth.

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": {
      "preset_type_id": "<preset_type_id>"
    },
    "name": "browse_preset_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
depthNo
preset_type_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it declares the operation SAFE_READ, states it navigates the grandMA2 LiveSetup cd-tree, gives the live-verified version, and explicitly warns that indexes are sequential positions rather than internal library IDs — a behavioral trap worth flagging. It stops short of describing performance, session requirements, or what happens at an empty/nonexistent branch.

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 purpose and safety tag are front-loaded, and the indented cd-tree diagram and Args/Returns blocks are easy to scan. The tree is somewhat verbose for what it conveys, but each line (depth semantics, index caveat) earns its place; nothing is redundant 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?

Given a two-parameter tool with an output schema and 0% schema coverage, the description covers the parameters, the return shape (JSON tree at requested depth), and indexing semantics, which is enough to call it correctly. The only gap is operational context such as session/prerequisite state before invocation.

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

Parameters5/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 compensate, and it does: every preset_type_id value 1–9 is enumerated with names, and all three depth levels are explained with what each adds. It also clarifies that traversal indexes are positional, not library IDs, which is semantic information the schema cannot convey.

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 first line gives a specific verb and resource: browse the feature/attribute tree under a preset type, tagged SAFE_READ. It is clearly distinguishable from mutating siblings like store_new_preset or apply_preset. It does not explicitly contrast with the similarly named discover_fixture_type_attributes, so sibling differentiation is only partial.

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 description implies when to use it — when you need the cd-tree structure under a LiveSetup preset type — and the SAFE_READ tag signals it is a non-mutating inspection. However, it never states when to prefer this over a sibling such as discover_fixture_type_attributes, nor does it describe prerequisites (e.g., a connected console session or an active showfile).

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