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

Amigent – Amiga remote control for AI agents

amiga_do

Run several Amiga UI and shell actions in one ordered call, then return a screenshot, text, or changed region to reduce round trips.

Instructions

Several actions in one call, then one look: saves a round trip per action.

steps is a list of objects with one action each, carried out in order: {"click": [x, y]} (with "button", "double"), {"click_text": "OK"} (with "window"), {"ui_click": "Save"} or {"ui_click": 3, "window": "Prefs"}, {"menu": "Project/Quit"}, {"key": "return"}, {"type": "dir\n"}, {"move": [x, y]}, {"drag": [x1, y1, x2, y2]}, {"wait": 1.5}, {"wait_change": [x, y, w, h], "timeout": 10}, {"wait_window": "Title", "timeout": 10, "new": true}, {"wait_text": "done", "timeout": 20}, {"start": "SYS:Utilities/Clock"}, {"exec": "Info"}, {"screen_front": "Workbench"}. It stops at the first step that fails and says which. look is what comes back at the end: none, text (amiga_screen_text), changed (only the part of the screen that changed) or screen (a screenshot).

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

Input Schema

NameRequiredDescriptionDefault
lookNonone
stepsYes
machineNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/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 well: it declares in-order execution, fail-fast behavior ('stops at the first step that fails and says which'), and the meaning of each look mode including the differential 'changed' option. It omits default timeout values for wait steps and any note on irreversible side effects of exec/start.

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-loaded with the value proposition, then the step catalogue, then the look semantics, then the machine default. The middle list is dense but each entry adds a usable action; small redundancy exists in restating the sibling tool names inside look descriptions.

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 batching tool with an output schema, the description covers ordering, failure semantics, step grammar, observation modes, and machine selection. Remaining gaps are minor: default timeouts, whether state persists across steps, and the concrete payload of look modes.

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 is the only documentation, and it fully specifies the steps item grammar (action key plus its options such as button/double/window/timeout/new), the allowed look enum values with their meanings, and machine resolution order including the AMIGENT_HOST default. Little remains ambiguous for a caller constructing a request.

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 line states a specific verb and scope: batch several GUI actions in one call and return a single observation. It is clearly distinguishable from single-action siblings like amiga_click, and the enumerated step forms show the operational surface. It stops short of an explicit 'use this instead of X' statement, but the purpose is unambiguous.

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?

The phrase 'saves a round trip per action' establishes when to use this over repeated single-action calls, and the step catalogue shows which operations can be batched. It gives no explicit exclusions (e.g., when a single dedicated tool is preferable) and no guidance on step-count limits or cost, which keeps it from a 5.

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