Skip to main content
Glama

manage_logs

Set the OpenHAB log folder path to retrieve recent entries, browse historical logs, or search logs using text filters.

Instructions

OpenHAB log access. Logs are on the remote OpenHAB server — ask the user for the path and call set_folder first. action: set_folder, recent, historical, search.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYes
folderPathNoUsed by: set_folder
linesNoUsed by: recent, historical
searchNoText filter (used by: historical)
queryNoUsed by: search
logTypeNoUsed by: search
maxResultsNoUsed by: search
Behavior2/5

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

With no annotations, the description must disclose behavioral traits. It mentions logs are on a remote server and the need to call set_folder first, but it does not explain error handling, rate limits, or what happens if the folder is not set.

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 short and front-loaded with the purpose. However, the list of actions is redundant with the schema and could be integrated more efficiently.

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?

The description lacks details about return values, pagination, or log format. Without an output schema, this information is crucial for an agent to correctly use the tool. It also omits the logType parameter context.

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 86%, so the schema already documents most parameters. The description adds value by instructing to ask for the path, but it does not elaborate on parameter usage or formats beyond what the schema provides.

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's for OpenHAB log access and lists the available actions. However, it does not explicitly differentiate it from sibling tools like diagnose_item or manage_system, though no other sibling specifically manages logs.

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 description provides a prerequisite: 'ask the user for the path and call set_folder first.' It lists actions but does not specify when to use each action or when not to use this tool, nor does it mention alternatives among siblings.

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/deswong/Openhab-MCP'

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