Skip to main content
Glama
grandMA2 MCP
by drohi-r

get_programmer_selection

Retrieves the current programmer selection—selected fixture count, active executor, and executor cue—from hydrated system variables without Telnet calls, enabling selection validation.

Instructions

    Return $SELECTEDFIXTURESCOUNT, $SELECTEDEXEC, and $SELECTEDEXECCUE from snapshot.

    Gaps 18 & 19. Zero telnet cost — reads hydrated system variable values.
    Use assert_selection_count to validate count against an expected value.

    Returns:
        str: JSON with selected_fixture_count, selected_exec, selected_exec_cue.
    

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden. It does add genuine behavioral context—that this reads hydrated variable values with no telnet cost—but says nothing about staleness of the snapshot values, permissions, or whether reading affects console state. Adequate but thin for a tool with zero annotation coverage.

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?

Short and front-loaded: the primary purpose is the first sentence, with routing guidance after. The 'Gaps 18 & 19' token is unexplained filler that a reader cannot act on.

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?

An output schema exists, so the description doesn't need to enumerate return values, yet it does so consistently. For a zero-parameter getter this is nearly complete; only guidance on when this snapshot read is preferred over live-state readers is missing.

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?

The tool takes zero parameters, so there is no parameter semantics to explain and the baseline of 4 applies. The description appropriately spends its words on return content instead.

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 names a specific verb ('Return') and three concrete console variables (SELECTEDFIXTURESCOUNT, SELECTEDEXEC, SELECTEDEXECCUE) read from a snapshot, which distinguishes it from mutating siblings like manipulate_selection and modify_selection. The 'Gaps 18 & 19' fragment is opaque jargon that doesn't help an agent understand scope.

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 context ('zero telnet cost — reads hydrated system variable values') and explicitly routes validation work to assert_selection_count. However, it never states when to prefer this over other read tools such as get_executor_state or get_executor_detail, so exclusion guidance is incomplete.

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