Skip to main content
Glama
DansPK

Kali MCP

by DansPK

binwalk

Scans binary files to identify embedded file signatures, compressed data, and filesystem structures, then extracts discovered files for firmware analysis and reverse engineering.

Instructions

Firmware analysis tool — scans binary files for embedded file signatures, compressed data, and filesystem structures. Automatically extracts discovered files when using -e. Use for reverse engineering firmware images, IoT device binaries, or any blob that may contain embedded files. Output: offset map of discovered signatures and extracted file paths.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
optsNoAdditional binwalk options. Default: -e (extract embedded files). Use '-M' for recursive scan.
filepathYesPath to firmware image or binary file to analyze

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It discloses the key behavior: automatic extraction when -e is used (and -e is the default per the schema), and describes the output as an offset map and extracted file paths. It does not mention potential side effects like file writing location or permission needs, but the core behavior is transparent. This is adequate for a read/extract tool.

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

Conciseness5/5

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

Four sentences with no fluff. The purpose is front-loaded, followed by the extraction behavior, then use cases, and finally the output format. Every sentence contributes essential information without redundancy.

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 tool with no output schema and no annotations, the description covers the main aspects: what it does, when to use, how it behaves (extraction), and what output to expect. It lacks details like output file locations or potential limitations, but it is complete enough for an agent to decide when to invoke it. The parameter hints add to completeness.

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 100%, so both parameters are documented. The description adds value beyond the schema by clarifying the default -e behavior and suggesting -M for recursive scanning. This goes beyond simple field names and helps the agent understand typical usage patterns.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Description clearly states the tool's function: scanning binary files for embedded signatures, compressed data, and filesystem structures. It names the specific resource (binary/firmware files) and the verb (scan), and distinguishes it from the network/security siblings by focusing on firmware analysis and file extraction. The use case is explicit: reverse engineering firmware images and IoT binaries.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides clear context on when to use: for reverse engineering firmware, IoT binaries, or blobs with embedded files. It does not explicitly name alternative tools, but given the sibling list (e.g., foremost for file carving), a brief differentiation would be beneficial. However, the stated use cases are sufficient for an agent to select this tool appropriately.

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