Skip to main content
Glama

Probe unknown data

re_probe
Read-onlyIdempotent

Identify unknown or custom file formats: inspect hex at offsets, map entropy regions, and locate embedded files with offsets and sizes in large binaries.

Instructions

For unknown or custom formats: identifies the format at an offset, hex view, entropy map (text/code/compressed regions), embedded files (PNG, OGG, WAV, ZIP, GDPC, glTF, DDS, ELF/PE…) with offsets and sizes, and likely record strides for tables. Works on multi-GB files.

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": "<file>"
    },
    "name": "re_probe"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFile to probe.
maxMBNoMiB to scan for entropy/embedded files (default 512).
lengthNoBytes in the hex view (default 256, max 4096).
offsetNoStart offset (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.25.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered. The description adds genuine behavioral context -- that it scales to multi-GB files and that output includes entropy classification of text/code/compressed regions -- but says nothing about scan cost, timeouts, or how definitive its format verdict is. With an annotation set this complete, that is a modest addition rather than a rich one.

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?

One sentence, front-loaded with the usage condition, then a tight enumeration of outputs; the embedded-format parenthetical earns its place because it tells the agent what to expect back. Slightly dense with the long format list, but no filler sentences.

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?

With no output schema, the description must convey return shape, and it does so partially by listing the five output categories. What remains unclear is the form of the format-identification result and the default-vs-maxMB tradeoff's effect on completeness of the embedded-file scan, which matters for a tool aimed at arbitrarily large files.

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 the schema already explains file, maxMB, length and offset and the baseline is 3. The description nonetheless adds meaning the schema does not: that the offset drives the format identification point and that the hex view applies there, reinforcing the offset/length pairing.

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?

Concrete verb-plus-resource: it identifies a format at an offset and enumerates exactly what the probe returns (hex view, entropy map, embedded file signatures with offsets/sizes, record strides). The opening qualifier "For unknown or custom formats" implicitly separates it from format-specific siblings like re_binary or re_archive, but no sibling is named, so an agent must infer the boundary.

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?

"For unknown or custom formats" gives a clear triggering condition, and "Works on multi-GB files" signals it is the appropriate entry point for large or unidentified artifacts. It stops short of explicit exclusions (e.g., "use re_binary when the format is already known") or stating what to do after identification.

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