Skip to main content
Glama

Set RGB light

myio_set_rgb
Idempotent

Set the color, brightness, or on/off state of a myIO RGB light group. Adjust R, G, and B levels from 0 to 255 while keeping brightness, or change brightness while keeping the color.

Instructions

Control an RGB light (group id from myio_rgb): on/off, colour r,g,b (0..255 each; the brightness is kept unless given), brightness 0..255 (keeps the colour). ON without colour restores the last colour (white at first). The channel levels are written directly (PCA*=) and read back.

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

Input Schema

NameRequiredDescriptionDefault
bNo
gNo
rNo
idYesRGB group id (501..)
onNo
serverNocontroller name (default Ground floor)
brightnessNo

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 it non-read-only, idempotent and non-destructive, so the description's job is to add operational detail — and it does: brightness is preserved unless supplied, ON without colour restores the last colour (white on first use). It also discloses the underlying write mechanism (PCA*<id>=<level>) and that levels are read back, which is real behavioural context not present in annotations.

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 sentences, front-loaded with the control surface, then interaction rules, then the write mechanism. Parentheticals are dense but every one adds a constraint (ranges, retention rules, initial-state fallback) rather than 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 7-parameter mutation tool with no output schema, the description covers identifier provenance, ranges, state retention and the write/read-back path. Minor omissions remain, such as precedence when on=false is combined with colour values and the role of the controller-name parameter, but nothing essential to a correct first call is missing.

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?

With only 29% schema description coverage, the description carries most of the semantic load and does so: it maps r/g/b to 0..255 colour, brightness to 0..255 with colour retention, and explains what on means in combination with or without colour. The only gap is the 'server' parameter, whose meaning comes solely from the schema.

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 ("Control an RGB light") and enumerates the controllable facets: on/off, r,g,b colour, brightness. It anchors the id to a sibling ("group id from myio_rgb"), so an agent knows where the identifier comes from. It does not, however, differentiate itself from other light-driving siblings such as myio_pca_set or myio_ledstrip_set.

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?

Usage is implied rather than stated: the reference to myio_rgb tells the agent to discover the group id there first, and the persistence rules hint at call ordering. There is no explicit when-to-use / when-not-to-use statement and no named alternative for cases where direct channel control is preferred.

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