Skip to main content
Glama

capture_module

Captures a live module via DMA and loads it for static analysis, enabling in-memory code inspection without a debugger.

Instructions

Capture a live module through DMA and load it for static analysis.

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": {
      "module": "<module>"
    },
    "name": "capture_module"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyNo
pidNo
moduleYes
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 are provided, so the description carries the full behavioral burden. It discloses the DMA mechanism and that the capture is loaded into the analysis workspace, but says nothing about whether the target must be attached/paused, whether the read is safe and non-destructive, permission requirements, or what happens to any prior capture. For a live-process memory acquisition tool with zero annotation coverage, this is a substantial gap (return values are covered by the output schema).

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, and the mechanism and downstream purpose are ordered sensibly. It is efficient but so terse that it reads as under-specification rather than deliberate economy.

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 tool with four parameters, no annotation coverage, and a live-target acquisition side effect, one sentence is insufficient. The output schema relieves it of explaining return values, but targeting (pid/session/key) and operational preconditions are missing entirely.

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%, so the description must define all four parameters, and it defines none. The words "live module" loosely gesture at the module parameter, but pid, session, and key are entirely unexplained in both schema and description, leaving the agent to guess how to target the correct process and session.

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 gives a specific verb (capture), a specific resource (a live module), the mechanism (DMA), and the outcome (loads it for static analysis). An agent can tell this produces an analyzable artifact from live memory. It does not, however, distinguish itself from near neighbors like snapshot_module or capture_image.

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?

"Live module" implies the target is a running process rather than an on-disk file, which is a mild usage cue. There is no explicit statement of when to choose this over snapshot_module, capture_image, or export_module, and no prerequisites such as needing an attached session.

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