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

Amigent – Amiga remote control for AI agents

amiga_install_begin

Start a tracked backup before installing Amiga software: record system state and copy target folders, estimate space/time, and run the copy as a background job so changes can be undone.

Instructions

Before installing something: take stock so it can be undone, and copy aside what undo needs.

folders (comma separated, e.g. the program's target folder) are recorded and copied aside whole. With system=True (the default) C:, LIBS:, DEVS:, S:, L:, ENVARC:, SYS:WBStartup and SYS:Classes are recorded as well (name, size, date), but not copied: of them only S:Startup-Sequence, S:User-Startup and the files in touch (comma separated, e.g. 'LIBS:foo.library') are copied, plus what amiga_aminet_install and amiga_put are about to overwrite while the installation is open. full=True copies the system folders whole (slow on a full system). system=False watches only folders, for a game that stays in its drawer.

A record can tell that a file changed but not bring its old content back: amiga_install_end and amiga_install_undo name each system file that changed or went without a copy. When the installer is known to write system files, name them in touch.

First comes an estimate (files, bytes, time) and a check of the free space; above 2000 files, 32 MB or 5 minutes nothing is copied until the call is repeated with confirm=True (ask the user first). estimate_only=True only tells. The copying runs as a background job: after wait seconds the answer gives its number for amiga_job_output (progress) and amiga_break(job=n); a backup stopped or failed is never used. Calling this again says whether it is complete. Then install as usual and call amiga_install_end(name).

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

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": {
      "name": "<name>"
    },
    "name": "amiga_install_begin"
  }
}

Input Schema

NameRequiredDescriptionDefault
fullNo
nameYes
waitNo
touchNo
systemNo
confirmNo
foldersNo
machineNo
estimate_onlyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/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: it discloses the 2000-file / 32 MB / 5-minute thresholds above which nothing is copied without confirm=True, that the copy runs as a background job reported through amiga_job_output and stoppable via amiga_break(job=n), that a stopped or failed backup is never used, and the critical limitation that records detect change but cannot restore old content. That limitation and the size gate are exactly the traits an agent could not infer from the schema.

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?

Content is dense and almost all of it earns its place given nine undocumented parameters, and the purpose and thresholds are front-loaded. But the prose is broken by mid-sentence line wraps and circles back to the same points (the change-detection limitation is stated, then restated in terms of amiga_install_end and amiga_install_undo), making it slower to parse than necessary.

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 nine-parameter, no-annotation, stateful setup tool this covers what an agent needs: preconditions, defaults, cost thresholds and the confirmation gate, background-job handling and progress retrieval, the abort path, and the explicit caveat about what a backup can and cannot restore. An output schema exists, so the description is not obliged to enumerate return fields, and the one piece it does mention (the job number for amiga_job_output) is the piece that affects behavior.

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 has to define all nine parameters, and it mostly does: folders and touch with comma-separated syntax and examples, system/full with their divergent copy behavior, confirm and estimate_only with their triggering conditions, wait with its effect on the returned job number, and machine with its default-resolution chain. The exception is name, which is only implied via 'amiga_install_end(name)' -- its role as the backup session identifier is never stated outright.

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 sentence plus the detail establishes that this snapshots/records target folders (and optionally system folders) before an install so the change can be undone, and it names the follow-on tools amiga_install_end and amiga_install_undo. The first clause is an imperative framing ('take stock so it can be undone') rather than a crisp verb+resource statement, so the agent must read a few lines to learn it copies folders aside, but the function is unmistakable and clearly distinct from amiga_aminet_install and amiga_put.

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 gives explicit sequencing: call this first, then install, then call amiga_install_end(name); call it again to learn whether the backup completed. It also gives conditional guidance that selects parameter values -- system=False 'for a game that stays in its drawer', full=True for whole-system copies, touch when the installer is known to write system files -- and states the confirmation gate requires asking the user first.

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