Skip to main content
Glama

Send test/control command

flash_test

Sends an immediate control/test command to a connected board to drive a specified actuator or output, changing device state.

Instructions

Send a control/test command to a connected device via the app's sendTestCommand. Executes immediately — drives an actuator/output on the board. MUTATING.

Input Schema

NameRequiredDescriptionDefault
targetNoWhich device to target — pass exactly one field. If omitted, the app must know exactly one device; ambiguous or unmatched targets are refused.
commandYessendTestCommand payload {config, actuator, set_value, receiver, data}; deviceId is taken from target.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false; the description adds genuine context beyond them by stating the command executes immediately and physically drives an actuator/output on the board, warning that a harmless-looking destructiveHint=false does not mean no side effects. It omits whether the call awaits an ack, what happens if the board is disconnected, or whether the effect is reversible.

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?

Three tight sentences, front-loaded with purpose then hazard. Minor waste: 'MUTATING' largely restates readOnlyHint=false already supplied by annotations, though it serves as salience for a risky operation.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description should say what an immediate command returns (ack, result payload, or nothing) and what failure looks like on a disconnected or ambiguous device. It covers the mutation semantics but leaves the response contract of an 'executes immediately' action unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the nested target/command descriptions already explain 'pass exactly one field', the ambiguous-target refusal, and the sendTestCommand payload shape. The description adds only the passing reference to sendTestCommand, no extra semantics for target selection modes or valid command keys — baseline 3.

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 concrete verb and resource: sends a control/test command to a connected device, and clarifies it drives an actuator/output on the board. This usefully counteracts the misleading name 'flash_test' (which sounds like flash-memory testing) and separates it from flash_firmware/flash_config/flash_check. It does not explicitly name a sibling to differentiate against, so it stops short of a 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?

'Executes immediately — drives an actuator/output' implies this is for live device actuation rather than configuration, but there is no explicit when-to-use/when-not statement and no alternative named (e.g., vs flash_check or device_config_set). The agent must infer selection criteria.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.