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

Amigent – Amiga remote control for AI agents

amiga_state

Save and compare Amiga system state before and after running a program to detect leaks: unreleased memory, open libraries, lingering tasks, or ports.

Instructions

Find leaks: save the Amiga's state, run and quit a program, then compare.

save keeps free memory and the largest blocks, the open count of every library and device (with amigentd 1.4.0), the tasks and the public ports; compare says what changed since: memory not given back, a library left open, a task or port that stayed.

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

Input Schema

NameRequiredDescriptionDefault
nameNobefore
actionNosave
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 load and does so well: it lists the captured counters (free memory, largest blocks, per-library/device open counts, tasks, public ports) and states a concrete environment dependency ('with amigentd 1.4.0'). It omits whether a save overwrites an existing snapshot and whether older amigentd degrades silently or errors.

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 clause, and the following sentences each add new information about captured data and machine resolution. The per-parameter 'machine' explanation is slightly long for its position but every sentence 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?

For a three-parameter, annotation-free tool with an output schema, the description covers the workflow, what is measured, and machine targeting. The main remaining gap is the interaction between 'name' and the save/compare pair, which an agent needs to use the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate. It documents 'machine' thoroughly, including the fallback chain (amiga_machines, AMIGENT_HOST, saved default, sole registered machine), but never explains 'name' as the snapshot label that save and compare must share, nor confirms 'action' is limited to save/compare.

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?

Opens with a concrete verb pair and goal ('Find leaks: save the Amiga's state ... then compare') and spells out what each of the two actions records or reports. The resource and scope are unambiguous. It stops short of naming a sibling tool it supersedes (e.g. a debug/log tool), so it lands at 4 rather than 5.

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?

Gives an explicit workflow: save, run and quit a program, then compare — which tells the agent the ordering and pairing of the two actions. It does not say when NOT to use it or which other tool to reach for instead, so it is clear context without exclusions.

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