Skip to main content
Glama

ida_disasm

Disassemble code linearly from a target address or symbol, returning one instruction per line with resolved names and comments for reverse-engineering analysis.

Instructions

Linear disassembly from an address, one item per line, with resolved names and comments.

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": {
      "target": "<target>"
    },
    "name": "ida_disasm"
  }
}

Input Schema

NameRequiredDescriptionDefault
skipNo
countNo
targetYesAddress or name: '0x401000', 'sub_401000', a defined name, 'libUE4.so+0x1234', or a unique part of a function name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.8/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. It does disclose output shape (one instruction per line with resolved names and comments), which is genuinely useful, but says nothing about read-only safety, behavior on an invalid target address, or whether results are truncated at the count limit.

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 tight sentence with the key qualifier ("linear") front-loaded and no filler. It is efficient, though at one sentence it is arguably under-specified rather than optimally concise.

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

Completeness3/5

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

The output format is conveyed and the tool is conceptually simple, but for a three-parameter, annotation-free tool it omits prerequisites, pagination semantics, and failure behavior. An agent can make a plausible call but may mis-set skip/count or invoke it without an open database.

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?

Target is documented in the schema, but skip and count (default 40, max 2000) have no descriptions anywhere. The description does not explain pagination, the meaning of skip, the 2000-item cap, or what happens when the default count is exceeded, so it fails to compensate for the 33% coverage.

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: linear disassembly starting at an address, with resolved names and comments. "Linear" usefully distinguishes it from control-flow-following or decompilation behavior, but the description never names a sibling such as ida_decompile or ida_read_bytes to sharpen the boundary.

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 guidance on when to choose this over ida_decompile, ida_function, or ida_read_bytes, and no prerequisites such as requiring an already-open IDB via ida_open. The agent must infer usage from the verb alone.

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