Skip to main content
Glama
grandMA2 MCP
by drohi-r

create_presets_for_patch

Generates capability-aware preset commands from a grandMA2 patch, storing applicable preset entries on capable fixtures and flagging value-dependent presets for manual completion.

Instructions

Create presets natively from the patch, capability-aware (DESTRUCTIVE).

Combines the preset-library architect plan (architect_preset_library)
with the fixture-type model: each preset entry is only applied to
fixtures whose type actually has the required capability (color presets
to color-mixing fixtures, position to movers, etc.).

Entries with concrete values (the cardinal color presets) are stored
directly: selection of capable fixtures -> attribute values -> Store
Preset. Entries declared without concrete values (position, gobo, MIB —
which need operator-set reference values) are returned as ``declared``
for manual completion, matching the declared-vs-stored calibration.

Args:
    strategy: full-coverage | minimal-viable | color-first.
    dry_run: When True (default), return the command plan without executing.
    confirm_destructive: Must be True to execute with dry_run=False.

Returns:
    str: JSON with stored_plan (per-preset command lists), declared_only,
    skipped (no capable fixtures), executed_presets, blocked, risk_tier.

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_presets_for_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
strategyNofull-coverage
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden, and it does flag the operation as DESTRUCTIVE and explain the two-step gate (dry_run defaults True; confirm_destructive must be True to execute). It also previews outcome buckets (skipped, executed_presets, blocked, risk_tier), but it never states required permissions, whether partial execution is rolled back, or what 'blocked' conditions actually trigger.

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

Conciseness3/5

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

The key warning is front-loaded and the Args/Returns structure is scannable, but the middle paragraph is dense and leans on internal jargon ('declared-vs-stored calibration', 'fixture-type model') that costs more than it clarifies. The Returns block also restates output-schema content.

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 destructive, capability-filtered bulk operation, the description covers the gating model, the capability-matching logic, and the result categories, which is close to sufficient. Remaining gaps are the meaning of individual strategy values and the behaviour of 'blocked' outcomes, though the presence of an output schema offsets some of the return-value burden.

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%, so the description must carry the parameters, and all three are addressed: the three strategy values are enumerated (which the schema does not do), dry_run's default and effect are explained, and confirm_destructive's precondition is stated. The gap is that the strategy values are named but not differentiated semantically — an agent cannot tell what 'color-first' actually changes versus 'minimal-viable'.

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 definition opens with a specific verb and resource ('Create presets natively from the patch') and adds a distinguishing qualifier ('capability-aware', 'DESTRUCTIVE'). It also positions itself relative to the sibling planner (architect_preset_library), so an agent can tell it is the execution step rather than the planning step.

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?

Usage is implied through the dry_run/confirm_destructive gating and through the distinction between entries that get stored versus those returned as 'declared'. However, there is no explicit statement of when to call architect_preset_library first, when to choose this over create_filter_library or apply_preset, or which strategy value fits which situation.

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