Skip to main content
Glama
grandMA2 MCP
by drohi-r

select_executor

Selects a single executor on a grandMA2 console by ID, optionally page-qualified, and can clear the current selection. Confirms the selected executor or returns a warning on mismatch.

Instructions

Select an executor on the console.

IMPORTANT: MA2 telnet 'select executor N' is single-selection only — there
is no list syntax. You cannot select multiple executors simultaneously via
this command. Pass only a single executor_id integer.

After sending the command, $SELECTEDEXEC is read back to confirm the
selection took effect. A 'warning' field is included in the response if
the confirmed value does not match the requested executor_id.

To clear the current selection, pass deselect=True. This sends a bare
'select' command with no argument. NOTE: bare 'select' behaviour is
unverified on grandMA2 telnet — it may clear selection, be silently
ignored, or produce an error. Inspect 'raw_response' to confirm.

Args:
    executor_id: Executor number (1-999). Single value only.
    page: Page number for page-qualified addressing (optional).
          e.g. page=2, executor_id=5 → 'select executor 2.5'.
          $SELECTEDEXEC returns the executor number only (not page-qualified).
    deselect: If True, send bare 'select' to clear the current selection
              instead of selecting executor_id. Defaults to False.

Returns:
    str: JSON with command_sent, raw_response, confirmed_selected_exec,
         and risk_tier. Includes 'warning' if confirmed value doesn't match.

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": {
      "executor_id": "<executor_id>"
    },
    "name": "select_executor"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
deselectNo
executor_idYes

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, the description carries the full load and does so well: it discloses the $SELECTEDEXEC read-back verification, the 'warning' field on mismatch, and candidly flags that bare 'select' behaviour is unverified and may no-op or error. It stops short of documenting permissions or rate-limit traits, so it is strong rather than exhaustive.

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 core action, then constraints, then args and returns — a sensible order. The Returns block partly restates the available output schema, and the IMPORTANT/NOTE paragraphs are wordy, though the content itself is non-redundant.

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 mutating console command with an output schema, the description covers selection semantics, verification behavior, failure signaling, and the safest known way to deselect. An agent could invoke and interpret this correctly without further context.

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: executor_id gets a range (1-999) and a single-value constraint, page is explained with a concrete mapping example ('page=2, executor_id=5 → select executor 2.5') plus the caveat that $SELECTEDEXEC is not page-qualified, and deselect explains the exact underlying command and its default.

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 first line gives a specific verb and resource ('Select an executor on the console') and the body further narrows scope to single-selection via the MA2 telnet command. It never names a sibling such as control_executor, so the differentiation is achieved by constraint description rather than explicit comparison, which keeps it at a 4.

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 states the primary usage condition, an explicit exclusion ('there is no list syntax... pass only a single executor_id integer'), and a secondary mode of use (deselect=True to clear). No named alternative tool is offered, which is the only thing separating it from a 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