Skip to main content
Glama

smarthome_unit

Read-only

Retrieves detailed data for a FRITZ!Box smart-home device, including current values, schedules or heating plans, and temperature, humidity, power, and energy statistics by period.

Instructions

[Stufe: read] Eine Smart-Home-Einheit im Detail (REST overview/units/{UID}): Werte, Zeitschaltung/Heizplan (wie von der Box geliefert) und Statistik (Temperatur, Luftfeuchte, Leistung, Energie je Zeitraum).

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": {
      "uid": "<uid>"
    },
    "name": "smarthome_unit"
  }
}

Input Schema

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

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.2

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description does add one piece of real behavioral context: the schedule is returned "wie von der Box geliefert" (raw, unprocessed box output), warning the agent not to expect normalized data. It says nothing about the statistics' default time window or response size.

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?

A single sentence with the access tier front-loaded, then endpoint, then returned data. No filler, and each clause carries information the 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?

Given an output schema exists and the safety profile is in annotations, the definition covers what an agent needs: read tier, resource, endpoint and the three content groups returned. The only gap is the unspecified period for the statistics block, which no parameter controls.

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 coverage is 100%, so both parameters are already documented, including the box fallback to the first FRITZ!Box. The description only ties the UID to the REST path and adds no meaning for the optional box parameter, so the schema does the heavy lifting and the 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?

Names a specific resource (a single smart-home unit) and enumerates what it returns: values, schedule/heating plan, and statistics for temperature, humidity, power and energy. That is far more specific than the bare name, though it never names a sibling tool to contrast with, which is what would separate it cleanly from smarthome_device_stats.

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 leading tag "[Stufe: read]" signals a low-risk read operation, and "im Detail" implies this is the per-unit deep view. However, it never states when to prefer it over smarthome_device_stats or smarthome_thermostat_config, nor any prerequisites beyond the implicit need for a UID.

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