Skip to main content
Glama
YeXuanHs

Galgame MCP

by YeXuanHs

re_search

Search binary files for specific byte or ASCII patterns. Locate addresses of strings, opcodes, or data sequences in game executables to aid reverse engineering and localization.

Instructions

Byte/ASCII pattern search inside a binary.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
max_hitsNo
pattern_hexNo
pattern_asciiNo
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden, but it only states 'search', implying read-only behavior without explicitly confirming it. It does not disclose whether the operation is safe, what it returns, or any side effects, which is a gap for a search tool.

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

Conciseness3/5

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

The description is a single concise sentence with no wasted words, but it is under-specified. It earns its place as a summary but lacks essential details, making it merely adequate rather than comprehensive.

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?

Given the tool has 4 parameters, no annotations, and no output schema, the description is too sparse. It fails to convey required path details, pattern encoding, max_hits limitations, or expected return value, so it is incomplete for an agent to invoke confidently.

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

Parameters2/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, but it only hints at pattern_hex and pattern_ascii without explaining their formats or relationships. It does not clarify path semantics or max_hits behavior, leaving most parameters under-documented.

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 clearly states a search operation on binary content using byte/ASCII patterns. It uses a specific verb and resource, though it does not explicitly distinguish itself from other re_* tools like re_strings or re_disasm.

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?

No guidance is provided on when to use this tool versus alternatives such as re_strings or re_disasm. There are no exclusions or prerequisites mentioned, leaving the agent without context for tool selection.

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/YeXuanHs/Galgame-mcp'

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