Skip to main content
Glama

Restart / firmware update

myio_system
Destructive

Restart a myIO controller or upload, apply, and roll back OTA firmware packages, with validation, automatic rollback, and running-version reports.

Instructions

Admin actions: restart (soft reboot, ~1 min offline), ota_upload (file = local path of the firmware package the fleet tool made for THIS controller - GIGA/Opta (4.x): MYIO_UPD.BIN, uploaded to the SD card, or internal flash without a card; Due (3.12+): MYIO_NEW.BIN, SD card only, checked before upload: a raw Arduino build or a package made for another controller is refused), ota_apply (the controller installs the uploaded package and restarts; a GIGA/Opta rolls back by itself if the new image fails, a Due keeps its running firmware if the package is rejected), ota_restore (GIGA/Opta only: go back to the previous image). The answer waits for the controller to come back and reports the running version and the outcome. Needs MYIO_WRITE=admin.

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

Input Schema

NameRequiredDescriptionDefault
fileNo
actionYes
serverNocontroller name (default Ground floor)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructive=true, readOnly=false, idempotent=false, so the safety profile is covered. The description nevertheless adds substantial context: ~1 min offline during restart, automatic rollback on GIGA/Opta versus a Due keeping its running firmware, the pre-upload validation that refuses raw Arduino builds or packages for another controller, and that the call blocks until the controller returns and reports the running version.

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?

Front-loaded with 'Admin actions:' followed by an inline list, so structure is easy to scan. The nested parentheticals are dense and the file-naming detail is long, but nearly every clause carries operational information.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, and the description compensates by saying the answer waits for the controller to come back and reports the running version and the outcome. Combined with firmware file conventions, per-device rollback behavior, and the admin write requirement, an agent has everything needed to call it correctly.

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 description coverage is only 33%, so the description must compensate, and it does so for `file` in depth (local path of a fleet-generated package, MYIO_UPD.BIN for GIGA/Opta, MYIO_NEW.BIN for Due 3.12+, SD-card versus internal-flash rules) and for the action enum semantics. It adds nothing about `server`, which relies on the schema's own 'controller name (default Ground floor)' note.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb class and resource (admin actions on the controller) and enumerates the four concrete operations: restart, ota_upload, ota_apply, ota_restore. An agent can tell exactly which operation it is selecting and what each does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Each action is given the context needed to choose it: ota_upload before apply, ota_apply to install, ota_restore for GIGA/Opta rollback only, restart for a soft reboot. It also states the MYIO_WRITE=admin prerequisite. It does not name sibling tools as alternatives, but the per-action guidance is clear.

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