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

Amigent – Amiga remote control for AI agents

amiga_emu68_undo

Restore an Amiga SD card's boot files from the selected backup, verifying checksums and backing up the current state first; runs as a dry run unless confirmed.

Instructions

Put the SD card's boot files back as one backup has them: the last change by default, or the backup named (as amiga_emu68_card or an earlier answer gives it).

Only the files of that backup are written, each checked against its checksum first; the present state is backed up before. A dry run unless confirm=True, and only on a card with the marker file amigent-write-ok.txt.

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

Input Schema

NameRequiredDescriptionDefault
backupNo
volumeNo
confirmNo
machineNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/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 burden and does so well: it discloses checksum verification of each restored file, that current state is backed up first, the dry-run-by-default behavior, and the amigent-write-ok.txt marker gating writes. These are exactly the safety traits an agent needs before calling a mutating restore.

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-loads the action and the default, then layers safety behavior, then defaults for machine. Dense but every clause is functional; the only mildly redundant part is restating the default twice ('the last change by default' and the parenthetical about which backup).

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?

For a mutation tool with zero annotations, the description covers what changes, what is protected (backup of present state, checksums), how to stage it safely (dry run default, marker file), and parameter defaults; an output schema exists so return values need not be described. Only the volume parameter remains underspecified.

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 0%, so the description must compensate, and it explains backup (default empty = latest change, format as returned by amiga_emu68_card), confirm (dry run vs write), and machine (saved name/ID with a documented default resolution chain). Volume is left entirely unexplained in both description and schema, which is the one real 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?

States a specific verb and resource: restore the SD card's boot files to the state a given backup holds, defaulting to the most recent change. It also disambiguates from amiga_emu68_card by naming it as the source of backup identifiers, so an agent can tell the two apart without opening a 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?

Gives clear context for invoking it (reverting a boot-file change, selecting a specific backup or the latest) and explicit preconditions (marker file present, dry run unless confirm=True). It stops short of naming the counterpart operation (e.g. amiga_emu68_update) as the alternative for going forward, so the when-not side is implied rather than stated.

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