Skip to main content
Glama

PCA toggle

myio_pca_toggle

Toggle a PCA channel on a myIO controller between its configured maximum and minimum output levels.

Instructions

Toggle a PCA channel (dimmer / universal output). id = 2001..2000+PCAQ (a 1-based channel number is also accepted). ON = the channel's configured MAX level, OFF = its MIN 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_pca_toggle"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPCA id (2001..)
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly=false, idempotent=false, destructive=false, so the safety profile is covered. The description adds real beyond-schema behavior: a toggle resolves to configured MAX/MIN levels rather than fixed on/off values, and it confirms why toggling twice returns to the original state. It says nothing about what is returned or what happens if the channel is unconfigured.

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?

Three compact clauses, action first, then id addressing, then state semantics. No redundant restatement of the tool name or annotations, and every sentence carries information an agent needs.

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, no-output-schema mutator whose annotations already cover safety, this covers the essentials: what it does, how to address the channel, and what ON/OFF mean physically. The only gap is absence of any when-to-use guidance relative to the sibling on/off/set tools.

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 baseline is 3, but the description meaningfully extends it: the id range is given as a formula (2001..2000+PCAQ) and a 1-based channel number is stated to be accepted, neither of which appears in the schema's bare 'PCA id (2001..)'. The server parameter is left entirely to the schema, which is acceptable since it documents its default.

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 (Toggle) and resource (PCA channel), and clarifies that PCA is a dimmer / universal output, which an agent cannot otherwise infer. The verb itself separates it from myio_pca_set, but it never explicitly names myio_pca_on / myio_pca_off, so sibling differentiation is implicit rather than stated.

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?

Explains the two states (ON = configured MAX, OFF = configured MIN), which implies this is a blind flip between configured levels and therefore not the tool for setting an arbitrary level. However, it never says when to prefer the explicit myio_pca_on / myio_pca_off / myio_pca_set siblings, so the routing 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