Skip to main content
Glama

Configure Shelly

myio_shelly_set
Destructive

Configure and update Shelly integration settings: enable, scan, add, rename, poll, authenticate, probe, push, delete, and bind outputs, inputs, or sensors to myIO; every change is saved.

Instructions

Change the Shelly integration; every change is saved (sh_save). action: enable (enabled=true|false), add (ip), add_found (index from the scan), scan (start=true|false), delete / probe / push (device), disable (device, disabled), rename (device, name), poll (device, ms 500..60000), auth (device, user, password), bind_output (device, channel, output_id: the Shelly channel follows that myIO output; 0 = unbind), bind_input (device, channel, button 1..SQ, mode 0 button / 1 toggle / 2 hit-only), bind_sensor (device, slot 0..3, metric 1 temp / 2 hum / 3 power / 4 volt / 5 curr / 6 energy / 7 device temp, channel, usens id; usens 0 = unbind). After input / sensor bindings send action=push so the Shelly calls back. Device = slot number from myio_shelly. Editor/admin 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": {
      "action": "<action>"
    },
    "name": "myio_shelly_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
ipNo
msNo
modeNo
nameNo
slotNo
userNo
indexNo
startNo
usensNo
actionYes
buttonNo
deviceNo
metricNo
serverNocontroller name (default Ground floor)
channelNo
enabledNo
disabledNo
passwordNo
output_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the safety bar is partly covered. The description adds value beyond them by disclosing persistence ('every change is saved (sh_save)') and the required permission level ('Editor/admin level'), which are not in the schema or annotations. It does not, however, flag which specific actions (delete, bind_* overwrite) are the destructive ones or whether they can be undone.

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

Conciseness4/5

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

Purpose and the persistence/auth notes are front-loaded, and every clause carries information — there is essentially no filler. The action inventory is a dense run-on, which hurts scannability for a 14-action multiplexer, but nothing is redundant.

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 19-parameter, 14-action mutation tool with no output schema, the definition covers action-to-parameter mapping, value domains, persistence, permission level, and the required follow-up push. The remaining gaps are modest: it does not describe what scan/probe return or how to confirm a change took effect, and it does not warn about the delete action.

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

Parameters5/5

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

With only 5% schema description coverage across 19 parameters, the description carries almost the entire semantic load and does so well: it maps parameters to actions (ip for add, index for add_found, ms 500..60000 for poll), explains sentinel values (output_id 0 = unbind, usens 0 = unbind), and gives the mode and metric enumerations (0 button / 1 toggle / 2 hit-only; 1 temp … 7 device temp). This is far more than the schema provides.

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 opens with a specific verb+resource ('Change the Shelly integration') and then enumerates the full action vocabulary (enable, add, scan, bind_output, bind_input, bind_sensor, etc.), so an agent can tell this is the write-side counterpart to myio_shelly. It even names myio_shelly as the source of device slot numbers, giving implicit sibling differentiation, though it never states the read sibling explicitly.

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?

There is real procedural guidance: 'After input / sensor bindings send action=push so the Shelly calls back' and 'Editor/admin level' as a prerequisite, plus 'Device = slot number from myio_shelly' as a dependency. What is missing is an explicit when-to-use/when-not statement against myio_shelly or the other *_set siblings, so the routing decision is left to inference.

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