Skip to main content
Glama

read_memory

Dump memory from a debugged process at a given hex address. Returns a hex and ASCII dump to inspect buffers, structures, or code.

Instructions

Read memory and return as hex+ASCII dump.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoBytes to read. 16-64 small structs, 256 buffer peek, 4096 full page.
addressYesMemory address as hex string. ALWAYS use '0x' prefix. Examples: '0x401000', '0x7FFE0308', '0x00007FF7C0001234'. WARNING: without '0x' prefix, '401000' is treated as decimal 401000, not hex 0x401000.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoStructured result data (varies by tool)
errorNo
detailsNoDetailed text breakdown
successYes
summaryYesOne-line human-readable result
suggested_next_toolsNoTools recommended to call next based on this result
Behavior3/5

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

With no annotations, the description must disclose behavioral traits. It implies a read-only operation via the verb 'read' and adds the output format detail, but it does not state whether the read is safe, what side effects (if any) exist, or any limitations. The disclosure is minimal but not misleading.

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?

The description is a single, front-loaded sentence that directly states the purpose and output format. Every word earns its place, with no redundancy or filler.

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

Completeness3/5

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

The schema is comprehensive and the output format is stated, but the description does not clarify which debugging context (IDA, windbg, or other) this tool applies to. This ambiguity is significant given sibling tools like ida_read_bytes and windbg_read_memory, leaving a gap in overall completeness.

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 100%, with rich parameter descriptions (e.g., the hex prefix warning for 'address'). The tool description itself adds no extra parameter semantics, so the baseline of 3 is appropriate because the schema carries the explanatory burden.

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?

The description clearly states the action ('Read memory') and the output format ('hex+ASCII dump'), making the tool's purpose specific. However, it does not differentiate from sibling memory-read tools like windbg_read_memory or read_string, which weakens clarity in the broader toolset.

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 is provided on when to use this tool versus alternatives. There are no exclusions, preconditions, or examples of appropriate use cases, leaving the agent to infer usage from the name and schema alone.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/DdUdle/ctxdebug'

If you have feedback or need assistance with the MCP directory API, please join our Discord server