Skip to main content
Glama

Configure expanders

myio_expander_set
Destructive

Configure myIO expander failsafe rules, capture output presets, set AUX modes, and rescan or forget OneWire sensors and offline panels. Sync safety settings to the panel when needed.

Instructions

Expander settings (Opta 4.5+): failsafe {addr, mode 0 hold / 1 all off / 2 preset / 3 standalone, timeout_s 1..250, master, rules_linked, relink_truth, autosync, thermo_stale, stale_period_s} (saved; sync=true pushes the rules to the panel now), capture_preset (addr: the current outputs become the failsafe preset), aux {addr, pin 0=AUX2 1=AUX3, mode 0 0-10V / 1 LED strip}, onewire_rescan=true, onewire_forget (eeprom id of an OFFLINE sensor), forget_panel (addr of an OFFLINE panel). Editor/admin level.

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": "myio_expander_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
auxNo
serverNocontroller name (default Ground floor)
failsafeNo
forget_panelNo
capture_presetNo
onewire_forgetNo
onewire_rescanNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

B3.4/5.0
Behavior4/5

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

The annotations only flag destructiveHint=true and readOnlyHint=false; the description goes well beyond them by explaining consequences — "saved" for failsafe, "sync=true pushes the rules to the panel now", and capture_preset redefining the stored preset from current outputs. The OFFLINE-only constraints on onewire_forget and forget_panel and the editor/admin privilege note are exactly the kind of risk context annotations cannot express. It stops short of saying whether changes are reversible or acknowledged, so not a 5.

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

Conciseness3/5

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

It is a single dense run-on sentence packing six operations into nested parentheticals, with almost no filler. Information density is high, but the flat brace-list structure makes it hard to scan and there is no grouping or front-loaded statement of the tool's overall action.

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?

For a destructive, 7-parameter tool with nested objects, no output schema, and very thin schema descriptions, the definition covers the major operations and their value encodings but leaves the six boolean flags unexplained and never says whether the call is atomic or how many operations can be combined. An agent could invoke it for the documented cases but would be guessing on the flags.

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 only 14% (bare integers with min/max, no descriptions), and the description compensates heavily by decoding the value spaces the schema cannot: mode 0 hold / 1 all off / 2 preset / 3 standalone, pin 0=AUX2 1=AUX3, aux mode 0 0-10V / 1 LED strip, timeout_s 1..250. The gap is that the boolean flags (master, rules_linked, relink_truth, autosync, thermo_stale, stale_period_s) are only named, never explained, so their semantics remain undefined.

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

Purpose3/5

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

The description never states a verb-plus-resource sentence; it opens with the noun phrase "Expander settings (Opta 4.5+)" and proceeds straight to a field catalogue. The operation list (failsafe, capture_preset, aux, onewire_rescan, onewire_forget, forget_panel) does reveal that this is a multi-operation write tool, which lets an agent infer scope, but there is no differentiation from the sibling myio_expanders reader 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?

Usage is implied rather than stated: "Editor/admin level" gives a privilege prerequisite, "Opta 4.5+" a firmware prerequisite, and the parentheticals "eeprom id of an OFFLINE sensor" / "addr of an OFFLINE panel" encode preconditions for the forget operations. What is missing is any when-to-use framing against alternatives, and no statement of whether multiple operations may be combined in a single call.

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