Skip to main content
Glama

PWM OFF

myio_pwm_off
Idempotent

Turns off a legacy FET/PWM output by ID (101–116) on a myIO controller to disable the connected load when it should stop.

Instructions

Turn OFF 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_off"
  }
}

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

A3.8/5.0
Behavior3/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, so the state-effect profile is partly covered. The description adds genuinely useful hardware-applicability context, but says nothing about what happens when the id does not exist on the controller or whether success is verified.

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?

A single front-loaded sentence with the action first and the caveat in parentheses. Slightly dense, but nothing is wasted and the constraint needed before calling appears immediately.

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, non-destructive, idempotent switch action with no output schema, the definition covers action, applicability, and discovery route. Only the failure mode for an unsupported id is left implicit.

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 both parameters are self-documenting. The description still adds meaning beyond the schema by explaining that the 101..116 range is controller-dependent and pointing to myio_list_devices for discovery, which is not stated in the id field description.

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?

States a specific verb and resource ('Turn OFF a FET/PWM output') with explicit scope (ids 101..116, legacy hardware). It is clearly distinct from myio_pwm_on and myio_pwm_set, though it never explicitly contrasts itself with myio_pwm_toggle or myio_group_off.

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?

Gives a concrete precondition for use (legacy hardware only; absent on most GIGA/Opta controllers) and routes the agent to myio_list_devices to verify applicability. It stops short of naming the alternative to use when the id is absent or when a group-wide shutoff is intended.

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