Skip to main content
Glama
TheWhykiki

hass-mcp

by TheWhykiki

ha_get_history

Retrieve home automation history from a specified ISO start time, optionally filtered by entity.

Instructions

Fetch history since an ISO time (optionally for an entity).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceYes
endNo
entity_idNo
minimal_responseNo
Behavior2/5

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

With no annotations, the description carries full burden but only minimally discloses behavior: it returns history from a given ISO time. No mention of whether the tool is read-only, what happens on missing optional parameters, pagination, or rate limits.

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 a single, well-structured sentence that conveys the core purpose efficiently. However, it omits important details, which slightly reduces conciseness value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 4 parameters and no output schema, the description is too brief. It lacks details on return format, error handling, pagination, and the meaning of 'end' and 'minimal_response', making it incomplete for effective use.

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

Parameters2/5

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

Schema description coverage is 0%. The description explains 'since' (ISO time) and 'entity_id' (optional entity), but does not cover 'end' or 'minimal_response'. Thus, partial compensation but insufficient for all parameters.

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 the tool fetches history since an ISO time, with optional entity filtering. It distinguishes from siblings like ha_get_state (current state) and ha_get_logbook (log entries) by specifying 'history' as temporal data.

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?

No guidance on when to use this tool versus alternatives like ha_get_logbook or ha_get_state. The description does not mention context, prerequisites, or exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TheWhykiki/hass-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server