Skip to main content
Glama
YeXuanHs

Galgame MCP

by YeXuanHs

re_ghidra_headless

Execute Ghidra's headless analyzer on a binary to extract reverse engineering insights. Supports optional scripts and configurable project settings.

Instructions

Run Ghidra analyzeHeadless on a binary (needs bundled/system JDK).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
scriptNoOptional -postScript path
timeoutNo
import_onlyNo
project_dirNo
script_argsNo
project_nameNogal_re
Behavior2/5

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

Without annotations, the description carries the full burden. It only discloses the JDK requirement, but not whether the tool modifies the binary, creates temporary project files, or what side effects may occur. This is minimal disclosure for a tool that invokes an external program.

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 a single, front-loaded sentence that contains no wasted words. However, it omits important information, though that is more relevant to completeness than conciseness. It is efficiently written for what it says.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a tool with 7 parameters, no annotations, and no output schema, this description is grossly insufficient. It doesn't explain what sample output looks like, how scripts are passed, or what 'import_only' does. A user/agent would be left guessing on most operational details.

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 only 14% (only 'script' has a description). The description adds no detail about the six other parameters (timeout, import_only, project_dir, script_args, project_name) beyond the binary path implication. It fails to compensate for the low schema coverage.

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 the action ('Run Ghidra analyzeHeadless') and the target ('a binary'), making the tool's purpose unambiguous. It doesn't explicitly compare to sibling tools like re_rizin, but the specific reference to Ghidra distinguishes it sufficiently.

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?

The description mentions a prerequisite (JDK) but provides no guidance on when to choose this over re_rizin, re_disasm, or other reverse-engineering tools. No context is given for selecting this tool.

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