Skip to main content
Glama
grandMA2 MCP
by drohi-r

batch_label

Labels multiple grandMA2 objects in one call from a JSON array of ID/name pairs, avoiding repeated single-object label calls; destructive confirmation required.

Instructions

Label multiple objects in a single call (DESTRUCTIVE).

Instead of calling label_or_appearance once per object, batch_label applies
names to an entire list. Accepts a JSON array of {id, name} pairs.

Args:
    object_type: Object type (e.g. "group", "sequence", "macro", "preset")
    items: JSON array string, e.g. '[{"id": 1, "name": "Front Wash"}, {"id": 2, "name": "Back Light"}]'
    confirm_destructive: Must be True to execute (DESTRUCTIVE operation)

Returns:
    str: JSON with labels_applied, commands, errors, risk_tier.

Examples:
    - Label groups 1-3: object_type="group", items='[{"id":1,"name":"Front"},{"id":2,"name":"Back"},{"id":3,"name":"Side"}]'

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>",
      "items": "<items>"
    },
    "name": "batch_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
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, the description carries the full burden and does well: it flags the operation as DESTRUCTIVE, names the confirmation parameter required to execute, and lists the return fields (labels_applied, commands, errors, risk_tier). It stops short of saying whether labels are reversible or how partial failures are handled beyond the errors key.

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-loads the DESTRUCTIVE warning and the batching rationale, then organizes Args/Returns/Examples cleanly. The Args section partially repeats what the intro already stated (e.g. items as a {id, name} array), but the structure is easy to scan.

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 three-parameter destructive batch mutation, the description covers purpose, alternative, destructive gate, all parameter semantics, and return shape. Even though an output schema exists, nothing an agent needs to invoke it safely 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 coverage is 0%, so the description must compensate, and it does: it documents all three parameters with types, gives object_type value examples, provides a concrete JSON array example for items including the {id, name} shape, and explains confirm_destructive's required value. This fully bridges the schema gap.

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 and resource (label multiple objects in one call) and explicitly contrasts with the per-object sibling: 'Instead of calling label_or_appearance once per object'. An agent can distinguish the two immediately.

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?

Gives clear usage context: use this to name an entire list in one call rather than looping the per-object tool, and notes confirm_destructive must be True to execute. No explicit when-not-to-use or guidance on list size limits, so not a full 5.

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