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

Amigent – Amiga remote control for AI agents

amiga_debug_log

Retrieves new Amiga debug output—kprintf, Enforcer and MuForce hits—or the full 64 KB ring, with optional serial log data for diagnosing crashes and system errors.

Instructions

Debug output on the Amiga since the last call: kprintf, Enforcer and MuForce hits.

With amigentd 1.4.0 the addresses of code in hits (PC: ..., by $...) get the program and hunk or the library function they belong to.

amigentd catches what goes through exec's RawPutChar (as Sashimi does); the serial port still gets it as well. everything=True shows the whole ring (64 KB) instead of what is new. When the Pi's serial line of an Emu68 Amiga is recorded on this PC (amiga_serial_log), what came there is added, also while the Amiga does not answer.

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

Input Schema

NameRequiredDescriptionDefault
machineNo
everythingNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden; it does well on data provenance (exec RawPutChar interception, serial line still receives output, version-dependent address resolution) and on ring size. It does not state whether a call advances the 'since the last call' cursor irreversibly, what happens on the very first call, or how failures are surfaced when the Amiga is unreachable.

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 and each following block (address resolution, capture mechanism, everything flag, serial merge, machine default) earns its place. Some version-specific detail about amigentd 1.4.0 is extraneous to tool selection, and the wrapping makes it read as a changelog rather than a definition.

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-value shape need not be explained, and the description covers source, scope, and both parameters. The remaining gap is the delta-cursor lifecycle across calls, which matters for an incremental-polling tool.

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 for both parameters: machine is defined as a saved name or ID with an explicit fallback order (AMIGENT_HOST, saved default, sole registered machine), and everything is defined as full-ring versus delta. Format details of the machine string are not given, but the semantics are clear.

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 first line names a specific resource (debug output on the Amiga) and enumerates the concrete content types: kprintf, Enforcer and MuForce hits. It also implicitly separates itself from amiga_serial_log by explaining that serial data is merged in rather than being this tool's primary source.

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 explains the key usage decision (everything=True returns the whole 64 KB ring instead of only what is new) and clarifies the machine parameter's default resolution chain from amiga_machines. It stops short of explicit when-not guidance, such as what to use instead for pure serial capture or for historical logs beyond the ring.

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