Skip to main content
Glama
renef-mcp
by Ahmeth4n

renef_disassemble

Disassemble ARM64 instructions at a target virtual address with a configurable count, validating mapped, readable memory so invalid addresses return a clean error without crashing.

Instructions

Disassemble ARM64 instructions at a target address using Module.disassemble (Capstone).

Validates that the entire address range is mapped and readable before disassembling, so bad addresses return a clean error instead of crashing the target app.

Args: address: Starting virtual address (e.g., "0x7f8a12340") count: Number of ARM64 instructions to decode (1..1024, default: 16)

Returns: JSON object with human-readable listing and structured instructions (including is_branch, is_call, is_jump)

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": {
      "address": "<address>"
    },
    "name": "renef_disassemble"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNo
addressYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does reasonably well: it discloses that the whole address range is validated as mapped and readable first, and that invalid addresses yield a clean error rather than crashing the target. It stops short of stating the tool is strictly read-only/no-side-effect or that a process must be attached.

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?

The core purpose is front-loaded in one sentence, followed by tight Args/Returns sections. The structure is efficient, with only mild redundancy between the prose and the Returns block, which is largely covered by the output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter read tool with an output schema and no annotations, this covers purpose, validation behavior, failure mode, and both parameters. The remaining shortfall is the absence of any statement about preconditions (attached target) or explicit side-effect safety, which matters given zero annotation coverage.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/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 compensate, and it does: it gives the address format ('0x7f8a12340') and the count constraint (1..1024, default 16), neither of which appears in the bare schema. Only minor gaps remain, such as whether addresses must be aligned to instruction boundaries.

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 first sentence names a specific verb and resource ('Disassemble ARM64 instructions at a target address') and even names the underlying mechanism (Module.disassemble/Capstone), so an agent knows exactly what it produces. It does not contrast itself with adjacent siblings such as renef_mem_read or renef_module_sections, so it falls short of a 5.

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?

The description never states when to reach for this tool instead of the memory-read or module-inspection siblings, nor does it state prerequisites such as needing an attached target. The only contextual hint is the address-range validation, which is behavioral rather than usage guidance.

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