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

Amigent – Amiga remote control for AI agents

amiga_wait_change

Wait until a screen region or the full screen changes from your last screenshot after a click or command; avoids screenshot loops and returns within a timeout.

Instructions

Wait until a region (or the screen) differs from what you last looked at.

Counts from your last screenshot, so a change your click already caused is reported at once. Use it after a click or command instead of taking screenshots in a loop; no pictures are sent. Returns within timeout even on a slow link.

machine: saved Amiga name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "amiga_wait_change"
  }
}

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
widthNo
heightNo
machineNo
timeoutNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the comparison baseline (your last screenshot), that a change already caused by your click is reported immediately rather than missed, that no images are returned, and that it respects the timeout even on a slow connection. It does not describe what constitutes a "difference" (threshold/sensitivity) or what an unchanged-timeout result looks like.

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 and the usage recommendation are front-loaded in the first three sentences with no filler. The trailing `machine` note is boilerplate but short and does carry defaulting logic not present in the schema.

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?

An output schema exists, so return-value explanation is not required, and the timing/behavior story is solid. However, for a six-parameter tool with zero schema coverage, the description leaves the region geometry semantics and change-detection threshold unstated, which are the details an agent most needs to call it correctly.

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% for six parameters, so the description must compensate. It only explains `machine` and hints at timeout and the region coordinates via "region (or the screen)"; the meaning of width/height defaults of 0 (whole screen) and any sensitivity behavior are left to inference from parameter names.

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 first sentence states a specific verb (wait) and a specific condition (region or screen differs from the last look), which is enough to separate it from polling screenshots. It does not explicitly name the pixel-change condition vs. the text/window siblings (amiga_wait_text, amiga_wait_window), so the differentiation is implicit rather than stated.

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 positive guidance ("Use it after a click or command instead of taking screenshots in a loop") and explains why the tool is the right choice in that moment. It stops short of explicit when-not guidance such as using amiga_wait_text when you want to wait for specific text rather than any pixel change.

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