Skip to main content
Glama

winuae_registers_set

Set any subset of Amiga m68k CPU registers—D0–D7, A0–A7, SR, and PC—to control emulator state during debugging.

Instructions

Set m68k CPU registers. Provide any subset of D0-D7, A0-A7, SR, PC.

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": "winuae_registers_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
A0NoA0 register
A1NoA1 register
A2NoA2 register
A3NoA3 register
A4NoA4 register
A5NoA5 register
A6NoA6 register
A7NoA7 register (SP)
D0NoD0 register
D1NoD1 register
D2NoD2 register
D3NoD3 register
D4NoD4 register
D5NoD5 register
D6NoD6 register
D7NoD7 register
PCNoProgram Counter
SRNoStatus Register

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing. For a mutation of live emulator state it does not say whether the CPU must be paused, whether writes take effect immediately, whether omitted registers are left untouched, or whether values are decimal or hex strings despite the string|number union in the schema.

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, front-loaded with the action and then the acceptable inputs. Nothing is redundant and nothing is buried.

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?

An 18-parameter mutation tool with no annotations and no output schema needs to cover preconditions and value formats; the description covers neither. An agent knows what to pass but not under what emulator state, nor whether it should read registers back afterward to confirm.

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 100% but the schema text is purely nominal ('D0 register'), and the description only reiterates the register list. Its one genuine addition is the 'any subset' phrasing, which clarifies that all 18 parameters are optional and updates are partial; the accepted value format is left unexplained in both places.

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 ('Set m68k CPU registers') and enumerates the register groups covered, so its difference from winuae_registers_get is inferable from the verb alone. It does not name or contrast with that sibling explicitly, keeping it short of a 5.

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?

'Provide any subset of D0-D7, A0-A7, SR, PC' implies partial updates are allowed, which is the only usage guidance present. There is no statement of when to prefer this over winuae_registers_get, whether the emulator must be paused or connected first, or what happens to registers that are omitted.

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