Skip to main content
Glama

smarthome_device_stats

Read-only

Retrieve historical statistics for a FRITZ!Box smart-home device by AIN, with temperature, voltage, power, energy, and humidity converted to °C, V, W, Wh, and %.

Instructions

[Stufe: read] Verlaufsstatistik eines Smart-Home-Geräts (AHA getbasicdevicestats): Temperatur, Spannung, Leistung, Energie, Luftfeuchte – in °C/V/W/Wh/% umgerechnet.

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": {
      "ain": "<ain>"
    },
    "name": "smarthome_device_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
ainYesAIN des Smart-Home-Geräts, z. B. "08761 0000434"
boxNoName der FRITZ!Box bei Mehrbox-Betrieb (Standard: erste Box, siehe server_status)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already declare readOnly/non-destructive/closed-world, so the bar is lower; the description still adds value by naming the underlying AHA command (getbasicdevicestats) and disclosing that values are converted into °C/V/W/Wh/%. It does not mention history window, sampling, or what happens for devices without stats, which keeps it short of a 5.

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?

A single dense sentence plus a bracketed tier tag; no filler. The metrics list is compact and the parenthetical command name aids verification. Front-loading the tier marker ahead of the resource is a minor structural weakness.

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 an output schema present, return values need no explanation, and both parameters are fully described in the schema; the description covers purpose, source command, and unit normalization. The only real gap is routing guidance versus the energy-report and device-detail siblings.

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% — both 'ain' (with an example format) and 'box' (default and pointer to server_status) are fully documented in the schema, so the description needs to add nothing. It adds nothing about parameters, which is acceptable at baseline.

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?

Names a specific verb+resource ('Verlaufsstatistik eines Smart-Home-Geräts') and enumerates the returned metrics (Temperatur, Spannung, Leistung, Energie, Luftfeuchte) with units, so the agent knows exactly what data class this tool yields. It does not explicitly distinguish itself from close siblings like smarthome_energy_report, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The only usage signal is the '[Stufe: read]' tag and the word 'Verlaufsstatistik'. There is no statement of when to prefer this over smarthome_energy_report, avm_device_detail, or smarthome_unit, and no prerequisites (e.g. that the device must support AHA statistics) are given.

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