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

Amigent – Amiga remote control for AI agents

amiga_run

Runs a local or remote Amiga program and reports exit code, output, debug messages, requesters, and crash or reboot status, so AI agents can test software on real hardware.

Instructions

Develop and test: copy a program over if it is local, run it, and report everything.

program is a path on this PC (uploaded to RAM:amigent-run first, only when it changed) or on the Amiga. Reports return code and output, the debug output it produced (kprintf, Enforcer hits), requesters that came up meanwhile (such as Software Failure; a WarpOS crash window is read and explained like a guru) and, if the Amiga dropped off, what amiga_status finds after it came back: a restart or a guru code.

check_fpu: on an Amiga without an FPU, a program whose code holds FPU instructions is not started (it would crash with a line-F guru); on a 68040/060 without its support library it is started with a warning. The check is a heuristic over the code hunks; check_fpu=False skips it.

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

Input Schema

NameRequiredDescriptionDefault
cdNo
argsNo
machineNo
programYes
timeoutNo
check_fpuNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses the side effect of uploading to RAM:amigent-run only on change, the contents of the report (return code, output, kprintf/Enforcer debug output, requesters such as Software Failure, WarpOS crash windows), and recovery behavior via amiga_status after a drop-off. It also explains the check_fpu heuristic and its consequences, which is exactly the kind of behavioral detail annotations would otherwise supply.

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 lead sentence is front-loaded and states action plus payload, and the following paragraphs are dense with non-redundant detail. It is longer than typical, but nearly every clause adds information; only minor tightening (e.g., the trailing machine-default note) could be trimmed.

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 tool of this complexity with no annotations, the description covers execution flow, side effects, failure modes, and machine resolution. Since an output schema exists, the description need not enumerate return values, and the remaining gaps (cd/args/timeout semantics) are peripheral to calling it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0% across 6 parameters. The description meaningfully explains three of them – program (local path vs Amiga path), check_fpu (heuristic and its effect), and machine (resolution order from amiga_machines/AMIGENT_HOST/default) – but cd, args, and especially timeout (units, behavior on expiry) are left entirely to a bare schema.

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 uses a specific verb and resource ('copy a program over if it is local, run it, and report everything') and details the execution environment (upload to RAM:amigent-run, local vs Amiga path). It is clear what the tool does, but it never distinguishes itself from the execution-adjacent siblings amiga_exec or amiga_do, so an agent must infer which runner to pick.

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

Usage Guidelines3/5

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

'Develop and test' implies the use case, and the check_fpu paragraph gives conditional guidance (skipped on no-FPU machines, warning on 040/060 without support library). However, there is no explicit statement of when to prefer this over amiga_exec/amiga_build, and no prerequisites or exclusions are named.

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