Skip to main content
Glama

dbg_read_memory

Read a specified number of bytes from a memory address in a debugged process, returned in base64 encoding. Useful for inspecting raw data during debugging sessions.

Instructions

Read count bytes of memory (base64) from a memory reference.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes
memory_referenceYes
countYes
offsetNo
Behavior2/5

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

No annotations exist; description only mentions reading memory and base64 output. It does not disclose potential errors (e.g., invalid reference), permission needs, or side effects, missing key behavioral context.

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, clear sentence that immediately conveys the tool's purpose with no unnecessary words.

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?

For a simple read tool with no output schema, the description minimally covers return format (base64) but lacks details on error handling, offset usage, and constraints, making it barely adequate.

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?

With 0% schema description coverage, the description must compensate. It mentions 'memory_reference' and 'count' but omits 'session_id' and 'offset' entirely, and provides no additional meaning beyond parameter names.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (read), the resource (memory), and specifies returning base64 encoded bytes from a memory reference, distinguishing it from sibling tools like dbg_evaluate or dbg_variables.

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?

No explicit when-to-use or when-not-to-use guidance is provided. The description implies usage for reading raw memory, but lacks context for when to prefer over other debug tools or any prerequisites.

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/birdeclipse/gdb-mcp'

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