Skip to main content
Glama

List or extract a pack/archive

re_archive

List or extract assets from Godot .pck, Unity bundles, and archives like ZIP, tar, or .pak, converting textures to PNG and meshes to OBJ for analysis.

Instructions

Lists or extracts game packs and archives. Godot .pck (also embedded in an exported .exe/.x86_64; MD5-checked). Unity asset bundles (UnityFS, LZ4/LZMA) and serialized files (data.unity3d, level0, sharedassets0.assets, globalgamemanagers): every object by class and name, bundle container paths, the C# scripts MonoBehaviours use (with counts), the build's scene list; extract writes Texture2D as PNG (DXT1/5, BC4/5, ETC1/ETC2/ETC2+EAC, 8-bit raw formats; ASTC as .astc, BC6H/BC7 as .dds, others raw), Mesh as OBJ (with type trees), AudioClip as its FSB5 bank, TextAsset as text and other objects as JSON (bundles) or raw bytes (player builds strip type trees). ZIP family (apk, jar, ipa), tar/tar.gz (.unitypackage), Electron .asar, Ren'Py .rpa, GameMaker data.win (PNG/QOI, WAV/OGG), FMOD .bank and .fsb (PCM as WAV), Wwise .bnk, Unreal .pak v1–v11 (stored/Zlib extract), Flash .swf (CWS and ZWS inflate), Unity WebGL and Emscripten .data. Encrypted packs/entries are reported, never decrypted.

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_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
outNoExtraction folder (default: workspace/extracted/<file>).
fileYesArchive/pack/executable.
limitNoMax entries listed/extracted (default 500).
matchNoOnly entries matching: substring, glob (*.gd, scenes/*.tscn) or /regex/.
actionNolist (default) or extract.
maxBytesNoExtraction budget in bytes (default 4 GiB).

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=false, destructiveHint=false and non-idempotent, and the description is consistent with that: extract writes files to an output folder. It adds real behavioral context — per-format conversion targets, that type trees may be stripped in player builds, and that encrypted entries are reported but never decrypted. However it never states that extraction creates directories/writes to disk in a destructive-adjacent way, nor any size/time caveats beyond the schema's maxBytes.

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

Conciseness2/5

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

Purpose is front-loaded in the first clause, but the remainder is a single sprawling sentence that dumps every format and conversion mapping into one unbroken run. It is dense reference material rather than structured guidance, and the parenthetical format lists are hard to parse at a glance.

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

Completeness4/5

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

For a six-parameter tool with no output schema, the description covers what extraction produces per object type and notes the encrypted-entry limitation, which is the main behavioral surprise. It stops short of describing the shape of 'list' output, which an agent needs to decide between list and extract.

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%, so the schema already documents all six parameters including defaults (500 entries, 4 GiB budget, default output folder). The description adds no meaning about match syntax, limit interaction with extraction, or what 'list' output looks like. Baseline 3 applies since the schema does the heavy lifting.

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?

States a specific verb (lists/extracts) and resource (game packs and archives), then enumerates the exact container formats covered (.pck, UnityFS, ZIP family, tar, .asar, .rpa, data.win, FMOD, Wwise, Unreal .pak, .swf, Emscripten .data). An agent can immediately tell whether its input file is in scope without inspecting the schema.

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?

The exhaustive format enumeration effectively tells the agent when this tool applies, and the 'list vs extract' framing plus the action enum clarifies the two modes. It does not, however, name any sibling (e.g. re_extract or re_binary) or state exclusions, so routing among similar extraction tools is left to inference.

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