Skip to main content
Glama

GetRegisterDump

Read-onlyIdempotent

Retrieve all CPU registers in one call for x64dbg debugging, including general-purpose, segment, debug, flags, and last error/status values.

Instructions

Get a complete dump of all CPU registers in one call. Returns general purpose registers, segment registers, debug registers, flags, and last error/status information.

Much more efficient than reading registers individually.

Returns: Dictionary with all register values (cax/ccx/cdx/cbx/csp/cbp/csi/cdi, r8-r15 on x64, cip, eflags, segment regs, debug regs, flags object, lastError, lastStatus)

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.9

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds useful context by enumerating what the dump contains (general purpose, segment, debug regs, flags, lastError/lastStatus), which goes beyond the annotations.

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 and reasonably tight, but the return contents are described twice - once in prose ('Returns general purpose registers, segment registers...') and again in a 'Returns:' block - creating mild redundancy that could be trimmed.

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?

There is no output schema, so the description carries the burden of describing the return value, which it does by listing register groups and the flags/lastError/lastStatus fields. It is complete enough to call correctly, though it does not tie into the broader debug workflow.

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?

The tool takes zero parameters, so there is no parameter semantics to document; the baseline for a no-arg tool is 4. The description correctly signals a single-call, argument-free retrieval.

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 ('Get a complete dump of all CPU registers'), clearly describing what the tool retrieves. It does not name or differentiate itself from sibling tools that also expose runtime state (GetThreadList, GetCallStack, ReadMemory), so it stops 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 Guidelines3/5

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

The phrase 'Much more efficient than reading registers individually' hints at when to prefer this tool, but no sibling alternative is named and there is no explicit when-to-use or when-not-to-use guidance. Usage must be inferred from the debugger context.

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