Skip to main content
Glama
519Green

IoTaWatt MCP Server

by 519Green

query

Read-only

Retrieve IoTaWatt time-series data from on-device logs by selecting channels, time range, and aggregation; run discover first for valid channel names.

Instructions

Flexible IoTaWatt time-series query against the on-device log. Use discover first to know valid channel names. Results come back one row per line. The device stops sampling while it answers, so prefer a few well-scoped queries.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoEnd time: s=now, d+1d=end of todays
beginNoStart time: d=today midnight, d-7d=7 days ago, s-3600s=1hr ago, 2026-02-17T06:00 (no seconds: firmware bug)d
groupNoAggregation interval: seconds in multiples of 5 (5s, 10s, 30s), then 1m, 5m, 15m, 1h, 1d, 1w, 1M, 1y, "auto", or "all" for a single row. 5 second data is kept for about a year, 1 minute data for longer.1h
limitNoMaximum rows. The device default is 1000. A result cut short at the limit is flagged with a note.
formatNocsv is more compact for long results.json
selectYesSeries to return. Put "time.local.iso" first for timestamps. A bare channel name returns its default unit (Watts for power channels, Volts for voltage). Append a unit to change it: .watts .wh .amps .va .var .varh .pf for power channels, .volts .hz for voltage. Append .d2 (or another digit) to set decimal places, e.g. Mains.pf.d3.
missingNonull

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.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/destructiveHint=false, so the safety profile is covered. The description adds genuinely non-obvious behavior beyond that: the device stops sampling while it answers, and results are one row per line. This is exactly the kind of side-effect disclosure annotations cannot convey.

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 sentences, purpose front-loaded, then prerequisite, then output shape and performance caveat. Every sentence carries information; nothing is padded.

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?

There is no output schema, and the description partially compensates by noting the one-row-per-line result shape and the sampling stall. Combined with a high-coverage input schema, an agent has enough to call this correctly, though return fields beyond row structure are 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 description coverage is 86%, so the schema already documents begin/end/group/limit/select/format/missing in detail, including units, ranges and defaults. The description adds no parameter-level information, so the baseline 3 applies.

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 and resource ("time-series query against the on-device log") and names the device, which is unambiguous. It does not, however, differentiate itself from the sibling energy_by_interval, which is also a time-series retrieval tool, so the agent must infer the boundary.

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 a clear prerequisite ("Use discover first to know valid channel names") and practical guidance ("prefer a few well-scoped queries"). No explicit when-not condition or direct comparison to alternative retrieval siblings, so it stops 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.