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

Amigent – Amiga remote control for AI agents

amiga_arexx

Run ARexx scripts or send commands to an Amiga application's ARexx port, returning the result code and output for automation and control.

Instructions

Run ARexx on the Amiga and return rc and output.

With port, program is one or more commands for that application's ARexx port (see amiga_rexx_ports), one per line, sent exactly as written; the RESULT of the last one is printed. Without port, program is a complete ARexx script.

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

Input Schema

NameRequiredDescriptionDefault
portNo
machineNo
programYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description carries the full load, and it does disclose meaningful behavior: it returns rc plus output, the RESULT of the last command is printed, and commands are 'sent exactly as written' (no escaping or interpolation). What it omits is execution-risk context — this runs arbitrary code on a machine, yet there is no mention of timeouts, blocking behavior, permissions, or what happens on failure.

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 core action and return value are front-loaded in the first sentence, followed by mode-specific detail and then machine resolution — a sensible ordering. It is slightly longer than strictly necessary and the mid-sentence line breaks make it a touch ragged, but no sentence is filler.

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 3-parameter code-execution tool with an output schema (so return values needn't be explained in depth), the description covers both invocation modes and default resolution adequately. The remaining gap is operational: no guidance on timeouts, long-running scripts, or error behavior beyond the returned rc.

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

Parameters5/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 does. It defines 'port' functionally (empty vs. set changes what 'program' means), defines 'program' differently per mode including the one-command-per-line format, and spells out the full machine-resolution chain: explicit value, then AMIGENT_HOST, then the saved default, then the sole registered machine.

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 description opens with a specific verb+resource ('Run ARexx on the Amiga') and immediately states what is returned ('rc and output'). It goes further by distinguishing its two operating modes (with vs. without a port), which is the distinction an agent actually needs to tell this apart from generic exec-style siblings.

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?

It gives clear conditional guidance: use the port mode for commands aimed at one application's ARexx port, and the no-port mode for a complete script. It also points to amiga_rexx_ports for port discovery, which is a concrete routing hint. It stops short of explicitly positioning this against siblings like amiga_do or amiga_exec, so no exclusion guidance is offered.

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