Skip to main content
Glama

dump_region

Extract a specified memory range from a target process and save it to a file, or return its hexadecimal bytes when no output path is provided.

Instructions

Dump a memory range to a file (or return its hex when out_path is empty).

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>",
      "size": "<size>"
    },
    "name": "dump_region"
  }
}

Input Schema

NameRequiredDescriptionDefault
vaYes
pidNo
sizeYes
sessionNodefault
out_pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

No annotations exist, so the description carries the full burden. It does disclose the important dual behavior (file write vs. inline hex return), which is real behavioral value. It omits whether existing files are overwritten, whether a pid/session must be active, and what happens on unreadable memory.

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?

A single compact sentence with the core action front-loaded and the output-mode caveat attached. Nothing is redundant, and no filler is present.

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?

An output schema exists, so return-value documentation is not needed. But for a five-parameter memory-dumping operation with zero schema descriptions and no annotations, the definition says nothing about addressing format, size limits, pid/session requirements, or file-overwrite behavior, leaving significant gaps.

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 five parameters, and the description only explains one of them: that an empty out_path triggers hex output. The meanings and formats of va, size, pid, and session are left entirely undocumented in both schema and 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 uses a specific verb ('Dump') and resource ('a memory range') and clarifies the two output modes: writing to a file or returning hex. It is clear what the tool does, though it does not explicitly differentiate itself from nearby read/inspect tools such as emu_read or disassemble.

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 parenthetical gives an implied mode-selection rule (leave out_path empty to get hex instead of a file), which is useful usage guidance. However, it never states when to choose this tool over sibling memory-inspection tools, nor any prerequisites such as needing an attached session or pid.

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