Skip to main content
Glama

Device alerts

iot_alerts
Read-onlyIdempotent

Alerts raised by connected devices — a leak, a freeze risk, carbon monoxide, a meter that stopped reporting — with the work order each one opened. Defaults to live (open or acknowledged) alerts.

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_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum rows to return (1-200, default 50).
offsetNoRows to skip, for paging.
statusNo
severityNo
device_idNo
property_idNo

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
Behavior4/5

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

Annotations already declare this read-only, idempotent, non-destructive and closed-world, so safety needs no restating. The description earns credit by disclosing default filtering behavior the schema does not encode — 'live' means open or acknowledged — which materially changes what an unfiltered call returns. It also notes alerts are paired with the work order each opened, though that partly duplicates the output schema.

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 sentences, both front-loaded: the core identity with examples first, the default behavior second. Nothing is padded and every clause — including the work-order association — carries information an agent can act on.

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 read-only list tool with an output schema and six optional parameters, the description covers what the tool returns and how it scopes by default. The remaining gap is how the filter parameters combine, particularly device_id versus property_id and what severity filtering does, but that is a modest omission rather than a blocking one.

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 only 33%, so the description should carry more weight than it does: severity, device_id and property_id are never explained, and their filtering semantics must be guessed. The one real contribution is defining the 'live' status value as open plus acknowledged, which the enum alone cannot convey.

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 a concrete resource (alerts raised by connected devices) and grounds it with vivid examples — leak, freeze risk, carbon monoxide, meter stopped reporting — plus the linked work order. That is far more specific than a restated title. It stops short of contrasting itself with the sibling tools iot_device_readings and iot_devices, so an agent must infer the boundary itself.

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 one usage-relevant sentence, 'Defaults to live (open or acknowledged) alerts,' tells the agent what happens with no arguments and implies that widening status is the way to see history. There is no explicit guidance on when to choose this over iot_device_readings or iot_devices, and no mention of prerequisite scoping such as a device_id or property_id.

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