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

Amigent – Amiga remote control for AI agents

amiga_click_text

Click visible screen text to activate buttons or select list entries, including unnamed MUI/ReAction gadgets; exact text matches win.

Instructions

Click on visible text, such as a button label or a list entry, found via the screen text.

Works for buttons amiga_ui_tree can't name (MUI, ReAction, requesters) as long as their label is drawn as text. Exact matches win over rows that merely contain the 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_click_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
buttonNoleft
doubleNo
windowNo
machineNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full disclosure burden. It usefully reveals the matching heuristic (exact label wins over rows merely containing the text) and how the machine target is resolved by default, but it never states what happens on no match or ambiguity, whether it waits or retries, or whether it scrolls the list before clicking.

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 capability and its disambiguation from amiga_ui_tree are front-loaded in the first two sentences, with the matching rule third and the machine-default note last. Wording is economical, though the trailing machine sentence is a dense run-on that could be a documented schema default instead.

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

Completeness2/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 not be described, but that is where the sufficiency ends: no annotations, 0% schema coverage, and four of five parameters unexplained. For a tool that performs a physical click into a running emulator, the silence on failure modes, timing, and the button/double/window parameters leaves real gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters, so the description must explain them and mostly does not. Only 'machine' gets real meaning (saved Amiga name or ID, defaults to AMIGENT_HOST, the saved default, or the sole registered machine); 'button', 'double', and 'window' are never mentioned, leaving the agent to guess their effect on click behavior and target window scoping.

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: "Click on visible text, such as a button label or a list entry, found via the screen text." It then scopes itself against a named sibling by explaining it works where amiga_ui_tree cannot name a button (MUI, ReAction, requesters), so an agent can choose between the two without opening a schema.

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 condition for use (labels drawn as text on widgets the UI tree can't name) and an implicit preference rule that exact matches beat substring rows. It stops short of saying when not to use it, e.g. when the target is a named gadget that amiga_ui_click or amiga_ui_tree handles directly, or when the text has not yet appeared.

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