Skip to main content
Glama

read_memory_batch

Read multiple target memory or register addresses in one call to inspect embedded firmware state without issuing separate requests.

Instructions

Read multiple target memory/register addresses in a single call.

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": {
      "addresses": "<addresses>"
    },
    "name": "read_memory_batch"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressesYes
word_sizeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.2

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and falls short: it doesn't state accepted address formats (hex string?), how word_size affects the read, byte order, error handling for invalid addresses, or the shape of the returned data. Beyond 'it's a batch read', little behavioral context is provided.

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?

A single front-loaded sentence with no wasted words. It is efficient, though its brevity contributes to the under-specification noted elsewhere.

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 two-parameter memory-access tool with no annotations or output schema, the description omits critical details: address string encoding, word_size meaning, and the return payload. An agent could not call this reliably without guessing.

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% for both params. The description only loosely gestures at 'addresses' and says nothing about the string format of each address, nor about word_size (default 4) and what units or semantics it has. It does not compensate for the schema gap.

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?

Clear verb (read) plus resource (target memory/register addresses) and the batch scope ('multiple... in a single call') distinguish it from the single-read sibling read_memory. It doesn't explicitly name the alternative, but the purpose is unmistakable.

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 'in a single call' implies this is preferred over repeated single reads, but the description gives no explicit when-to-use conditions, no prerequisites, and no guidance on choosing between this and read_memory or get_memory_map.

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