Skip to main content
Glama
grandMA2 MCP
by drohi-r

build_show_from_patch

Build a show scaffold from the current patch for rock-band, festival, theatrical, DJ, broadcast, or corporate setups; default to dry run and require confirmation before destructive execution.

Instructions

Build an expert-grade show scaffold from the current patch.

Strategies (per spec §B.1): ``rock-band`` | ``festival`` | ``theatrical``
| ``dj`` | ``broadcast`` | ``corporate``.

Defaults to ``dry_run=True``; mutation requires ``confirm_destructive=True``.
The plan is deterministic for a given (strategy, patch, options) triple,
and every step is run through ``expert_lint(domain="show")`` before return.

Args:
    strategy: One of the six strategies above.
    options: Optional ``ShowBuildOptions`` dict — overrides strategy defaults
        (e.g. ``{"songs": 14}``).
    dry_run: When True, build the plan but do not send any commands.
    confirm_destructive: Required for ``dry_run=False``. The plan is
        destructive — it creates groups, presets, cues, executors, worlds.

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

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": {
      "strategy": "<strategy>"
    },
    "name": "build_show_from_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNo
optionsNo
strategyYes
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior5/5

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

With no annotations present, the description carries the full burden and does so: it discloses that the plan is destructive and names exactly what gets created (groups, presets, cues, executors, worlds), that dry_run is the default, that confirm_destructive gates mutation, that output is deterministic for a given (strategy, patch, options) triple, and that every step passes expert_lint(domain="show"). This is substantive behavioral context an agent cannot get from structured fields.

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?

Purpose and strategy list are front-loaded, and the Args block is tight and scannable. The Returns section partially duplicates the existing output schema, which is the only place words are spent without adding new information.

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, four-parameter build tool with no annotations, the description covers safety gating, determinism, validation, and return envelope shape. Minor gaps remain — it does not mention required permissions or what 'blocked' steps mean in practice — but nothing essential to correct invocation is missing.

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% and the strategy parameter has no enum, so the description is the only source of semantics — it enumerates all six strategy values, explains that options is a ShowBuildOptions dict that overrides strategy defaults with an example ({"songs": 14}), and clarifies the interaction between dry_run and confirm_destructive. This fully compensates for the empty schema descriptions.

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 ('Build an expert-grade show scaffold from the current patch') and enumerates the six strategies, which makes the scope concrete. It does not explicitly distinguish itself from closely named siblings such as new_show or build_layout_for_screen, so an agent still has to infer the boundary.

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 states operational preconditions clearly (dry_run defaults to True; confirm_destructive is required for mutation), which implies when the tool should be invoked in safe vs. mutating mode. However, it gives no guidance on when to prefer this over alternatives like new_show or create_presets_for_patch, and no explicit when-not-to-use condition.

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