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

Amigent – Amiga remote control for AI agents

amiga_wait_task

Wait for a named Amiga task or process to start, or with gone=true until it disappears. Use it to synchronize scripts with programs launched by Run and confirm completion.

Instructions

Wait until a task or process with this name runs (or, gone=True, until none does).

For programs a script started with Run: amiga_exec returns when the script ends, this waits for what it started. name matches like amiga_task: a task name, a program as amiga_tasks shows it (its file name is enough), or an address. Looks at the task list every one to three seconds, so it is gentle on a slow line. Needs amigentd 1.4.0.

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

Input Schema

NameRequiredDescriptionDefault
goneNo
nameYes
machineNo
timeoutNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the load and does well: it discloses the 1–3 second polling cadence as gentle on a slow line, and states the amigentd 1.4.0 dependency, which is real operational context. The notable gap is timeout (default 30), which is never mentioned — the agent cannot tell whether expiry raises an error or returns a not-found result.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core behavior is front-loaded in the first line, followed by the usage scenario, then matching rules, then the polling cost and version requirement as trailing operational notes. Every sentence carries information; nothing is redundant.

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?

An output schema exists, so return values need no explanation, and the description covers matching semantics, polling behavior, version requirements, and machine defaulting. What remains missing is what happens when the wait exceeds the default 30-second timeout, which matters for a blocking tool.

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 must compensate and mostly does: name's three matching modes (task name, program as amiga_tasks shows it, or address), gone's inverted meaning, and machine's full default resolution chain (AMIGENT_HOST, saved default, sole registered machine) are all spelled out. Only timeout goes entirely unexplained, which keeps it from a 5.

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 and resource — wait until a task or process with a given name runs, or with gone=True until none does — and the gone=True clause makes the inverted semantics explicit up front. It also distinguishes itself from amiga_task/amiga_tasks by explaining that name uses the same matching rules as amiga_task.

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 a clear triggering scenario: for programs a script started with Run, amiga_exec returns when the script ends, so this tool waits for what it started. That tells the agent when to reach for it over amiga_exec, but the other wait siblings (amiga_wait_change, amiga_wait_window, amiga_wait_text) are never contrasted.

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