Skip to main content
Glama
HexStrike AI MCP Agents

HexStrike AI MCP Agents

by liusc45

xxd_hexdump

Create a hex dump of a file with xxd, specifying offset and length to inspect targeted bytes, and log the results for analysis.

Instructions

Create a hex dump of a file using xxd with enhanced logging.

Args: file_path: Path to the file offset: Offset to start reading from length: Number of bytes to read additional_args: Additional xxd arguments

Returns: Hex dump 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": {
      "file_path": "<file_path>"
    },
    "name": "xxd_hexdump"
  }
}

Input Schema

NameRequiredDescriptionDefault
lengthNo
offsetNo0
file_pathYes
additional_argsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv6.1.0

TDQS

C2.9/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 burden of behavioral disclosure, and it discloses very little. "Enhanced logging" is never explained, and the description does not say whether the tool is read-only, whether it shells out to xxd, whether arbitrary files can be read, or what happens with large files or invalid offsets. Only the trivial fact that it returns a hex dump is conveyed.

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 docstring structure is front-loaded and easy to scan, with the purpose first and the parameters after. Given 0% schema coverage, the Args block is justified rather than redundant. The only waste is "with enhanced logging," which is never unpacked, and "Returns: Hex dump results," which restates the output schema.

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?

Because an output schema exists, return values need not be explained, but the description still leaves critical gaps for a tool that reads arbitrary files and passes user-supplied flags to an external binary. There is no mention of permissions, safety profile, logging behavior, or how offset and length interact. It is thin for a 4-parameter file-reading tool with no annotations.

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

Parameters3/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 partly does by naming all four parameters with brief glosses. However, the glosses largely restate the parameter names: "offset: Offset to start reading from" and "length: Number of bytes to read" add format hints at best. "additional_args" is left as "Additional xxd arguments," which gives no hint about which flags are safe or useful.

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 and resource: "Create a hex dump of a file using xxd." That is clear enough for an agent to know exactly what the tool produces. It does not distinguish itself from adjacent binary-inspection siblings such as binwalk_analyze or checksec_analyze, 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 says nothing about when to use this tool versus alternatives, and it names no alternatives. There is no guidance on file types, size limits, or when hex dumping is preferable to other analysis tools. The only implied usage comes from the name and the one-line purpose statement.

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