Skip to main content
Glama
grandMA2 MCP
by drohi-r

manipulate_selection

Invert or align current fixture selection and programmer values by swapping selected and unselected fixtures or distributing values evenly from first to last fixture.

Instructions

Invert or Align the current fixture selection / programmer values (SAFE_WRITE).

Invert: swap selected and unselected fixtures.
Align: distribute programmer values evenly from first to last fixture.

Args:
    action: "invert" or "align"

Returns:
    str: JSON result with command sent

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": "manipulate_selection"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose the concrete mutation effects of both modes and labels the tool SAFE_WRITE, which is the key behavioral fact; however it omits preconditions, failure behavior when no fixtures are selected, and whether the change is undoable.

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 tool's purpose, then two tight per-mode definitions. The 'Args:' and 'Returns:' boilerplate is slightly redundant given the schema and output schema, but it is short and does not obscure the core content.

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 one-parameter tool with an output schema (so return values needn't be explained), the description covers purpose, both modes, and legal parameter values. The main remaining gap is precondition/edge-case behavior, which is minor but non-trivial for a selection-mutating tool.

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% and the action parameter has no enum, so the schema alone would leave the agent guessing. The description supplies the two legal values ('invert' or 'align') and ties each to its behavior, which meaningfully compensates for the schema gap.

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 operation on a specific resource: inverting or aligning the current fixture selection / programmer values, and defines what each mode does ('swap selected and unselected fixtures', 'distribute programmer values evenly from first to last fixture'). It doesn't explicitly distinguish this from close siblings like modify_selection or get_programmer_selection, which keeps it at 4 rather than 5.

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 two mode descriptions imply when each is appropriate, and the SAFE_WRITE tag hints at the safety posture, but there is no explicit 'use this instead of X' routing, no statement of prerequisites (e.g. a fixture selection must exist), and no 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