Skip to main content
Glama
Amigent – Amiga remote control for AI agents

Amigent – Amiga remote control for AI agents

amiga_emu68_update

Update Emu68 on an SD card safely: check version, board, and Picasso96 compatibility, back up the boot partition, write and verify kernel/firmware, then confirm after restart.

Instructions

Update Emu68 on the SD card, with a backup of the whole boot partition.

archive: an Emu68 release on this PC, the zip from github.com/michalsc/Emu68 or its unpacked folder. Checks first and stops if something does not fit: the version on the card against the new one, the board variant (PiStorm32- lite/16 or the CPLD PiStorm), VideoCore.card in LIBS:Picasso96 against what the release needs (1.1 needs 1.5, 1.0 does not work with 1.5).

With confirm=True: backs up the whole boot partition on the card (with a README on how to go back) and on the PC, with checksums; writes the kernel and the Pi firmware files next to the old ones, verifies them, swaps them in and verifies again. cmdline.txt, the Kickstart, FPGA files and the Amiga partitions are never written; config.txt only in its kernel= line when the kernel's name changes. Then the user restarts (amiga_restart), and after_restart=True confirms that the new Emu68 runs.

If the new Emu68 does not start, a power cycle does not help; the rescue is the card in a PC: python -m amigent.emu68card restore . Only on a card with the user's marker file amigent-write-ok.txt, and only on the user's yes. Try it on a second SD card first.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

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": "amiga_emu68_update"
  }
}

Input Schema

NameRequiredDescriptionDefault
volumeNo
archiveNo
confirmNo
machineNo
after_restartNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full behavioral burden and does so: it discloses the mutation scope (kernel plus Pi firmware, swapped and re-verified), the explicit non-destructive boundary (cmdline.txt, Kickstart, FPGA files and Amiga partitions 'never written'; config.txt only in its kernel= line), the backup mechanism (whole boot partition plus PC copy with README and checksums), and the irreversibility/recovery path. The only soft spot is that the 'marker file / user's yes' sentence ambiguously attaches to the restore command rather than this one.

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 is front-loaded and the paragraphing follows the workflow (preconditions → confirmed write → restart → rescue), with almost no filler. It is long and prose-dense, and the inline version-compatibility aside ('1.1 needs 1.5, 1.0 does not work with 1.5') is the one passage that could be tightened without losing meaning.

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 high-risk firmware mutation with no annotations, the definition covers checks, backup, verification, preserved files, reboot handoff, and failure recovery. An output schema exists so return values need not be described; the remaining omissions are the undocumented 'volume' parameter and an explicit statement of what happens when confirm is omitted.

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 0%, so the description must compensate, and it does for four of five parameters: archive (accepted forms: release on this PC, the GitHub zip, or the unpacked folder), confirm (exactly what it triggers), after_restart (post-reboot verification), and machine (saved name/ID from amiga_machines plus the AMIGENT_HOST/default/sole-machine fallback chain). The 'volume' parameter is never mentioned, leaving one gap.

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?

The first sentence names a specific verb and resource: 'Update Emu68 on the SD card, with a backup of the whole boot partition.' That is enough to separate it from siblings such as amiga_emu68_undo (revert), amiga_emu68_jit/option (config), and amiga_restart (reboot, which it explicitly hands off to).

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

Usage Guidelines5/5

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

It spells out preconditions ('Checks first and stops if something does not fit' — version, board variant, VideoCore.card), the gating condition for the write path (confirm=True), the sequencing to amiga_restart and after_restart=True, and safety advice ('Only on a card with the user's marker file amigent-write-ok.txt... Try it on a second SD card first'). An agent knows when to call it and when it will refuse.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.