Skip to main content
Glama
jarahkon

hass-mcp-server

by jarahkon

ha_get_logbook

Retrieve logbook entries for a specified time period, with optional entity filter to track specific device events.

Instructions

Get logbook entries (activity log) for a time period, optionally filtered by entity

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
entity_idNoFilter by entity ID. Omit for all entries.
start_timeNoISO 8601 start time. Defaults to 1 day ago.
end_timeNoISO 8601 end time. Defaults to now.
Behavior2/5

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

With no annotations, the description carries the full burden but only indicates it is a read operation. It does not disclose data limits, freshness guarantees, authentication needs, or any side effects.

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, clear sentence that conveys the core purpose efficiently. However, it could benefit from slightly more structure, such as separating the optional filter detail.

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?

Given the simple tool with three optional parameters and no output schema, the description is minimally adequate. It could be improved by noting what the logbook entries contain (e.g., timestamps, states) or any time range limits.

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?

The input schema already describes all three parameters with 100% coverage. The description's mention of 'optionally filtered by entity' adds no new information beyond the schema, so the baseline score of 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?

The description clearly states it retrieves logbook entries for a time period with optional entity filtering, using a specific verb ('Get') and resource ('logbook'). It distinguishes from historical or event data, though not explicitly compared to sibling tools like ha_get_history.

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 is provided on when to use this tool versus alternatives such as ha_get_history or ha_get_events. The description does not mention prerequisites, preferred scenarios, or when not to use it.

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/jarahkon/hass-mcp-server'

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