Skip to main content
Glama
grandMA2 MCP
by drohi-r

delete_object

Delete cues, groups, presets, fixtures, macros, or ID ranges from a grandMA2 show. Destructive actions require confirm_destructive=True to prevent accidental removal.

Instructions

Delete an object from the show.

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

Args:
    object_type: Object type (e.g. "cue", "group", "preset", "fixture", "macro")
    object_id: Object ID to delete
    end_id: Optional end ID for range deletion (e.g. cue 1 thru 10)
    confirm_destructive: Must be True to execute (safety gate)

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

Examples:
    - Delete cue 5: object_type="cue", object_id=5, confirm_destructive=True
    - Delete cues 1-10: object_type="cue", object_id=1, end_id=10, confirm_destructive=True
    - Delete group 3: object_type="group", object_id=3, confirm_destructive=True

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>",
      "object_id": "<object_id>"
    },
    "name": "delete_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
end_idNo
object_idYes
object_typeYes
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?

No annotations are supplied, so the description carries the full disclosure burden. It does well on the headline trait by flagging the operation as DESTRUCTIVE and requiring an explicit gate parameter, and it hints that failures surface as 'block info'. It says nothing about reversibility/undo, permission requirements, or atomicity of range deletion, which matters for an irreversible mutation.

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?

Front-loaded with the action then the safety warning, followed by tidy Args/Returns/Examples sections that are easy to scan. The three examples are mildly redundant (the group-3 case repeats the cue-5 shape), but nothing is genuinely wasted.

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 4-parameter destructive tool with an output schema, the description covers object types, range deletion, the confirmation gate, and error surfacing. It stops short of telling the agent how to obtain valid object IDs or what happens to showfile state on failure, which are the remaining gaps for a mutation of this weight.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage the description must compensate, and it documents all four parameters including the range pair (end_id with a 'cue 1 thru 10' example) and the safety gate. Gaps remain: the schema permits object_id as integer or string but the description only says 'Object ID', and no parameter types or ID-discovery guidance are given.

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 ('Delete an object from the show') and narrows the generic term 'object' with the enumerated object_type values (cue, group, preset, fixture, macro). This implicitly separates it from siblings like delete_show and delete_user, though that differentiation is never made explicit in text.

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 SAFETY note establishes a precondition (confirm_destructive=True) and the examples show typical invocations, so usage is reasonably implied. However, there is no guidance on when to prefer this over alternatives such as query_object_list or discover_object_names to find IDs first, nor any when-not guidance.

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