Skip to main content
Glama

get_radio_sensor_history

Retrieve temperature, humidity, battery voltage, signal level, and flags history for a wireless radio sensor over a chosen period. Use it to review trends and diagnose signal or power issues.

Instructions

Получить историю показаний беспроводного радиодатчика.

Параметры: device_id: идентификатор устройства. sensor_id: идентификатор радиодатчика. hours: глубина истории в часах (по умолчанию 24). max_points: прореживание каждой серии (0 — без ограничения; по умолчанию 500).

Формат ответа (проверен на живых данных 2026-11-05): серии temperature (°C), humidity (%), battery (В), dbm (уровень сигнала), flags — каждая в виде дельта-массива с шагом ~9 минут.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "device_id": "<device_id>",
      "sensor_id": "<sensor_id>"
    },
    "name": "get_radio_sensor_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNo
device_idYes
sensor_idYes
max_pointsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does substantial work: it enumerates the returned series (temperature, humidity, battery, dbm, flags), their units, and the delta-array encoding with ~9-minute steps, plus a live-data verification date. It still omits read-only confirmation, retention/range limits, and behavior on missing data.

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?

Front-loads the one-line purpose, then a compact parameter block and a response-format block. Every line carries information, though the parameter list partly restates schema titles and is justified only because the schema itself carries no descriptions.

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 4-parameter read tool with no annotations (but an existing output schema), this is complete enough to call correctly: all parameters are explained with defaults, and return shape, units, and encoding are all disclosed. Remaining gaps (pagination, error cases) are minor for a read-only historical fetch.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% (parameters are bare titles like 'Hours' and 'Max Points'), and the description fully compensates: it defines device_id, sensor_id, hours as history depth with a 24h default, and max_points as per-series thinning where 0 means unlimited and the default is 500.

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: fetching the reading history of a wireless radio sensor. The 'radio sensor' qualifier distinguishes it from generic temperature/history siblings by resource type, though it never explicitly contrasts with get_temperature_history or get_boiler_history.

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 by the resource name ('history of a radio sensor's readings') – there is no statement of when to prefer it over the other *_history siblings, no exclusions, and no prerequisites such as needing a valid device/sensor pair.

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