Skip to main content
Glama
dmanfx

mcp-hs4

by dmanfx

hs4.devices.set

Sets a HomeSeer HS4 device state using control value or set status mode, with automatic verification and fallback to ensure convergence.

Instructions

Set a device state by control value (preferred) or setdevicestatus mode. Performs post-write verification by default and can auto-fallback to control_value when set_status does not converge.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
refYes
modeNocontrol_value
valueNo
dryRunNoIf true, validates and simulates action without changing HS4.
intentNoHigh-level intent for this operation.
reasonNoReason/rationale for auditability.
sourceNo
verifyNo
confirmNoMust be true for mutating operations unless running dry-run.
statusTextNo
Behavior3/5

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

Without annotations, the description partially covers behavior by mentioning post-write verification and auto-fallback. However, it omits important details such as required permissions, side effects, error handling, and idempotency, which are critical for a mutation tool.

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 concise (two sentences) and front-loaded with core functionality. However, it could be restructured to more clearly separate mode behavior and parameter hints.

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 10 parameters, no output schema, and no annotations, the description is insufficient for reliable invocation. It omits how to construct requests, handle errors, and interpret results, making it incomplete.

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?

With only 40% schema description coverage, the description adds minimal parameter meaning. It mentions 'control value' and 'set_status' relating to mode, but does not explain the majority of parameters (ref, value, source, verify, statusText). This leaves significant ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool sets a device state, with two modes (control_value and set_status) and mentions post-write verification. It distinguishes itself from sibling tools like hs4.devices.get or hs4.devices.status.get by being the mutation tool.

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 notes that control_value is preferred and mentions auto-fallback, but provides no explicit guidance on when to use this tool vs. alternatives like hs4.intent.device_set_by_name. There is no when-not-to-use information.

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/dmanfx/mcp-hs4'

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