Skip to main content
Glama

memory.read

Read raw bytes from program memory by session, address, and length to inspect or extract binary data during reverse-engineering tasks.

Instructions

Read raw bytes directly from program memory.

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": {
      "session_id": "<session_id>",
      "address": "<address>",
      "length": "<length>"
    },
    "name": "memory.read"
  }
}

Input Schema

NameRequiredDescriptionDefault
lengthYes
addressYes
session_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. "Read" implies a non-mutating operation, but nothing is said about required session state, permission or attachment prerequisites, what happens on invalid or unmapped addresses, or the form of the returned bytes.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single clean, front-loaded sentence with no filler, but the brevity reflects under-specification rather than economy: nothing about parameters, return shape, or operating constraints.

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 low-level memory-read tool with three fully undocumented required parameters, no annotations, and no output schema, the description is far too thin. An agent cannot tell valid address forms, length limits, or what the read returns.

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% across three required parameters, so the description must compensate and does not. It gives no meaning for session_id, no address format (the schema's oneOf integer/string is left unexplained), and no units or bounds for length.

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: "Read raw bytes directly from program memory." That distinguishes it from the write-side sibling (memory.write) at a coarse level, but it never explicitly contrasts scope or mentions session/target context.

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 or when-not-to-use guidance. It does not say whether a live/attached session is required, when to prefer memory.blocks.list or memory.block.create over a raw read, or what the tool is unsuitable for. Usage is only implied by the word "directly".

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

Deploy Server

Other Tools