Skip to main content
Glama
grandMA2 MCP
by drohi-r

discover_filter_attributes

Discovers show-specific filter attributes from patched fixture types so you can build accurate filter libraries for non-default fixtures.

Instructions

Discover actual filter attributes from the current show's fixture library (SAFE_READ).

Browses PresetTypes 1-7 (Dimmer through Control) at depth 2 to collect
attribute names from all patched fixture types. Returns a dict matching the
shape of FILTER_ATTRIBUTES in constants.py but with show-specific values.

Use this before create_filter_library if your show uses fixtures other than
Mac 700 Profile Extended + Generic Dimmer (the defaults in FILTER_ATTRIBUTES).

Returns:
    str: JSON dict mapping category names to attribute name lists.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "discover_filter_attributes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden, and it does flag SAFE_READ plus the internal traversal depth and preset-type range. However, it does not say what happens on an empty or unpatched show, whether depth-2 traversal misses attributes, or how costly the browse is — meaningful gaps for an unannotated tool.

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 one-line purpose, then mechanism, then the usage rule. There is mild duplication: the prose says it 'returns a dict matching the shape of FILTER_ATTRIBUTES' and the Returns block restates the JSON dict return, which is redundant given an output schema exists.

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 parameterless read tool with an output schema, the definition covers purpose, mechanism, and the decision to call it before create_filter_library. It is close to complete; the only missing piece is how it relates to the similarly named discover_fixture_type_attributes sibling.

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

Parameters4/5

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

Zero parameters, so the baseline is 4; there is no parameter meaning to add or omit. The description appropriately spends its space on scope and return shape instead of inventing argument details.

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?

States a specific verb and resource ('Discover actual filter attributes from the current show's fixture library') and adds the mechanism (browsing PresetTypes 1-7 at depth 2) plus a concrete output shape. It partially differentiates from create_filter_library by naming it, but does not distinguish itself from the sibling discover_fixture_type_attributes, which sounds closely related.

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?

Gives an explicit trigger condition: use it before create_filter_library when the show's fixtures differ from the Mac 700 Profile Extended + Generic Dimmer defaults. That also implies when to skip it (defaults only). No other exclusions or alternatives are named, so it stops short of a full when/when-not treatment.

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