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

Amigent – Amiga remote control for AI agents

amiga_ui_tree

Inspect Amiga windows and gadgets as labeled text, boxes, and numbered click targets, with optional pictures for unreadable controls. Query a background screen without bringing it forward.

Instructions

The front screen's windows and gadgets as text, with labels, boxes and numbers.

screen_id (a handle from amiga_screens or part of a title) looks at a screen behind the front one without bringing it forward; pictures only come from the front screen.

Labels come from classic Intuition gadgets and GadTools checkboxes, strings and sliders. Gadgets whose label can't be read (GadTools buttons, BOOPSI, ReAction, MUI, requesters patched by tools like ReqAttack) come with a picture: each one cut out of the screen next to its #number, so you can read what it says and click it with amiga_ui_click(number=..., window=...). Only the active window's gadgets get pictures.

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

Input Schema

NameRequiredDescriptionDefault
machineNo
picturesNo
screen_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description does the disclosure work: where labels come from, which gadget types cannot be labeled and fall back to pictures, and the active-window constraint. Missing hints on whether it is strictly read-only and how large trees are returned, so not a 5.

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?

Purpose is front-loaded in the first sentence, then supporting detail is grouped logically by parameter. The gadget-label paragraph is dense and slightly long, but each sentence adds usable information rather than padding.

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 shape needn't be explained, and the definition covers the tricky behaviors (label fallbacks, screen targeting, machine default). Adequate for a 3-parameter inspection tool; only the pictures flag's explicit semantics remain thin.

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 coverage is 0%, so the description must carry parameter meaning, and it explains screen_id (a handle from amiga_screens or a title fragment) and machine (saved Amiga name/ID with documented default fallback chain) well. The pictures flag is only addressed indirectly via the picture-fallback discussion, leaving its false case implicit.

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?

Opens with a concrete verb and resource: it returns the front screen's windows and gadgets as text with labels, boxes and numbers. That is clearly an inspection/read tool. It doesn't explicitly name a sibling it is not, though the pointers to amiga_ui_click and amiga_screens imply the workflow, so it falls just short of 5.

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?

Explains the screen_id condition for looking behind the front screen and notes that pictures only come from the front screen and only for the active window's gadgets. It also ties the output to the next action (click with amiga_ui_click(number=..., window=...)). No explicit 'do not use for X' exclusion keeps it at 4.

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