Skip to main content
Glama

PWM toggle

myio_pwm_toggle

Toggle a FET/PWM output on legacy myIO hardware (IDs 101–116) to switch connected loads; verify support with myio_list_devices first.

Instructions

Toggle a FET/PWM output (legacy hardware only; ids 101..116 - absent on most GIGA/Opta controllers, see myio_list_devices).

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

Input Schema

NameRequiredDescriptionDefault
idYesFET id (101..116)
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false and destructiveHint=false, which matches a toggle operation. The description adds context annotations cannot carry: the call will likely fail on most modern controllers, so the agent should verify hardware support first.

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 front-loaded sentence stating the action first and the applicability caveat second, with no filler. Every clause (legacy only, id range, cross-reference to myio_list_devices) does real work.

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 two-parameter toggle with no output schema, the description covers the main risk (unsupported hardware) and points to the discovery tool. Only a note on what the return value reports after toggling is absent, which is minor.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and already documents both the id range 101..116 and the server default, so the description repeats rather than extends parameter meaning. Baseline 3 is appropriate here.

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?

Names a specific verb (toggle) and resource (FET/PWM output), and the parenthetical narrows the target to a hardware class. It is implicitly distinguishable from myio_pwm_on / myio_pwm_off / myio_pwm_set by the toggle semantics, though the description never names those siblings.

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?

Explicitly constrains usage to legacy hardware and warns the ids are absent on most GIGA/Opta controllers, directing the agent to myio_list_devices to verify. It stops short of telling the agent which sibling to use instead for on/off/set operations.

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