Skip to main content
Glama
grandMA2 MCP
by drohi-r

clear_programmer

Reset the grandMA2 programmer by clearing fixture selection and active values; choose all, selection, active, or sequential clear modes to manage the current working state.

Instructions

Clear the programmer to reset fixture selection and active values.

The programmer holds the current working state — selected fixtures
and any values you've applied. Clearing it gives you a clean slate.

Modes:
- "all": Empty the entire programmer (selection + values)
- "selection": Deselect all fixtures but keep active values
- "active": Deactivate values but keep fixture selection
- "clear": Sequential clear (selection → active → all on repeated calls)

Args:
    mode: Clear mode — "all" (default), "selection", "active", or "clear"

Returns:
    str: JSON with command_sent and raw_response.

Examples:
    - Full reset: mode="all"
    - Just deselect fixtures: mode="selection"
    - Just drop active values: mode="active"

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "clear_programmer"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoall

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/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 a solid job explaining that the programmer holds working state and exactly what each mode clears or keeps. It omits permission requirements, reversibility warnings, and whether a snapshot should be taken first, which are meaningful gaps for a mutation tool.

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 description is front-loaded with purpose and state context, then structured into modes, args, returns, and examples. It is readable and appropriately sized, though the mode meanings are repeated across the Modes, Args, and Examples sections.

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 single optional parameter with an output schema, the definition is largely complete: it explains state effects, mode options, and return shape. The 'clear' sequential mode is somewhat cryptically described, and related snapshot/restore context is not mentioned, leaving a small completeness gap.

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% and the schema only exposes a free-form string with a default, so the description must define the parameter. It fully compensates by defining all four mode values and explaining what each one does, with examples reinforcing the semantics.

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?

The description states a specific verb and resource: clearing the programmer to reset fixture selection and active values. It clarifies the programmer state and each mode's scope, but it does not explicitly differentiate itself from siblings such as remove_from_programmer or snapshot/restore tools.

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 clear mode-by-mode usage guidance and examples for full reset, deselecting fixtures, and dropping active values. It does not state when not to use the tool or name alternative tools, so it is clear but lacks exclusions and explicit alternatives.

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