Skip to main content
Glama

PCA level

myio_pca_set
Idempotent

Set a myIO PCA channel to an exact level using a raw 0–255 value or a 0–100 percent, restarting any auto-off timer when raised above minimum.

Instructions

Set a PCA channel to an exact level. Give either level (raw 0..255, what the controller stores and shows) or percent (0..100, converted to 0..255). If the channel has an auto-off timer, setting it above MIN (re)starts the timer. id = 2001..2000+PCAQ.

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

Input Schema

NameRequiredDescriptionDefault
idYesPCA id (2001..)
levelNoraw level 0..255
serverNocontroller name (default Ground floor)
percentNolevel in percent (0..100), used when level is not given

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare the mutating-but-idempotent, non-destructive, closed-world profile, so the bar is lower. The description nonetheless adds real behavior beyond them: percent-to-raw conversion, and the side effect that setting a channel above MIN restarts any auto-off timer. It does not cover error handling for out-of-range values or the response shape.

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 sentences, each carrying distinct information: the action, the two input modes with conversion, and the timer side effect. The most important constraint (exact level) is front-loaded and no sentence is filler.

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 4-parameter mutation tool with full schema coverage, annotations, and no output schema, this is close to sufficient: it covers input selection, conversion, id addressing, and the timer side effect. Missing only edge-case behavior such as what happens if both or neither level parameter is supplied.

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. The description goes beyond the schema by explaining the relationship between the two level parameters (percent is converted to the 0..255 range and only applies when level is not given) and by decoding the id range with the 2000+PCAQ formula, which the schema only states as "2001..".

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?

"Set a PCA channel to an exact level" gives a specific verb and resource, and the word "exact" implicitly separates it from the binary siblings (myio_pca_on / myio_pca_off / myio_pca_toggle). It stops short of naming those alternatives, so the differentiation is inferable rather than explicit.

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 description tells the agent how to choose between the two input modes (raw level vs percent, with percent used only when level is absent), which is useful selection guidance. It never states when to prefer this tool over the on/off/toggle siblings, leaving that choice to inference from names alone.

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