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

Amigent – Amiga remote control for AI agents

amiga_build

Compiles an Amiga project by running its build script as a job, then reports compiler messages and whether the build succeeded.

Instructions

Compile a project on the Amiga by running its build script (as a job), and report the compiler's messages and whether it worked.

fpu: '' (default) builds without FPU instructions, so the program runs on every Amiga. 'auto' builds FPU code for the FPU this Amiga has, '68881' (m881.lib, 68881/68882 or a 68040/060 with its library) or '68040' (m040.lib, a 68040/060 FPU). Refused on an Amiga without an FPU. Projects made before Amigent 1.5.0 need a new build script for it (amiga_create_project).

target: '' builds 68k code; 'warpos' a PowerPC program for WarpOS with vbcc's ppc-warpos target (+warpos), which must be installed in vbcc on the Amiga; the script says so if it is not.

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

Input Schema

NameRequiredDescriptionDefault
cpuNo
fpuNo
folderYes
targetNo
devpackNo
machineNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses async job execution, that compiler messages and a success verdict are returned, that FPU builds are "refused on an Amiga without an FPU", and the machine default-resolution chain (AMIGENT_HOST, saved default, sole registered machine). It does not cover duration, concurrency, or what a failed job returns, but the output schema covers return values.

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 and outcome are front-loaded in the first sentence, followed by labelled per-parameter blocks, which is a readable structure. The fpu paragraph is dense but every clause adds real selection information; the layout is only slightly undermined by unlabelled blocks for the remaining parameters.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

A six-parameter mutation-like tool with an output schema gets solid coverage of machine selection and build variants, but half the parameters — including the only required one — are left undocumented, which is a real gap for an agent constructing the call. The presence of an output schema excuses it from describing return values.

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 description coverage is 0%, so the description must compensate; it does so richly for three of six parameters (fpu, target, machine), including library/target mappings and defaults. However, the required parameter 'folder' plus 'cpu' and 'devpack' are given no meaning beyond their names, leaving the most essential input (the project folder) unexplained.

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?

Opens with a specific verb+resource+mechanism: "Compile a project on the Amiga by running its build script (as a job)", and states the outcome delivered (compiler messages, success flag). It also distinguishes itself from the project-creation sibling by naming amiga_create_project as the tool for regenerating build scripts.

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 concrete when-to-use conditions for the option values: '' for maximum compatibility, 'auto' for the host FPU, and explicit preconditions for 'warpos' (vbcc ppc-warpos must be installed). It also routes to amiga_create_project for pre-1.5.0 projects. It stops short of stating when to prefer this over a raw shell/exec sibling.

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