Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

radare2_analyze

Execute Radare2 commands to analyze binaries and perform reverse engineering with enhanced logging for security research.

Instructions

Execute Radare2 for binary analysis and reverse engineering with enhanced logging.

Args: binary: Path to the binary file commands: Radare2 commands to execute additional_args: Additional Radare2 arguments

Returns: Binary analysis results

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": {
      "binary": "<binary>"
    },
    "name": "radare2_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
binaryYes
commandsNo
additional_argsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.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 supplied, so the description carries the full disclosure burden, and it discloses almost nothing. It hints at 'enhanced logging' without saying what is logged or where, and never states that the 'commands' parameter executes arbitrary Radare2 commands against a file, nor any sandboxing, permission, or side-effect information.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The opening sentence is front-loaded and informative, and the text is short. However, the Args/Returns docstring boilerplate adds little, and 'Returns: Binary analysis results' is wasted space given the tool already has an output schema.

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 presence of an output schema means return values need not be described, and the required 'binary' parameter is clear. But for a tool that shells out to an external engine with user-supplied commands, the absence of annotations plus 0% parameter coverage leaves meaningful gaps in how an agent should phrase 'commands' and what to expect on failure.

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 compensate for three bare parameters, and it largely restates their names: 'Path to the binary file', 'Radare2 commands to execute', 'Additional Radare2 arguments'. It adds no command syntax, separators, example invocations, or defaults for 'commands' and 'additional_args', leaving an agent unable to construct a valid call with confidence.

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 (Execute) and resource (Radare2 binary analysis / reverse engineering), which distinguishes it from sibling binary-analysis tools like objdump_analyze or gdb_analyze by naming the underlying engine. It stops short of explicitly contrasting when Radare2 is preferable to those siblings, but the engine name gives an agent enough to select on.

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?

There is no when-to-use or when-not-to-use guidance, and no mention of the alternatives in the sibling set (objdump_analyze, gdb_analyze, binwalk_analyze, angr_symbolic_execution). An agent must infer that this is the Radare2-based option purely from the name.

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

Deploy Server

Other Tools