Skip to main content
Glama

read

Retrieve bytes from a process's virtual memory by absolute address or module offset to inspect live data during reverse engineering.

Instructions

Read process virtual memory. va may be 0x1234 or module+0x10.

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": {
      "va": "<va>"
    },
    "name": "read"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaYes
pidNo
dumpNo
sizeNo
sessionNodefault

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations exist, so the description carries the full disclosure burden, yet it says nothing about whether an attach/session must exist, permission requirements, read-size limits, whether unreadable addresses fault or return partial data, or what `dump` toggles. Only the implicit 'read-only memory access' behavior can be inferred from the verb.

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?

Two tight sentences, with the core action front-loaded and the address-format hint immediately after; no wasted wording. It is concise to a fault, given how much behavior is left unexplained.

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?

For a five-parameter debugger memory-read tool with no annotations and 0% schema coverage, the description is far too thin. The presence of an output schema removes the need to describe return values, but the behavioral and parameter gaps remain substantial.

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%, and the description only explains `va` syntax (`0x1234` or `module+0x10`). The other four parameters — `pid`, `dump` (a boolean defaulting to true with ambiguous side-effect meaning), `size`, and `session` — are undocumented in both the schema and the description.

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 states a specific verb and resource: 'Read process virtual memory.' An agent can tell this reads target memory, but it gives no signal for distinguishing this tool from the many memory-read siblings (virtual_read, physical_read, read_array, read_object, read_typed, emu_read).

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 when-to-use guidance, prerequisites, or alternatives are given. The only usage-like information is the address syntax for `va`, leaving the agent to guess when this is preferable to the other read tools.

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