Skip to main content
Glama

PA Meter Status

pa_meter_status
Read-onlyIdempotent

Detect the ImmersionRC RF power meter and read live average and peak dBm plus noise floor before running a sweep, confirming the meter is present and awake on its serial port.

Instructions

Detect the ImmersionRC RF Power Meter and report a live reading.

Read-only; no Meshtastic device involved. Call it before pa_sweep: the meter powers itself off on a battery timeout and vanishes from USB. It also shows the current noise floor or signal.

Returns {present, port, version, stored_freq_mhz, current_avg_dbm, current_peak_dbm}, {present: false, detail} when none is attached, or {present: true, port, error} when the meter does not answer.

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

Input Schema

NameRequiredDescriptionDefault
meter_portNoThe meter's serial port; omit to find it by USB VID/PID.

Output Schema

NameRequiredDescriptionDefault
portNo
errorNothe attached meter did not answer
detailNo
presentYes
versionNo
current_avg_dbmNo
stored_freq_mhzNo
current_peak_dbmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description adds real operational context: the battery-timeout power-off and USB disappearance that makes this a pre-flight check. It also flags that the reading reflects the current noise floor or signal, which the agent needs to interpret the value.

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 short, front-loaded paragraphs with no filler, and the sequencing advice sits where the agent will see it. The final paragraph enumerating return shapes duplicates ground already covered by the output schema, so it costs a bit of space it did not need to spend.

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 one-optional-parameter read tool with full annotations and an output schema, nothing an agent needs is missing: safety profile, ordering constraint, failure modes, and what the reading represents are all present.

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?

The single meter_port parameter is fully documented in the schema (100% coverage), including the omit-to-autodiscover behavior. The description adds nothing about the parameter, so the schema carries this dimension entirely; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: 'Detect the ImmersionRC RF Power Meter and report a live reading.' It is immediately distinguishable from pa_sweep and pa_measure, and the exclusion 'no Meshtastic device involved' further narrows what this tool is.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit sequencing guidance ('Call it before pa_sweep') and the reason behind it (the meter powers off on a battery timeout and vanishes from USB), which tells the agent both when to call it and why order matters. No sibling name is listed as an alternative, but the one relevant alternative is named with its selection condition.

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