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

Amigent – Amiga remote control for AI agents

amiga_screen_text

Read text from an Amiga screen window by window, with screen-pixel positions for clicking. Use it instead of screenshots for shell output, requesters, lists, and status lines.

Instructions

The text on the front screen, window by window, with positions: cheap, no picture.

Use it first when you need information: Shell output, a requester's message, a list, a status line, whether something finished. It costs a few hundred bytes where a screenshot costs kilobytes. Take amiga_screenshot instead (or afterwards) for layout, graphics, icons, colours, games, and whenever this reports no text or a note says text is missing: buttons drawn as pictures, windows that were open before amigentd started, or programs that draw text their own way. window picks a window by part of its title or its id; find keeps rows containing that text; x/y/width/height keep rows in that region. Rows covered by a window in front are left out unless hidden=True. Positions are screen pixels, ready for amiga_click.

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

Input Schema

NameRequiredDescriptionDefault
xNo
yNo
findNo
widthNo
heightNo
hiddenNo
windowNo
machineNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

No annotations exist, so the description carries the full burden, and it does: cost profile (a few hundred bytes vs. kilobytes), occlusion behaviour (rows behind a front window are omitted unless hidden=True), and known blind spots (windows opened before amigentd started, programs that render text themselves). It also clarifies that reported positions are screen pixels usable directly by amiga_click, which is non-obvious behavior.

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, then usage and alternatives, then parameter meanings, then machine resolution — a sensible front-loaded order with no filler sentences. Some phrasing is run-on across wrapped lines, but each sentence adds information.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter, zero-annotation tool, the description covers purpose, alternatives, cost, limitations, occlusion rules and every parameter's role. An output schema exists, so return-value structure need not be restated; what remains is exactly what an agent needs to call it correctly.

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 compensate, and it explains all eight parameters: window matches by title fragment or id, find keeps matching rows, x/y/width/height restrict to a region, hidden re-includes occluded rows, machine resolves name/ID with documented fallback order. It falls short of 5 because width/height default of 0 (presumably unbounded) and find's matching semantics (case sensitivity) are not stated.

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?

States a specific resource and scope: the text on the front screen, window by window, with positions. It immediately names the sibling it is contrasted with (amiga_screenshot) and the axis of differentiation (text vs. picture, bytes vs. kilobytes).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says to use it first when you need information (Shell output, requester messages, lists, status lines, completion checks) and names amiga_screenshot as the alternative for layout, graphics, icons, colours and games. It also lists the concrete conditions when the other tool wins: no text reported, picture-drawn buttons, pre-existing windows, custom text rendering.

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