Skip to main content
Glama
Heretek-RE

re-binary-diff

by Heretek-RE

fingerprint_sections

Compute SHA-256 fingerprints for each chunk of a binary file to detect structural changes between versions without loading the entire file into memory.

Instructions

Return a per-chunk SHA-256 + offset + size fingerprint of path.

Useful for finding the structural delta between two versions of a binary without loading either into memory. Pair with unified_diff (chunk mode) for large files.

Args: path: file to fingerprint chunk_size: bytes per chunk (default 1 MiB) max_chunks: 0 = no cap; > 0 = return at most N chunks

Returns::

{
  "path": "...",
  "size": N,
  "chunk_size": N,
  "truncated": bool,
  "chunks": [
    {"index": 0, "offset": 0, "size": 1048576, "sha256": "..."},
    ...
  ],
}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
chunk_sizeNo
max_chunksNo
Behavior3/5

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

No annotations provided, so the description carries full burden. It describes the output format and parameter behavior, but does not explicitly disclose safety traits (e.g., read-only, no side effects). Some behavioral context is implied but not fully transparent.

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 description is well-structured with a summary line, a usage note, an Args section, and a Returns section. It is clear and front-loaded, though could be slightly more concise without losing information.

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?

Given three parameters, no output schema, and no annotations, the description is fairly complete: it explains all parameters, the return format, and usage context. It lacks error handling details but is sufficient for an agent to understand the tool.

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 0%, so the description compensates well. It explains each parameter in the Args block: path is the file, chunk_size is bytes per chunk with default, max_chunks explains 0 meaning no cap. This adds meaning beyond the schema's titles and types.

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?

The description clearly states the tool returns a per-chunk SHA-256+offset+size fingerprint of a path, with a specific verb and resource. It distinguishes from siblings by mentioning pairing with unified_diff for large files.

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 explains when to use the tool: for finding structural delta between binary versions without loading into memory, and suggests pairing with unified_diff. It does not explicitly state when not to use, but the context is adequate.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Heretek-RE/re-binary-diff'

If you have feedback or need assistance with the MCP directory API, please join our Discord server