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

Amigent – Amiga remote control for AI agents

amiga_wait_text

Pauses automation until specified text appears on the Amiga screen or disappears, with a timeout, so scripts can wait for prompts, progress lines, or completion.

Instructions

Wait on the Amiga until this text shows up on the front screen (or is gone).

For "done", a prompt coming back, a progress line. Any case; it looks at the text amigentd records, see amiga_screen_text.

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": {
      "text": "<text>"
    },
    "name": "amiga_wait_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
goneNo
textYes
machineNo
timeoutNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/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 behavioral burden. It usefully discloses that matching is case-insensitive ('Any case') and that it inspects the text amigentd records rather than raw pixels, which reputable context for a polling tool. It never says what happens when the timeout expires — error, empty result, or otherwise — which is the key behavioral question for a wait operation.

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 behavior is front-loaded in the first sentence, and each following clause adds information rather than repeating the name. The trailing 'machine:' fragment reads like a schema note grafted onto the prose and slightly disrupts flow, but there is no padding or redundancy.

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-value shape need not be explained, and the guidance on the text source plus the machine resolution order covers the tricky parts of invocation. The remaining hole is timeout behavior and polling cadence, which an agent would want to know before relying on this in a loop. For a four-parameter wait tool with no annotations, it is close to complete.

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%, so the description must do the work, and it does well for two parameters: 'gone' is implied by 'or is gone', and 'machine' gets a full resolution order (explicit name/ID from amiga_machines, then AMIGENT_HOST, then the saved default, then the sole registered machine). 'text' gets case-insensitivity but no format details, and 'timeout' is never described at all beyond the schema default of 30.

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?

States a specific verb and object: wait until a given text appears on the front screen, or until it is gone. That is precise enough to separate it from generic screen-reading tools, and it explicitly points at amiga_screen_text as the underlying source. It does not distinguish itself from the other wait_* siblings (window, task, change), so it stops short of a 5.

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?

Offers concrete use cases — waiting for 'done', a returning prompt, or a progress line — which implies when to reach for this tool. It gives no exclusions and does not route the agent to amiga_wait_window, amiga_wait_task, or amiga_wait_change when the condition is not plain text. The amiga_screen_text reference explains where the text comes from rather than which tool to choose.

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