Skip to main content
Glama
Hubitat MCP Server

Hubitat MCP Server

by MvdMunnik26

hubitat_get_modes

Fetch available Hubitat modes and the current active mode to support mode-based automation and monitoring.

Instructions

Get available hub modes and current mode

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "hubitat_get_modes"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, but it does disclose meaningful behavior: the call is read-only in effect and returns two things (the available mode list plus the current mode), which is the key output-shape fact given there is no output schema. It says nothing about ordering, mode identifiers, or failure modes when the hub is unreachable.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence with the resource first and the returned scope front-loaded; no filler, nothing redundant. Appropriate for a zero-parameter read tool.

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

Completeness4/5

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

For a simple, no-argument read with no output schema, saying that it returns both the available modes and the current mode is close to sufficient. Minor gaps remain around the shape of returned mode entries (names vs. numeric IDs), which an agent might need.

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?

The tool takes zero parameters, so there is nothing for the description to disambiguate beyond the schema's empty object. Baseline 4 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 uses a specific verb ('Get') and resource ('hub modes'), and states the scope as both the available set and the current mode, which distinguishes it from hubitat_set_mode. It does not explicitly contrast with read siblings such as hubitat_get_hsm_status, but the purpose is unambiguous.

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?

There is no guidance on when to call this versus alternatives, no mention that hubitat_set_mode handles changes, and no statement of preconditions. The agent must infer that this is the read counterpart to set_mode from the name alone.

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