Skip to main content
Glama

Set thermostat

myio_set_thermostat
DestructiveIdempotent

Configure a heating or cooling thermostat zone by setting target temperature, hysteresis band, or raw ON/OFF thresholds, and optionally bind or unbind its sensor. The controller applies the change and reads the zone back.

Instructions

Change a thermostat zone: target temperature (°C, keeps the band), band / hysteresis (°C 0.1..10, keeps the middle), or the raw ON/OFF thresholds (°C). Optionally bind the sensor: sensor = 1..100 (1-Wire id), 301.. (universal sensor 300+id), 0 = unbind (editor level). Heating = ON below OFF, cooling = ON above OFF. The controller switches the output itself; the reply reads the zone back.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

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

Input Schema

NameRequiredDescriptionDefault
idYesrelay id (1..RQ) or PCA id (2001..) of the zone
onNoON threshold °C (raw; use with off)
offNoOFF threshold °C (raw; use with on)
bandNoband / hysteresis °C (0.1..10)
sensorNobind this sensor id (1..100 1-Wire, 301+ usens, 0 = unbind)
serverNocontroller name (default Ground floor)
targetNotarget °C (-30..100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare this is a destructive, idempotent, non-read-only write with a closed world, so the safety profile is known. The description adds genuinely useful behavior the annotations cannot convey: the controller performs the actual output switching and the reply reads the zone back. However, for a tool marked destructiveHint=true, it says nothing about the consequences of a bad threshold (e.g. heating running continuously), which would have earned a 4.

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 content is dense but front-loaded: the mutation target comes first, then the OCR contextual toggles, then the controller/reply behavior at the end. It is a single telegraphic block with parentheses-heavy phrasing that is slightly harder to scan than a bulleted enumeration would be, but no sentence is redundant.

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 7-parameter mutation tool with no output schema, the description covers what is mutated, how the modes interact, permission requirements for unbinding, and what the reply contains ('reads the zone back'). The only meaningful omission is the consequence or reversibility of destructive threshold changes, given destructiveHint=true.

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?

Schema coverage is 100%, so the baseline is 3, but the description goes beyond it: it gives the relationship between target and band ('keeps the band' / 'keeps the middle'), the sensor id encoding nuances (1-Wire 1..100, universal 300+id, 0 = unbind) and the editor-level requirement for unbinding. The heating/cooling rule ('ON below OFF' for heating) disambiguates how on/off interact, which the schema leaves implicit.

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 opens with a specific verb and resource ('Change a thermostat zone') and immediately enumerates the three mutable aspects (target, band, raw thresholds) plus optional sensor binding, so an agent knows exactly what the tool mutates. It never names a sibling tool or states why to pick this over, say, myio_pca_set or myio_set_output_config, which keeps it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description makes the alternate modes explicit and implies mutual exclusivity by noting that 'target' keeps the band and 'band' keeps the middle, which tells the agent not to combine them. It also flags that unbinding a sensor requires 'editor level', a real prerequisite. It stops short of stating when not to use the tool or naming a read-only alternative for inspecting zone state.

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

Deploy Server

Other Tools