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

Amigent – Amiga remote control for AI agents

amiga_ui_click

Clicks an Amiga UI gadget by its label or window-relative number, enabling AI agents to operate windows and controls identified from the UI tree.

Instructions

Click a gadget from amiga_ui_tree by its label, or by its #number within a window.

window is part of the window's title, or its id from amiga_ui_tree.

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

Input Schema

NameRequiredDescriptionDefault
labelNo
buttonNoleft
doubleNo
numberNo
windowNo
machineNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior2/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, yet it says nothing about what happens on click (focus change, window activation, side effects) or what occurs if no matching gadget is found. Only the machine-resolution fallback chain is disclosed, which is useful but covers ancillary behavior rather than the action itself.

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-loads the action and the two targeting modes, then the window and machine semantics. Slightly fragmented by blank-line separation and repeated 'from amiga_ui_tree' phrasing, but no substantive waste.

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 values need not be explained. Still, for a six-parameter input-gesture tool with zero annotation coverage, the undefined button/double semantics and absent failure behavior leave meaningful gaps an agent would need to guess at.

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%, and the description does add real meaning for label/#number, window (title fragment or tree id), and machine (name/ID plus default resolution order). However, 'button' (default 'left') and 'double' are left completely unexplained despite being the parameters that determine the actual gesture performed.

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 ('Click') and resource ('gadget'), and scopes the target to gadgets obtained from amiga_ui_tree, with two named addressing modes (label or #number). It stops short of differentiating itself from similarly named siblings like amiga_click or amiga_button, so it is clear but not fully disambiguated.

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?

Prerequisite usage is implied by 'a gadget from amiga_ui_tree' and 'id from amiga_ui_tree', telling the agent to inspect the tree first. There is no explicit statement of when not to use it or which sibling to prefer for non-gadget clicking.

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