Skip to main content
Glama

measure

Read-onlyIdempotent

Records main voltage, current, and power for a set duration, then returns average, minimum, maximum, and standard deviation per channel plus output state.

Instructions

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.

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

Input Schema

NameRequiredDescriptionDefault
duration_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description adds real value by disclosing the return payload (avg/min/max/std per channel plus output state) and the duration bounds. It does not say whether the call blocks for the full duration or what 'channels' comprise, which keeps it from a 5.

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?

One sentence, front-loaded with what is measured, followed by the duration constraint and the return shape. No filler and nothing redundant.

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?

For a one-parameter tool with no output schema, the description covers input bounds and summarises return values, which is most of what an agent needs. Remaining gaps are minor: whether the call is blocking and what the channels correspond to.

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?

Schema coverage is 0%, so the description must compensate, and it does: the single parameter's unit (seconds) and valid range (0.01..10 s) appear nowhere in the schema, which only supplies type and default. The default of 0.5 is not echoed, but the important constraint is captured.

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 opens with a concrete verb and resource ('Record main voltage [V], current [A] and power [W]') and even names the units, so an agent knows exactly what is captured. It does not differentiate itself from the sibling 'record', so it falls short of the 5 bar for sibling routing.

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?

Usage is only implied: the bounded duration (0.01..10 s) and the default 0.5 s signal that this is a short, single-shot measurement. There is no explicit statement of when to choose 'measure' over 'record' or 'status', and no preconditions.

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