Skip to main content
Glama

Device.Test

device.test
Read-onlyIdempotent

Test a device connection WITHOUT starting a stream (safe, no confirm needed).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
portNoSerial/COM port for wired devices.
ip_portNoPort for network devices.
source_idNoLSL source id.
ip_addressNoDevice IP for network/wifi devices.
device_typeYesDevice id from device.list (e.g. "brainbit", "muse").
mac_addressNoBluetooth MAC (BT devices).
stream_nameNoLSL stream name (LSL devices).
serial_numberNoDevice serial (some BLE stacks).
connection_typeNoDevice-specific selector when several exist (e.g. serial vs wifi).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered by structured data. The description adds only the 'no confirm needed' nuance, which largely restates the readOnly/non-destructive hints, and says nothing about latency, failure modes, or what a successful test implies.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single sentence with the key constraint front-loaded and no filler. The capitalized WITHOUT emphasizes the discriminating behavior efficiently.

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?

With a full output schema and complete annotation set, the description doesn't need to explain returns or safety. It is nearly sufficient, only lacking a pointer to device.list for valid device_type values and any note on what a failed test looks like.

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 description coverage is 100% and every one of the 9 parameters carries its own documentation (port, ip_address, mac_address, connection_type, etc.), so the schema does the heavy lifting. The description contributes no parameter-level meaning beyond that, which is the baseline case.

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 verb (test) and resource (device connection) and immediately contrasts with stream.start by saying it does NOT start a stream. That is a clear, distinguishable purpose, though it doesn't reference the device.list prerequisite that supplies device_type.

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?

Gives explicit context for when to use it (probing a connection without a stream) and implicitly routes away from stream.start for actual data capture. No explicit when-not or named-alternative phrasing, so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.