Skip to main content
Glama

Internal flash -> SD mirror

myio_fm_sync
Destructive

Mirror QSPI configuration to an SD card, check sync status, or adopt a foreign card for config and web UI copies.

Instructions

The QSPI -> SD card configuration mirror (GIGA/Opta 4.4.3+): op status (default), config (mirror the configuration now), web (configuration + web UI folders), adopt (adopt a foreign card: write mirror.tag, then mirror). Needs an SD card and MYIO_WRITE=admin for the actions.

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

Input Schema

NameRequiredDescriptionDefault
opNo
serverNocontroller name (default Ground floor)

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 flag destructiveHint=true and non-idempotent, so the description's added value is the operational context: admin authorization is required for the actions, an SD card must be present, a minimum firmware level (GIGA/Opta 4.4.3+) applies, and adopt writes a mirror.tag first. It stops short of saying whether mirroring overwrites or deletes pre-existing content on the card, which is the key destructive detail still missing.

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 front-loaded and free of filler, but the single long sentence stacks four parenthetical glosses plus prerequisites, which makes it dense to parse at a glance. Bullet-style or separated mode descriptions would be easier to scan while keeping the same 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 destructive two-parameter mutation tool with no output schema, the definition covers modes, defaults, authorization, hardware dependency, and firmware gating — enough to call it safely. It lacks the outcome/return behavior and the overwrite semantics of the mirror target, which an agent would want before invoking a destructive action.

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 50% and the op enum has no per-value descriptions in the schema, so the description is doing real work by defining status/config/web/adopt and marking status as the default. The server parameter is not addressed at all in the description, relying on the schema's own description.

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 opening names a specific resource and direction of copy ("QSPI -> SD card configuration mirror"), and each op value is glossed, so an agent knows this copies controller flash configuration onto an SD card. It falls short of a 5 only because the first line is a telegraphic fragment and the relationship to file-level siblings (myio_file_write, myio_files) is left implicit.

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 mode carries its own use case inline: status is the default read, config mirrors now, web includes web UI folders, adopt is explicitly for a foreign card. Prerequisites are stated (SD card present, MYIO_WRITE=admin for the write actions), but there is no explicit statement of when not to use it or what to do instead.

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