Skip to main content
Glama

Change network settings

myio_network_set
Destructive

Configure a myIO controller’s host, Wi-Fi mode, STA/AP credentials, and LAN settings, then save for next boot or apply now; applying can drop the connection and make it unreachable.

Instructions

DANGEROUS: a wrong value can make the controller unreachable (then only USB serial or the service access point helps). Changes: host, wifi_mode 0 off / 1 STA / 2 AP, sta {ssid, password, dhcp}, ap {ssid, password, channel 1..13}, lan {enabled, dhcp, static_primary}. apply=true saves AND applies now (no restart; the connection may drop), apply=false only saves for the next boot. 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": {
      "apply": "<apply>"
    },
    "name": "myio_network_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
apNo
lanNo
staNo
hostNo
applyYes
serverNocontroller name (default Ground floor)
wifi_modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.6.2

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description goes well past them: it explains the concrete failure mode (controller unreachable, recovery only over USB serial or the service access point), the connection-drop risk of apply=true, the persistence semantics of apply=false, and the admin auth requirement. That is the exact behavioral context an agent needs before touching this tool.

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?

The 'DANGEROUS' warning is front-loaded where it matters most, and the single dense paragraph covers risk, field inventory, and apply semantics without filler. It is long but nearly every clause is load-bearing; the parenthetical recovery note could be tightened slightly.

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 destructive, nested-object tool with no output schema, the definition covers risk, auth, and persistence behavior thoroughly. It never says what the call returns or whether the response is readable if the connection drops mid-apply, and the server parameter is undocumented, which are the remaining gaps.

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?

Schema coverage is only 14% (just 'server'), so the description must carry the load and largely does: it supplies the wifi_mode mapping (0 off / 1 STA / 2 AP), the nested field names for sta, ap (including channel 1..13) and lan, and the two-mode semantics of apply. Only 'server' is left undocumented in both places, a minor omission against otherwise strong compensation.

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 states a concrete verb and resource ('Changes: host, wifi_mode, sta, ap, lan') and enumerates exactly which network settings are mutable, so an agent knows precisely what the tool writes. It does not name the read-only sibling myio_network as the counterpart for inspecting current settings, which keeps it just short of full sibling differentiation.

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?

Guidance is explicit on the key decision: 'apply=true saves AND applies now (no restart; the connection may drop), apply=false only saves for the next boot', plus the MYIO_WRITE=admin prerequisite. What is missing is an explicit 'inspect the current network with myio_network first' direction, which for a tool that can brick connectivity would be valuable.

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