Skip to main content
Glama

get_sensors

Retrieve all sensors and their current readings for a specified ZONT device, including wired and wireless temperature, pressure, and analog inputs.

Instructions

Получить список всех датчиков устройства с текущими показаниями: проводные датчики температуры (1-wire, NTC), беспроводные радиодатчики, датчики давления, аналоговые входы.

Параметры: device_id: идентификатор устройства.

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>"
    },
    "name": "get_sensors"
  }
}

Input Schema

NameRequiredDescriptionDefault
device_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

B3.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It discloses what the response contains (all sensors with current readings, broken down by sensor type), but says nothing about permissions, behavior for an unknown/invalid device_id, or whether readings can be missing or stale.

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?

Two short blocks: purpose plus sensor enumeration, then a parameter note. The sensor-type list is informative rather than padding, though the parameter section adds little value and could be trimmed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given a single-parameter read tool with an output schema (so return values need no prose), the description is adequate: it says what is returned and for which device. It still leaves gaps around how to source the device_id and error/edge-case behavior, which matters because no annotations exist to cover those traits.

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

Parameters2/5

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

Schema description coverage is 0% and the only parameter is documented in the description merely as 'идентификатор устройства', which restates the schema title 'Device Id' without adding meaning. It gives no hint on where to obtain a valid device_id (e.g., via get_devices) or on expected format/range.

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 ('Получить список всех датчиков устройства') and enumerates the sensor classes covered (1-wire/NTC wired temperature, wireless radio, pressure, analog inputs). The scope is unambiguous, but it does not name or contrast with siblings such as get_radio_sensor_history or get_temperature_history, which return different views of related data.

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?

The phrase 'с текущими показаниями' (with current readings) implicitly signals this is for a live snapshot rather than historical series, which hints at when to prefer it over the history tools. However, no explicit when-to-use, when-not-to-use, or alternative-routing guidance is given.

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