Skip to main content
Glama

classify_native_protection

Analyze a native binary's sections, imports, and signatures to classify its protection class, such as packer, VM, encrypted, or plain.

Instructions

Classify a native binary's protection class (category-only).

Combines get_sections + get_imports_exports + the vendored native_packer_signatures regex catalog

  • entropy heuristics to label a binary's likely protection class. Returns one of:

  • "plain-pe" — no protection observed.

  • "packer-stub-wrapped" — UPX / ASPack / MPRESS / Petite / kkrunchy style (single non-standard section name).

  • "vm-bytecoded-pe" — single .vmp0 / .vmp1 style section set.

  • "encrypted-vm-bytecode-interpreter" — the proprietary-engine section family (.arch / .xcode / .xtext / .sbss / .link / .xtls / .xpdata).

  • "il2cpp-runtime" — large .idata + tiny .text + GameAssembly.dll sibling.

  • "anti-debug-wrapped" — bare anti-debug surface but no packer.

  • "unpacked-debug-pe" — debug build (PDB section + lots of stdio / conio / assert symbols).

Args: path: file to classify

Returns::

{
  "path": "...",
  "protection_class": "...",
  "evidence": [{"category": "...", "indicator": "...",
                "section": "..."}, ...]
}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
Behavior4/5

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

With no annotations provided, the description fully discloses the tool's behavior: it combines get_sections, get_imports_exports, packer signatures, and entropy heuristics. It also lists all possible output labels and evidence structure. This provides strong transparency, though it does not mention potential side effects or performance considerations.

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 bullet points for return values and clear section headers. At 18 lines, it is reasonably concise while covering necessary details. A slight reduction in verbosity could improve it, but overall it is effectively organized.

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

Completeness5/5

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

Given the tool's moderate complexity and lack of output schema, the description provides comprehensive context. It explains the underlying analyses, lists all possible return values, and describes the evidence object structure. This fully equips an agent to invoke the tool and interpret its results correctly.

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?

The single parameter 'path' is described as 'file to classify', adding minimal meaning beyond its name and type. Since schema description coverage is 0%, the description compensates slightly but not substantially. The parameter is straightforward and requires little additional explanation.

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's purpose: classifying a native binary's protection class. It enumerates the possible return values with examples, making the purpose highly specific. It distinguishes itself from sibling tools like get_sections and get_imports_exports by combining multiple analyses into a single classification.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description does not explicitly state when to use this tool versus its siblings, such as calling get_sections or get_imports_exports directly. It implies this tool is for a high-level classification, but lacking explicit usage guidance minimizes its helpfulness for an AI agent deciding between tools.

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-lief'

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