Skip to main content
Glama

emu_regs

Read or set emulator registers during reverse engineering sessions to inspect and modify CPU state for dynamic analysis.

Instructions

Read (or set with rax=0x10,rcx=5) emulator registers.

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": {
      "key": "<key>"
    },
    "name": "emu_regs"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYes
setNo
sessionNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.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 disclosure burden and largely drops it. It does reveal the set syntax, but says nothing about whether writing registers mutates emulator execution state, whether it requires a paused/running target, or what happens on an invalid register name.

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?

A single front-loaded sentence with no filler or repetition. The brevity is a virtue structurally, though the same terseness is what leaves behavior and parameters under-explained.

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 output schema exists, so return values need not be described, but for a three-parameter tool with no annotations the definition should still cover what 'key' and 'session' are and what a set operation does to emulator state. Two of three parameters and all side-effect behavior are absent.

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

Parameters2/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 define all three parameters. It clarifies the format for 'set' (comma-separated register=value pairs) but leaves 'key' (presumably the register name being read) and 'session' entirely unexplained, which is a substantial gap given 0% schema coverage.

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 resource (emulator registers) and both supported verbs (read, set), so the agent knows this is the register access tool rather than memory access. It does not name or contrast with siblings such as emu_read/emu_write, so the agent must infer the register-vs-memory distinction from the word 'registers' alone.

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

Usage Guidelines3/5

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

The parenthetical gives a concrete usage cue for the write path (``rax=0x10,rcx=5``) and implies that omitting it yields a read, which is genuinely helpful. However, there is no guidance on when to prefer this over emu_read/emu_write, no prerequisites such as needing an active emulator, and no mention of the session parameter's role.

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