Skip to main content
Glama

Connected devices

iot_devices
Read-onlyIdempotent

Every meter, sensor and thermostat connected to the account: kind, location, whether it is online, its latest values, and how many alerts are open on it. Start here for "is anything wrong in the building" or "what is the boiler doing right now".

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

Input Schema

NameRequiredDescriptionDefault
kindNoDevice kind (electric_meter, water_meter, thermostat, leak, smoke_co, boiler, …).
viewNo"attention" = offline or carrying an open alert.
limitNoMaximum rows to return (1-200, default 50).
offsetNoRows to skip, for paging.
property_idNoLimit to one property.

Output Schema

NameRequiredDescriptionDefault
noteNoWhy the result was truncated, when it was.
countYesHow many rows are in `results`.
resultsYesThe rows.
truncatedNoPresent and true when the result was too large to return in full. Treat it as a partial answer.
total_availableNoHow many rows existed before truncation.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so safety is covered. The description adds useful behavioral framing ('latest values', alert counts, whole-account scope) but nothing about freshness, ordering, or result-volume behavior beyond what the schema and output schema imply.

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?

Two tight sentences: the first defines contents, the second front-loads the decision guidance. No filler, no restatement of the title, and the most action-relevant information comes early.

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?

With five optional parameters fully documented, an output schema present, and full annotation coverage, the definition supplies everything needed to call the tool correctly. The only gap is explicit sibling differentiation for drill-down alternatives, which is a minor omission given the schema and annotations do the heavy lifting.

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 100%, so every parameter including the 'attention' enum meaning is already documented inline. The description only loosely maps to parameters via phrases like 'whether it is online' and device kinds, adding little semantic value beyond the schema; 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?

The description names the exact resource and scope (all meters, sensors and thermostats on the account) and enumerates the returned facets: kind, location, online status, latest values and open-alert count. That makes the tool's purpose unambiguous, though it does not explicitly distinguish itself from the similarly scoped iot_device_readings sibling.

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?

It gives concrete entry-point guidance with two example intents ('is anything wrong in the building', 'what is the boiler doing right now'), which is a clear when-to-use signal. It stops short of stating when NOT to use it or routing the agent to iot_alerts or iot_device_readings for drill-down.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources