Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

ropgadget_search

Search a binary for ROP gadgets using ROPgadget, with optional gadget type and extra arguments, to support exploit development and binary analysis.

Instructions

Search for ROP gadgets in a binary using ROPgadget with enhanced logging.

Args: binary: Path to the binary file gadget_type: Type of gadgets to search for additional_args: Additional ROPgadget arguments

Returns: ROP gadget search 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": "ropgadget_search"
  }
}

Input Schema

NameRequiredDescriptionDefault
binaryYes
gadget_typeNo
additional_argsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.6/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 behavioral burden, and it discloses almost nothing. 'Enhanced logging' is mentioned but never explained — it is unclear whether that means output is included, written to disk, or just more verbose — and there is no statement about runtime cost, permissions, or whether the search is read-only.

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 description is short and front-loads the core purpose, but the Args/Returns block is pure boilerplate that restates the schema field names and adds no information. It is adequately sized yet partly wasted.

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?

Return values need not be explained since an output schema exists, but the tool still lacks what an agent needs to call it correctly: valid gadget_type values, additional_args format, and selection guidance against the two sibling gadget tools. For a three-parameter reverse-engineering tool with zero schema documentation, this is under-specified.

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, but it only paraphrases the schema titles ('gadget_type: Type of gadgets to search for'). No valid values, format, or examples are given for gadget_type, and additional_args is left entirely unexplained as to accepted syntax or quoting.

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: search for ROP gadgets in a binary using the ROPgadget engine. That is clear enough to distinguish it from unrelated siblings, but it does nothing to distinguish it from ropper_gadget_search or one_gadget_search, which address the same resource with different engines.

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 guidance on when this tool should be chosen over ropper_gadget_search or one_gadget_search, nor any note about prerequisites such as architecture, file format, or required binary analysis state. The agent must infer tool selection purely from the engine 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