Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
--voltageNoVoltage setpoint applied at server start-up.
--simulateNoRun the server against the built-in simulator instead of the attached Otii hardware.
--output-dirNoDirectory where recorded CSV files and PNG plots are written.
--current-limitNoCurrent limit applied at server start-up.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Controls a Qoitech Otii Ace Pro power analyzer over USB: read main output voltage/current/power, record them to CSV files and PNG plots, switch the main output, power-cycle the device under test. All values are SI units.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
statusB

Device model, serial numbers, firmware, protocol version, main output state, voltage setpoint and current limit.

measureA

Record main voltage [V], current [A] and power [W] for duration_s seconds (0.01..10 s) and return avg/min/max/std per channel plus the output state.

recordA

Record main voltage [V], current [A] and power [W] for duration_s seconds (0.01..600) into the server's output directory: a CSV file (columns time_s, voltage_v, current_a, power_w; rate_hz rows per second averaged, 1..50000, null = every sample) and/or a PNG plot over time titled with the Otii model and serial number, or with title (plain text, at most 200 characters), with a grey project note at the bottom right: footer replaces it (same limits), footer="" leaves it out. Select csv and png individually or together (at least one). name: plain file name without suffix (default: timestamped). Returns the absolute paths and avg/min/max/std per channel. power_on=true powers the device under test: the main output must be off; it is switched on pre_trigger_s seconds (0..10, less than duration_s) into the recording and off at the end. The time the switch-on command was sent is marked in the plot and in the CSV column output_on; power_on.command_sent_s in the result. serial_port (a /dev/ path) reads the serial console of the device under test at baud (8N1, nothing is sent) and adds a fourth plot panel with each line at its arrival; needs png.

set_outputA

Switch the main power output on or off (powers/unpowers the device under test).

power_cycleA

Main output off, wait off_s seconds (0.05..60), on. Always ends with the output ON.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 5 tools

Disambiguation4/5

The five tools mostly have distinct roles: status reports device state, set_output toggles power, power_cycle performs a timed off/on cycle, and measure/record differ by returning live statistics versus saving files. The main overlap is between measure and record, since both sample voltage/current/power over a duration, but the descriptions make the file-saving and longer-recording distinction reasonably clear.

Naming Consistency3/5

The naming is mixed: power_cycle and set_output use verb_noun snake_case, measure and record are bare verbs, and status is a bare noun. It remains readable and domain-appropriate, but there is no single predictable pattern across the set.

Tool Count5/5

Five tools is well-scoped for a USB power analyzer/control server. Each tool corresponds to a core operation: status, measurement, recording, output control, and power cycling.

Completeness3/5

The surface covers device status, measurement, recording, and output on/off/cycling, but it cannot set the main output voltage or current limit even though status reports those values. For a programmable power supply/analyzer, the lack of setpoint control is a notable functional gap.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues