Skip to main content
Glama

PWM ON

myio_pwm_on
Idempotent

Activates a legacy FET/PWM output by ID on a myIO controller. Use for hardware with FET IDs 101–116; these outputs are absent on most GIGA/Opta controllers.

Instructions

Turn ON 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_on"
  }
}

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.4/5.0
Behavior4/5

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

Annotations already declare the safety profile (readOnly=false, idempotent=true, destructive=false), so the description only needs to add context. It does so with a genuinely useful hardware-applicability caveat that annotations cannot express, though it says nothing about failure behavior when the id is unsupported.

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?

One sentence, front-loaded with the action, then the constraint, then the pointer to the discovery tool. No redundant restatement of the name or title.

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 idempotent switch with no output schema, the description covers the essential risk (hardware may not have the output) and how to check. The only gap is error behavior on unsupported ids, which is minor.

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 schema baseline already documents both parameters. The description adds meaning beyond it by explaining that the 101..116 id range is legacy-only and often nonexistent, which tells the agent when a valid-looking id will still fail.

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

Purpose5/5

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

States a concrete verb and resource ('Turn ON a FET/PWM output') and immediately scopes it to a specific hardware class and id range, which cleanly separates it from the off/set/toggle variants in the sibling list.

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 the key usage condition — legacy hardware only, ids 101..116, absent on most GIGA/Opta — and routes the agent to myio_list_devices to verify availability before calling. It does not discuss when to prefer pwm_set or pwm_toggle, but the on/off distinction is self-evident from the name.

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