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

Amigent – Amiga remote control for AI agents

amiga_button

Press or release a selected Amiga mouse button to perform clicks, long holds, and drags on a specified remote machine.

Instructions

Press (down=True) or release (down=False) one mouse button on its own.

For long presses and drags with stops on the way; release it again afterwards. Buttons arrive as input events, as a mouse's do for Intuition and every program that reads input. Programs that read the button straight from the hardware (left: CIA-A $BFE001 bit 6; right/middle: POTGO), such as ProTracker, many games and demos, don't see them: amigentd doesn't drive those port pins, as that could fight a real mouse's button. Use keys there, or a real mouse.

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

Input Schema

NameRequiredDescriptionDefault
downNo
buttonNoleft
machineNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does so well: it explains that the button is delivered as an input event like a real mouse's, that button state persists between calls (hence 'release it again afterwards'), and — critically — that programs reading CIA-A $BFE001 bit 6 or POTGO (ProTracker, games, demos) will never see these synthetic presses because amigentd does not drive the port pins. That is exactly the kind of non-obvious failure mode an agent needs before choosing this tool.

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 action is front-loaded in one clean sentence and the follow-on paragraphs each add distinct information (holding semantics, hardware limitation, machine default). The CIA-A/POTGO register detail is dense and slightly rambling, but it is load-bearing for the limitation it explains, so it earns its place.

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?

With an output schema present, return values need no explanation, and the description covers the operation, persistence of state, target machine resolution and the major limitation. The one gap is that it never says the press applies at the pointer's current position and that no coordinates are accepted — relevant for an agent sequencing this with other input tools.

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 largely does: it defines the meaning of down=True/False, spells out the full default chain for machine ('name or ID from amiga_machines; defaults to AMIGENT_HOST, the saved default, or the sole registered machine'), and names the valid button values (left, right/middle) inside the hardware caveat. The button parameter is documented only indirectly via that aside, which keeps it from a 5.

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 opening sentence gives an exact verb pair and resource — press (down=True) or release (down=False) one mouse button — and the phrase 'on its own' distinguishes it from a full click. An agent can tell immediately that this is a half-click primitive rather than a click or drag tool.

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 states the use case ('For long presses and drags with stops on the way; release it again afterwards'), which tells the agent to hold-and-release across other calls, and it gives a meaningful exclusion ('Use keys there, or a real mouse') for hardware-polling programs. It falls short of explicitly naming the sibling tools (e.g. a click or drag tool) that are the alternatives for simpler cases.

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