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

Amigent – Amiga remote control for AI agents

amiga_drag

Press at one screen point and release at another to drag Amiga icons, move or size windows, and pick menu items, with relative movement for programs that track the mouse.

Instructions

Press at one point and release at another: drag icons, move and size windows by their drag bar and size gadget, or pick menu items.

By default the way goes as mouse movement in small steps with the button held, as a hand does: window drag bars and size gadgets follow only that. relative=True uses nothing else, for programs that follow the mouse themselves and ignore where the pointer is put (ProTracker 4's window, many games); relative=False puts the pointer at the end in one jump.

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": {
      "x1": "<x1>",
      "y1": "<y1>",
      "x2": "<x2>",
      "y2": "<y2>"
    },
    "name": "amiga_drag"
  }
}

Input Schema

NameRequiredDescriptionDefault
x1Yes
x2Yes
y1Yes
y2Yes
buttonNoleft
machineNo
relativeNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden, and it does disclose the default motion model (small steps with the button held, like a hand) plus the relative=False 'one jump' behavior and its consequences for certain windows. That is genuinely useful beyond structured fields. It stops short of stating what happens on failure, whether the machine must be connected/running, or how button release is guaranteed (e.g., if the drag is interrupted).

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 text is front-loaded with the action, then the motion model, then the machine resolution order, which matches how an agent needs the information. Sentence length is high and the middle paragraph packs three ideas together, but no sentence is filler.

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?

For a 7-parameter, zero-coverage, annotation-free tool, the description covers the hard part (relative motion) and the machine resolution default well. An output schema exists, so return values need not be described. It remains incomplete on the coordinate parameters and the button values, which an agent cannot infer with confidence.

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 7 parameters, so the description must compensate, and it only fully explains relative and machine. x1, y1, x2, y2 receive no explanation of coordinate space, origin, or units, and button is left with only an implicit 'left' default and no accepted values despite having no enum in the schema. Two of the seven are well served; the rest are undocumented anywhere.

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?

The first clause gives a concrete verb and mechanism ('press at one point and release at another') and then names the concrete targets: icons, window drag bars, size gadgets, menu items. That is far more specific than the name alone. It does not, however, distinguish itself from nearby siblings such as amiga_click or amiga_drag_measure, so the agent must infer that boundary.

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?

The description gives real conditional guidance for the trickiest choice: use relative=True for programs that track the mouse themselves (ProTracker 4's window, many games), and note that drag bars and size gadgets only respond to the stepped absolute movement. What is missing is when to reach for this tool at all versus amiga_click for a simple press/release or amiga_drag_measure for a measured drag.

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