Skip to main content
Glama

Control / configure LED strips

myio_ledstrip_set
Destructive

Configure and run LED strip programs, live effects, enabled state, names, and LED counts on a myIO controller; changes apply live and save, while LED count changes require a restart.

Instructions

LED strips: event (id 3100+100*(IO-1)+program: run that program on that IO, the same id again stops it - MYIO_WRITE=state), enabled (desired), program edits (prog 1..32 with fields {fx, speed, brightness, intensity, density, length, palette, direction, color1, color2 (0xRRGGBB number), a, b, blend, blend_fx, blend_dir, kill, kill_fx, kill_dir, off_pause}, name) applied live and saved (ls_save); led_count {io 1..8, count} needs a restart. Editor/admin level.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "myio_ledstrip_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNo
progNo
eventNo
fieldsNo
serverNocontroller name (default Ground floor)
enabledNo
led_countNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A3.5/5.0
Behavior4/5

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

Annotations already flag destructive=true, idempotent=false and openWorld=false, and the description meaningfully adds to that: changes take effect live and are saved to persistent storage, event ids are computed by formula and are toggles (same id stops), led_count requires a restart, and editor/admin privilege is required. That is real operational context beyond the annotations, though the effect of destructive fields like 'kill' and what a bad write leaves behind is not disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is compact and front-loads the most important toggle semantics, but it reads as an unstructured run-on packed with unexplained abbreviations (fx, kill, ls_save, MYIO_WRITE) that an unfamiliar agent must decode from context. A short enumeration of the operation modes would have cost little and improved parseability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 a nested led_count object and no output schema, the description covers the main parameter groups and the restart/persistence behavior, which is substantial. It falls short on failure behavior, on what the 'server' parameter scopes, and on the meaning of several nested program fields, so an agent could still invoke it incorrectly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 14% across 7 parameters, so the description does real work: it gives the event id formula, the prog range 1..32, the full field key list with color1/color2 specified as 0xRRGGBB numbers, the led_count io/count ranges, and 'enabled (desired)'. It still leaves major gaps — what 'kill', 'a', 'b', 'blend', 'density' actually control — so it only partially compensates for the coverage shortfall.

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?

The description enumerates the four things the tool can do (run/stop an event program, set enabled, edit programs 1..32, set led_count) so the resource and operations are identifiable, though the governing verb is only implied by the tool name. It does not explicitly contrast with the sibling myio_ledstrip (presumably the read counterpart), so the sibling differentiation is left to inference.

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?

Useful operational cues are embedded: re-sending the same event id stops the program, program edits are applied live and persisted via ls_save, and led_count changes require a restart. However there is no explicit statement of when to use this versus myio_ledstrip or myio_set_rgb, and no preconditions beyond the 'Editor/admin level' note.

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