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

Amigent – Amiga remote control for AI agents

amiga_restart

Restart an Amiga cleanly and wait for it to answer, cycling power if it stays unreachable after a warm restart so the machine comes back online.

Instructions

Restart cleanly through the system and wait until the Amiga answers.

Some Amigas come back without network after a warm restart. With power control set up, the power is cycled after two minutes without an answer; the disks were written before the restart, so nothing is lost.

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

Input Schema

NameRequiredDescriptionDefault
machineNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses that it blocks waiting for a response, that warm restarts can leave some Amigas without network, the two-minute power-cycle fallback, and the reassurance that disks were flushed beforehand. It omits what happens when no answer arrives and no power control is configured, and does not state that running sessions are lost.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The action and wait semantics are front-loaded in the first sentence, the edge-case fallback follows, and the parameter note is a single compact line. No sentence is filler for a tool of this scope.

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 values need not be explained, and there is only one optional parameter, which is fully documented. The remaining gap is the failure mode when the machine does not answer and power control is not set up.

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 does: the single machine parameter is explained with its source (amiga_machines) and a full default-resolution chain (AMIGENT_HOST, then the saved default, then the sole registered machine). Only the accepted ID format itself is left 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?

States a specific verb and resource: restart the Amiga machine through the system and wait for it to answer. The wait-until-answer behavior distinguishes it from a bare reboot command. It does not explicitly name a sibling alternative, so it lands at a clear-but-undifferentiated 4.

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?

Implies when to use it (a clean restart that confirms the machine returns), and explains the power-cycle fallback path, but gives no explicit when-not guidance or named alternative such as amiga_break or amiga_exec for other control flows. Usage is inferable rather than stated.

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