Skip to main content
Glama

Change output configuration

myio_set_output_config
DestructiveIdempotent

Set an output's timer, delay, invert/alarm flags, and dimming parameters (min/max level, fade speed, PWM, mixer) to adjust how relays, FETs, or PCA outputs behave.

Instructions

Change an output's configuration (relay 1..RQ, FET 101.., PCA 2001..): timer_s (auto-off, 0 = off), delay_s (turn-on delay), invert, alarm, just_on, and for PCA/FET: min / max level (0..255), fade_speed, pwm (dimmer mode), mixer. Flags are set to the given value (the controller's toggle commands are only sent when the value differs). Editor level.

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_output_config"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesoutput id
maxNo
minNo
pwmNo
alarmNo
mixerNo
invertNo
serverNocontroller name (default Ground floor)
delay_sNo
just_onNo
timer_sNo
fade_speedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.8/5.0
Behavior4/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=true), the description explains the actual write semantics: flags are set to the given value and the controller's toggle commands are only sent when the value differs, which clarifies why the operation is idempotent. It also gives unit semantics (timer_s 0 = off, delay_s) and the Editor-level requirement, though it does not state what happens to parameters omitted from the call.

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?

Front-loaded with the core action and the id/family mapping, then densely enumerates parameters with inline units and constraints. Nothing is padding, but the long parenthetical lists make it tighter to parse than it needs to be.

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 12-parameter destructive mutation with no output schema and sparse schema descriptions, the description covers the meaningful settings and their families. What is missing is the partial-update contract (are unspecified fields preserved?) and any error/return behavior, which matters for a destructive write.

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 description coverage is only 17% (only id and server are documented), so the description must compensate, and it largely does: timer_s, delay_s, invert, alarm, just_on, min/max (0..255), fade_speed, pwm (dimmer mode) and mixer are each given meaning, plus which fields apply only to PCA/FET outputs. Residual gaps: 'server' and fade_speed units are left to the schema.

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?

Uses a specific verb and resource ('Change an output's configuration') and enumerates the exact settings being changed, plus the id numbering scheme (relay 1..RQ, FET 101.., PCA 2001..). It is clear what the tool does, though it never explicitly contrasts itself with the read-side sibling myio_output_config, so differentiation is only implicit.

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 trailing 'Editor level' note hints at a prerequisite/privilege, and the parameter list implies when the tool applies (per-output settings), but there is no explicit when-to-use vs. when-not guidance or reference to an alternative such as reading config first. Usage must be inferred.

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