Skip to main content
Glama

hex_search

Search binary files for hex patterns to locate code or data for game modding and reverse engineering.

Instructions

Search for a hex pattern in a binary file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesPath to the file
hex_patternYesHex pattern to search for (e.g. "48 8B 05 ?? ?? ?? ??")
max_resultsNoMax results (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.4

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It does not state that this is a read-only operation, whether wildcards (??) are supported in matching, how results are returned or limited, or any performance/rate characteristics. For a search tool with zero annotation coverage, this is a significant gap.

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?

A single front-loaded sentence with no filler or redundancy. It is efficiently sized, though the extreme brevity borders on under-specification rather than deliberate conciseness.

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?

For a simple three-parameter tool with full schema coverage and no output schema, the description is minimally adequate. However, with no annotations and no explanation of matching semantics or result behavior, and several overlapping sibling tools, it is not complete enough to guide confident selection.

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 100%, with file_path, hex_pattern (including a wildcard example), and max_results all documented in the schema itself. The description adds no syntax or format detail beyond what the schema already provides, so the baseline of 3 applies.

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 states a clear verb+resource: search for a hex pattern in a binary file. It is immediately understandable what the tool does. However, it offers no differentiation from siblings such as pattern_scan, pattern_scan_all, or search_binary_pattern, which appear to perform overlapping pattern-searching tasks.

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 to use this tool versus alternatives. With multiple sibling tools that also search for patterns in binaries (pattern_scan, pattern_scan_all, search_binary_pattern), the absence of any routing advice leaves the agent guessing which one to invoke.

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