Skip to main content
Glama

Set SG-Ready

myio_sgready_set
DestructiveIdempotent

Configure SG-Ready settings on a myIO controller: set mode 1–4, enable or disable it, assign K1/K2 outputs, and define the automatic mode-1 limit in minutes.

Instructions

Change SG-Ready: mode 1..4 (immediate; mode 1 ends automatically after limit_min), enabled, k1 / k2 (output ids: relay 1.. or PCA 2001..; 0 = none; K1 and K2 must differ), limit_min 1..120. Mode is a state change (MYIO_WRITE=state); the others are configuration. Saved immediately (EEPROM).

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

Input Schema

NameRequiredDescriptionDefault
k1No
k2No
modeNo
serverNocontroller name (default Ground floor)
enabledNo
limit_minNo

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 write, destructive and idempotent, but the description adds genuinely new behavior: persistence to EEPROM on every call, the self-terminating nature of mode 1, the cross-field constraint that K1 and K2 must differ, and 0 meaning 'none'. It does not state whether a destructive change to K1/K2 can leave outputs in an unsafe state or what the response contains.

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?

Two dense sentences, telegraphic but front-loaded: the mutable fields and their ranges come first, then the state-vs-config distinction and the persistence note. Nothing repeats the schema or the annotations, and every clause carries information.

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 6-parameter, all-optional mutation tool with no output schema, the definition covers ranges, cross-field constraints, side effects and persistence. Missing only what a caller would want on failure/rollback and on the meaning of enabled=false, but the operational essentials are present.

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 only 17%, so the description must carry the load — and it largely does: mode 1..4, limit_min 1..120, k1/k2 as output ids (relay 1.. or PCA 2001..), 0 = none, and the K1≠K2 constraint. Only 'server' is left to the schema's own description, so nearly all ambiguity is resolved.

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 SG-Ready') and enumerates the mutable fields (mode 1..4, enabled, k1/k2, limit_min), which clearly separates it from the sibling read tool myio_sgready. It never explicitly says 'use this instead of myio_sgready to write', but the verb does the work.

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?

It gives strong in-tool semantics ('mode 1 is immediate; mode 1 ends automatically after limit_min', 'Mode is a state change ... the others are configuration') but no explicit when-to-use/when-not guidance and no reference to the sibling reader that an agent would pair it with. Usage is implied rather than directed.

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