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

Amigent – Amiga remote control for AI agents

amiga_trace

Set tracepoints in a running Amiga program to capture D0–A7, SR and stack top when execution reaches an address, then let it continue. List or clear up to 8 tracepoints.

Instructions

Tracepoints in a running program: where it gets to, and its registers then.

action set: put one at address (in a running program's code, e.g. from amiga_loaded or 'myprog hunk 0 +$120' resolved with amiga_where); when the program passes there, amigentd keeps D0-A7, SR and the top of the stack, puts the instruction back and the program runs on without stopping. Fires once. action list shows them with what they caught; clear removes all. At most 8. Meant for programs you are testing. Needs amigentd 1.4.0.

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

Input Schema

NameRequiredDescriptionDefault
actionNolist
addressNo
machineNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/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 well: it discloses that the tracepoint fires once, that the original instruction is restored and execution continues, exactly which state is captured (D0-A7, SR, top of stack), the cap of 8, and a version dependency. Gaps remain on failure behavior — invalid address, what happens above the limit, or whether tracepoints survive a program restart.

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?

Content is front-loaded with the core concept first and operational detail after, and nearly every sentence adds information. The clipped, telegraphic phrasing ('where it gets to, and its registers then', 'action set: ...') makes it read as notes rather than clean prose and costs a small amount of parseability.

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 a three-parameter debugging tool with an output schema and no annotations, the description covers purpose, actions, limits, prerequisites, address resolution, and machine resolution. Return values are handled by the output schema, so nothing an agent needs to invoke it correctly is missing.

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 largely does: it explains 'address' with a concrete resolution path ('myprog hunk 0 +$120' resolved with amiga_where), enumerates the action semantics (set/list/clear), and spells out the machine default chain (AMIGENT_HOST, saved default, sole registered machine). It never states the action values as a canonical enum, so the agent must infer that list/set/clear are the complete set.

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 line names the exact resource — tracepoints in a running program — plus what they capture (where execution reaches, and registers at that moment). It implicitly distinguishes itself from a stopping debugger by stating the program 'runs on without stopping', so an agent can tell this apart from a break/halt tool without opening a schema.

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 gives clear context for each action (set one at an address, list shows what they caught, clear removes all), states the 8-tracepoint cap, says it is 'meant for programs you are testing', and pins a prerequisite of amigentd 1.4.0. It stops short of explicitly naming the alternative tool for cases where the agent wants to halt or step, leaving that contrast implicit.

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