Skip to main content
Glama
grandMA2 MCP
by drohi-r

remove_content

Removes content from existing grandMA2 objects—such as fixtures from groups or effects from cues—without deleting the objects; destructive actions require explicit confirmation.

Instructions

Remove content from objects (fixtures from groups, effects, preset types, etc.).

Unlike delete (which removes the object itself), remove takes content out of
an object. For example, removing a fixture from a group, or removing an effect
from a cue.

SAFETY: This is a DESTRUCTIVE operation. Requires confirm_destructive=True.

Args:
    object_type: What to remove. Special types:
        "selection" — remove the current selection
        "fixture" — remove a fixture (from a group, cue, etc.)
        "effect" — remove an effect
        "presettype" — remove a preset type from the programmer
        Or any generic type for the generic remove command.
    object_id: Object ID to remove (not needed for "selection")
    end: End ID for range removal
    if_filter: Conditional filter (e.g. "PresetType 1")
    confirm_destructive: Must be True to execute (safety gate)

Returns:
    str: JSON with command_sent, raw_response, or block info.

Examples:
    - Remove selection: object_type="selection"
    - Remove fixture 1: object_type="fixture", object_id=1
    - Remove fixture with filter: object_type="fixture", object_id=1,
      if_filter="PresetType 1"
    - Remove effect 1: object_type="effect", object_id=1
    - Remove preset type: object_type="presettype", object_id="position"

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": {
      "object_type": "<object_type>"
    },
    "name": "remove_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
if_filterNo
object_idNo
object_typeYes
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/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 call as DESTRUCTIVE, states the confirm_destructive=True gate in both the SAFETY block and the args list, and names the return payload (command_sent, raw_response, block info). It does not state whether the operation is reversible or what errors occur when the gate is omitted, which keeps it below a 5.

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 the delete contrast, then a SAFETY callout, followed by args/returns/examples in a predictable order. The examples are concrete rather than redundant, and every block earns its place.

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 five-parameter tool with zero schema documentation and no annotations, the definition covers purpose, discrimination from the nearest alternative, the safety gate, all parameters, and return shape. An output schema exists, so the brief returns note is sufficient rather than required.

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 description coverage is 0%, so the description must compensate, and it largely does — all five parameters are described, including the special object_type values and the note that object_id is unnecessary for "selection". Remaining ambiguity: the generic object_type fallback ("any generic type") is undefined, and the relationship between object_id and end for range removal is never explained.

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?

States a specific verb (remove) and resource scope (content inside objects), then immediately distinguishes it from the sibling operation delete: "Unlike delete (which removes the object itself), remove takes content out of an object." An agent can route between the two without opening either schema.

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?

Explicit contrast with delete plus concrete per-type examples (fixture from group, effect from cue, preset type from programmer) give clear when-to-use guidance. The one gap is that "presettype — remove a preset type from the programmer" overlaps conceptually with the remove_from_programmer sibling, and no guidance resolves that ambiguity.

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