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

Amigent – Amiga remote control for AI agents

amiga_memory_write

Patch test programs by writing hex bytes into Amiga RAM; requires ALLOWPOKE because a wrong byte can crash the machine.

Instructions

Write bytes into the Amiga's RAM (not ROM, not chips), e.g. to patch a test program. Off unless amigentd runs with ALLOWPOKE (command line or tool type): a wrong byte can crash the Amiga. hex_bytes like '4e71 4e71'. 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

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": {
      "address": "<address>",
      "hex_bytes": "<hex_bytes>"
    },
    "name": "amiga_memory_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYes
machineNo
hex_bytesYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 burden and does deliver real value: the ALLOWPOKE gate, the crash risk, the version requirement, and the RAM-only target scope. It leaves open whether writes are verified or read back, whether they are reversible, and what address format is expected, and does not describe any error behavior when the gate is closed.

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?

Front-loaded with the action and its safety gate, then the parameter notes; both paragraphs are short and mostly earn their place. "not chips" is slightly ambiguous phrasing that costs a little clarity, but there is no filler.

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 destructive memory-poke tool with no annotations, the definition covers the essentials: the enablement gate, the hazard, the version floor, the input encoding, and machine selection fallback. The one material hole is the address parameter's format, which an agent needs before it can call the tool correctly; return values need not be explained given the output schema.

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 coverage is 0%, so the description must compensate. It does well for two of three parameters: hex_bytes gets a concrete example ('4e71 4e71') and machine gets an explicit default-resolution chain (argument, then AMIGENT_HOST, then saved default, then sole registered machine). The address parameter is entirely undocumented — no hint whether it is hex, decimal, byte-width, or alignment-constrained.

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 ("Write bytes into the Amiga's RAM") and bounds the target with "not ROM, not chips," plus a concrete use case (patching a test program). It stops short of naming the nearest siblings (amiga_memory, amiga_write_text), so the agent must infer the read-vs-write split from names alone.

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 a clear operative condition and a hard prerequisite: the tool is off unless amigentd runs with ALLOWPOKE, and requires amigentd 1.4.0. It also warns that a wrong byte can crash the Amiga, which is the key caution before use. It does not point at an alternative tool when this one is disabled or when the goal is text rather than raw bytes.

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