Skip to main content
Glama

winuae_memory_write

Writes hex-encoded bytes to a specified address in WinUAE's emulated Amiga memory, enabling direct patching or inspection during 68k debugging.

Instructions

Write bytes to memory. Provide data as hex string (e.g., "48E7FFFE" or "48 E7 FF FE").

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>",
      "data": "<data>"
    },
    "name": "winuae_memory_write"
  }
}

Input Schema

NameRequiredDescriptionDefault
dataYesHex data to write
addressYesStart address

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden for a mutation operation. It says nothing about overwrite/irreversibility, what happens on invalid or ROM addresses, whether write length is inferred from the data string, or whether the CPU must be halted — all critical for a memory-poking tool in a live emulator.

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?

Two short sentences with the operation stated first and the formatting rule second; every word earns its place and the most error-prone detail is front-loaded within the body.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating, no-annotation, no-output-schema tool operating on live emulator memory, the definition is thin: no state prerequisites, no error/failure behavior, no note on whether writes take effect immediately. Only the input encoding is covered.

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 100%, so the baseline is 3, but the description genuinely adds meaning by showing accepted hex string formats ("48E7FFFE" and space-separated "48 E7 FF FE"), which the schema does not convey. It does not clarify address notation (hex vs decimal, string vs number), which remains a real ambiguity.

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 to memory"), which is immediately distinguishable from the read/dump siblings by the verb alone. It does not explicitly name the complementary tool, but the operation is unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus winuae_memory_read/dump or the register/breakpoint tools, and no preconditions stated (e.g., whether the emulator must be paused, connected, or in a specific state). The agent is left to infer all context from the name.

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