Skip to main content
Glama
grandMA2 MCP
by drohi-r

architect_preset_library

Generates a grandMA2 preset library from the current patch with selectable coverage strategies, dry-run planning, and safety confirmation before sending commands.

Instructions

Architect a complete preset library against the current patch.

Strategies (per spec §C.4):
  - ``full-coverage`` — universal color (8 hues + warm/cool wash) + position
    + selective gobo/beam/focus/control + MIB for movers
  - ``minimal-viable`` — 4 cardinal hues only, no position/selective
  - ``color-first`` — 12-hue wheel + warm/cool + minimal position

Args:
    patch_filter: MA2 selection spec to constrain — None scans whole patch.
        (Path A note: filter wired through patch_reader's existing scope.)
    strategy: One of ``full-coverage`` | ``minimal-viable`` | ``color-first``.
    dry_run: When True, build the plan but don't send any commands.
    confirm_destructive: Required for ``dry_run=False``.

Returns:
    JSON envelope: ``{strategy, reference_fixtures, plan, coverage_report,
    naming_convention, expert_review, summary, dry_run, executed_steps, blocked}``.

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

Input Schema

NameRequiredDescriptionDefault
dry_runNo
strategyNofull-coverage
patch_filterNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the mutation gate ('confirm_destructive: Required for dry_run=False'), that dry runs build a plan without sending commands, and that a 'blocked' result is possible. It never says whether existing presets are overwritten or deleted, what permissions or patch state are required, or how many commands may be sent, which are the key risks for a mutating bulk-write tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then cleanly sectioned into Strategies, Args, and Returns; every line maps to a decision the caller makes. The only waste is the internal '(Path A note: filter wired through patch_reader's existing scope)' aside, which is minor.

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 four-parameter, mutating bulk tool, the strategy semantics, safety gating, and parameter meanings are all present, and the return keys are listed despite an output schema existing. What is missing is the effect on pre-existing presets and any precondition about the loaded show/patch.

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?

Schema coverage is 0%, and the description compensates by documenting all four arguments, including the three strategy enum values that the schema does not encode. The patch_filter entry explains 'None scans whole patch' and gives a MA2 selection spec reference, though it omits spec syntax details and includes an implementation aside.

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: 'Architect a complete preset library against the current patch,' and the three strategies make the scope concrete. It does not differentiate itself from sibling creators such as create_filter_library or create_matricks_library, so an agent must infer which builder to use.

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 usable selection context: the three strategies are described by content (hues, position, gobo/beam coverage), and the dry_run/confirm_destructive pair tells the agent to plan first and confirm before executing. It stops short of explicit when-to-use-this-instead-of-a-sibling guidance or prerequisites such as 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