Skip to main content
Glama
grandMA2 MCP
by drohi-r

create_filter_library

Generate a color-coded grandMA2 filter library with preset-type, combo, exclusion, and optional V/VT/E variants, overwriting filter pool slots when confirmed.

Instructions

Create a comprehensive Filter library with color-coded pool items (DESTRUCTIVE).

Generates filters for each PresetType (Dimmer, Position, Gobo, Color, Beam,
Focus, Control), useful multi-type combos, and "No X" exclusion filters.
Each filter is color-coded by category and imported as individual XML files.

Optionally generates Value/ValueTimes/Effects on/off variants for each base
filter (7 combos per filter, excluding all-off). V/VT/E toggles are embedded
in the XML as value="false", value_timing="false", effect="false" attributes.

Slot layout (default start_slot=3):
  - Slots 3-9: Single PresetType filters (7 items)
  - Slots 10-16: Combo filters (7 items, if include_combos)
  - Slots 17-23: "No X" exclusion filters (7 items, if include_exclusions)
  - Slots 24+: V/VT/E variants (N_base × 7, if include_vte)

Args:
    start_slot: First pool slot (default 3, preserving system filters 1-2).
    include_combos: Include multi-type combo filters (default True).
    include_exclusions: Include "No X" exclusion filters (default True).
    include_vte: Include Value/ValueTimes/Effects variants (default False).
        When True, generates 7 V/VT/E combos for each base filter.
    fixture_attributes: Show-specific attribute dict (same shape as FILTER_ATTRIBUTES).
        If None, uses hardcoded defaults (Mac 700 + Generic Dimmer).
        Call discover_filter_attributes() first to get accurate values for your show.
    confirm_destructive: Must be True to execute (overwrites filter pool entries).

Returns:
    str: JSON with filters_created, slots, color_scheme summary.

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": "create_filter_library"
  }
}

Input Schema

NameRequiredDescriptionDefault
start_slotNo
include_vteNo
include_combosNo
fixture_attributesNo
include_exclusionsNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/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 so well: it flags the operation as DESTRUCTIVE in the first line, names what is overwritten ('overwrites filter pool entries'), explains the confirm_destructive gate, and documents the exact slot ranges consumed. It even discloses the XML attribute encoding used for V/VT/E toggles.

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?

Well front-loaded with the destructive warning and organized into a slot-layout block plus an Args list, which suits the tool's complexity. There is minor redundancy: the V/VT/E variant explanation appears both in the prose and again under include_vte, and several arg defaults simply restate the schema, but neither bloats the definition badly.

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 destructive, six-parameter library generator this covers everything an agent needs: prerequisites, the safety gate, slot allocation, variant semantics, and fixture data sourcing. An output schema exists, so the brief 'Returns' line is sufficient and not required to be expanded.

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: all six parameters are documented with defaults and behavioral meaning (start_slot=3 preserves system filters 1-2; include_vte generates 7 combos per base filter; fixture_attributes expects the FILTER_ATTRIBUTES shape and falls back to Mac 700 + Generic Dimmer defaults). This adds real semantics the schema does not convey.

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 opens with a specific verb and resource ('Create a comprehensive Filter library'), then enumerates exactly what is generated: single PresetType filters, combos, 'No X' exclusions, and optional V/VT/E variants. This is far more specific than the bare tool name and lets an agent distinguish it from sibling library creators like create_matricks_library or architect_preset_library.

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?

It explicitly routes the agent to a sibling for prerequisite data: 'Call discover_filter_attributes() first to get accurate values for your show.' It also states that confirm_destructive must be True to execute. It does not offer a when-not-to-use condition or compare itself to other library-creation siblings, so it falls short of a 5.

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