Skip to main content
Glama
grandMA2 MCP
by drohi-r

edit_object

Edit, cut, or paste grandMA2 show objects such as cues, presets, and groups; cut and paste require explicit destructive confirmation, while edit opens an object for safe editing.

Instructions

Edit, cut, or paste objects in the show.

- edit: Opens an object for editing (SAFE_WRITE)
- cut: Removes an object and places it on the clipboard (DESTRUCTIVE)
- paste: Places clipboard contents at a target location (DESTRUCTIVE)

SAFETY: cut and paste are DESTRUCTIVE and require confirm_destructive=True.
edit does not require confirmation.

Args:
    action: "edit", "cut", or "paste"
    object_type: Object type (e.g. "preset", "cue", "group")
    object_id: Object ID (for edit and cut)
    target_id: Target ID for paste destination
    end: End ID for range operations
    confirm_destructive: Must be True for cut/paste (safety gate)

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

Examples:
    - Edit cue 1: action="edit", object_type="cue", object_id=1
    - Cut preset 4.1: action="cut", object_type="preset", object_id="4.1"
    - Paste to group 5: action="paste", object_type="group", target_id=5

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": {
      "action": "<action>"
    },
    "name": "edit_object"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
actionYes
object_idNo
target_idNo
object_typeNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/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 labels edit as SAFE_WRITE and cut/paste as DESTRUCTIVE, explains that cut removes an object to the clipboard, and states the confirmation requirement explicitly. It stops short of saying whether a cut is recoverable beyond the clipboard, what happens if target_id is invalid, or whether permissions are needed.

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?

The bulleted action list front-loads the essential distinctions, followed by safety, args, returns, and examples in a predictable order. It is slightly redundant, since the examples largely restate the argument bullets, 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 six-parameter tool with no annotations, the definition covers purpose, per-action safety, every parameter, and the return shape, and an output schema exists so return values need not be elaborated. The remaining gap is relational: a sibling named cut_paste_object overlaps this tool's scope, and the description offers no disambiguation.

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 document all six parameters, and it does: action values, object_type with concrete examples (preset, cue, group), object_id scoped to edit and cut, target_id for paste, and confirm_destructive as a safety gate. The only weak entry is "end", described merely as "End ID for range operations", which leaves its semantics and which actions honor it unclear.

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?

The description opens with a specific verb and resource ("Edit, cut, or paste objects in the show") and then enumerates the three action modes with one-line definitions, so an agent knows exactly what each invocation does. It distinguishes the internal modes of edit, cut, and paste clearly rather than leaving the reader to infer them from the name.

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?

It gives concrete when-to-use guidance per action plus a hard gate (confirm_destructive=True for cut/paste, not for edit), and three worked examples map intent to arguments. It does not, however, say when to prefer this tool over a similarly named sibling such as cut_paste_object, so no exclusions are stated.

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