Skip to main content
Glama

analyze_home

Run home-wide OpenHAB diagnostics to identify health, safety, energy, stale-item, orphan, semantic, rule-conflict, equipment, and voice-exposure issues.

Instructions

Home-wide analysis. action: health (offline + battery), safety_audit, energy, stale_items, orphans (broken links), semantic_audit (returns structured SemanticIssue objects with issue type + safeFix suggestions — same logic as the OpenHAB MainUI model page), rule_conflicts, find_equipment (by room + type), voice_exposure (Google/Alexa mappings).

Input Schema

NameRequiredDescriptionDefault
daysNoStaleness threshold in days (used by: stale_items)
actionYes
roomNameNoUsed by: find_equipment
equipmentTypeNoSemantic keyword e.g. Light, Lock (used by: find_equipment)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.3.2

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description must carry the full behavioral burden. It adds useful details—health covers offline and battery issues, orphans are broken links, semantic_audit returns SemanticIssue objects with safeFix suggestions, and voice_exposure maps Google/Alexa—but it does not clarify read-only status, permissions, side effects, or outputs for most actions.

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?

The description is front-loaded with the core purpose and then provides the action catalog. It is dense but not wasteful; the single long sentence is slightly harder to parse than a structured list, but every clause contributes useful information.

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?

This is a complex multi-action tool with no annotations and no output schema, so the description should ideally explain more about outputs and safety behavior. It provides a useful action catalog and some output detail for semantic_audit, but it leaves most action-specific return formats and behavioral constraints unspecified.

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

Parameters4/5

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

Schema coverage is 75%, but the action enum lacks per-value descriptions in the schema, and the description supplies meaning for several action values. It also clarifies that find_equipment uses room and type, while the days parameter meaning is left to the schema.

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 clearly states that this is a home-wide analysis tool and enumerates the available analysis actions. It does not explicitly differentiate it from sibling tools such as get_system_summary or query_rules, but the purpose is still clear from the action catalog.

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 action list implies when to use each mode, and the description names the kind of analysis provided by several actions. However, it does not state when to use analyze_home versus alternatives like query_rules, diagnose_item, or get_system_summary, nor does it provide any when-not guidance.

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