Skip to main content
Glama
Verge3D MCP Server
by sanky369

verge3d_compress_lzma

Compress Verge3D .gltf, .bin, or .glb files into LZMA .xz for useCompAssets / LOAD_COMP_ASSETS, or decompress existing .xz files.

Instructions

Compress a Verge3D .gltf, .bin, or .glb file into LZMA (.xz) format for use with Verge3D's useCompAssets / LOAD_COMP_ASSETS mode, or decompress an existing .xz file.

Args: input_path: Path to source file. output_path: Optional output path (defaults to <input_path>.xz or strips .xz when decompressing). decompress: Set True to decompress an .xz file instead of compressing.

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": {
      "input_path": "<input_path>"
    },
    "name": "verge3d_compress_lzma"
  }
}

Input Schema

NameRequiredDescriptionDefault
decompressNo
input_pathYes
output_pathNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It usefully discloses the default output-path derivation for both directions (append .xz, or strip .xz on decompress), but says nothing about overwrite behavior, whether the input is modified, or failure conditions such as a missing input file.

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

Conciseness5/5

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

The purpose sentence is front-loaded with the operation, formats, and target mode, followed by a compact Args block. Every line carries information; nothing is redundant with the title or with itself.

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 three-parameter file transform with an output schema already covering return values, the description covers operation, formats, target mode, and output-path defaults. The only material gap is file-overwrite and error behavior, which is a modest omission given the tool's simplicity.

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

Parameters4/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 supply parameter meaning, and it does: input_path is the source file, output_path is optional with an explicit default rule per mode, and decompress toggles direction with an implied false default. It adds real semantics beyond the bare schema titles, though it does not clarify accepted path forms (absolute vs relative).

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 precise verb pair (compress/decompress), the exact resource types (.gltf, .bin, .glb), the target format (.xz), and the consuming feature (useCompAssets / LOAD_COMP_ASSETS mode). This is enough to separate it from siblings like verge3d_compress_ktx2, which targets a different asset format.

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?

Gives a clear condition for use: preparing assets for Verge3D's LOAD_COMP_ASSETS mode, and explains that setting decompress=true reverses the operation. It does not state exclusions or explicitly route the agent elsewhere (e.g. texture assets to the ktx2 sibling), so it stops short of full alternatives guidance.

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