Skip to main content
Glama

Import a local Unreal asset directory

asset_import_unreal
Idempotent

Convert a local Unreal .uasset/.umap pack into self-contained model and scene GLBs with PBR materials, actor transforms, a provenance report, and sizeMeters scale checks.

Instructions

Convert a local directory of Unreal .uasset/.umap files into self-contained model and scene GLBs under a game's assets directory, with reconstructed PBR materials, actor transforms, and a provenance report. Works on any already-downloaded Unreal pack, whatever downloaded it. Every GLB result reports sizeMeters, its bounding-box size in the file's own units: a value near 890 for something meant to be 9 m means the source was authored in centimetres and the game must scale it.

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": {
      "sourceDir": "<sourceDir>",
      "outputDir": "<outputDir>"
    },
    "name": "asset_import_unreal"
  }
}

Input Schema

NameRequiredDescriptionDefault
licenseNo
packagesNoImport only these package names, for example ["SM_Rock", "DemoMap"]. Omit to convert every supported mesh and level in the pack; a large marketplace pack is many gigabytes of GLBs.
outputDirYesDirectory the source GLBs are written to, normally <game>/assets/fab/<listing-id>. It must not already hold a different import; this tool never overwrites one.
sourceDirYesA local directory of Unreal .uasset/.umap files, for example an already downloaded Fab pack.
projectRootNo
maxTextureSizeNoOptional longest edge for embedded textures. Leave unset to keep Unreal's own resolution and let the ThreeNative asset compiler cap it.
allowNonCommercialNo

Output Schema

NameRequiredDescriptionDefault
audioYes
fontsYes
countsYes
failedYes
modelsYes
reusedYes
scenesYes
licenseNo
skippedYes
spritesYes
cubemapsYes
texturesYes
warningsYes
flipbooksYes
materialsYes
outputDirYes
dataAssetsYes
durationMsYes
reportPathYes
bitmapFontsYes
dataTexturesYes
textureStacksYes
materialAssetsYes
materialCoverageYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv0.1.2
    • addedInput schema / properties / allowNonCommercial
      Added value: +{
      +  "type": "boolean"
      +}
    • addedInput schema / properties / license
      Added value: +{
      +  "properties": {
      +    "attribution": {
      +      "maxLength": 2000,
      +      "type": "string"
      +    },
      +    "author": {
      +      "maxLength": 500,
      +      "type": "string"
      +    },
      +    "name": {
      +      "maxLength": 200,
      +      "minLength": 1,
      +      "type": "string"
      +    },
      +    "sourceUrl": {
      +      "format": "uri",
      +      "maxLength": 2048,
      +      "type": "string"
      +    },
      +    "url": {
      +      "format": "uri",
      +      "maxLength": 2048,
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "name"
      +  ],
      +  "type": "object"
      +}
    • addedInput schema / properties / projectRoot
      Added value: +{
      +  "maxLength": 4096,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedOutput schema / properties / counts / properties / dataTextures
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • changedOutput schema / properties / counts / required
      Previous value: -[
      -  "packages",
      -  "exported",
      -  "textures",
      -  "cubemaps",
      -  "materialAssets",
      -  "audio",
      -  "dataAssets",
      -  "textureStacks",
      -  "fonts",
      -  "bitmapFonts",
      -  "sprites",
      -  "flipbooks",
      -  "scenes",
      -  "skipped",
      -  "failed"
      -]New value: +[
      +  "packages",
      +  "exported",
      +  "textures",
      +  "cubemaps",
      +  "materialAssets",
      +  "audio",
      +  "dataAssets",
      +  "textureStacks",
      +  "dataTextures",
      +  "fonts",
      +  "bitmapFonts",
      +  "sprites",
      +  "flipbooks",
      +  "scenes",
      +  "skipped",
      +  "failed"
      +]
    • addedOutput schema / properties / dataTextures
      Added value: +{
      +  "items": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "bytes": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "data": {
      +        "maxLength": 1024,
      +        "type": "string"
      +      },
      +      "format": {
      +        "const": "RGBA16F",
      +        "type": "string"
      +      },
      +      "height": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      },
      +      "manifest": {
      +        "maxLength": 1024,
      +        "type": "string"
      +      },
      +      "name": {
      +        "maxLength": 200,
      +        "type": "string"
      +      },
      +      "package": {
      +        "maxLength": 1024,
      +        "type": "string"
      +      },
      +      "sha256": {
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "sourceSha256": {
      +        "pattern": "^[0-9a-f]{64}$",
      +        "type": "string"
      +      },
      +      "threeTexture": {
      +        "const": "DataTexture",
      +        "type": "string"
      +      },
      +      "width": {
      +        "exclusiveMinimum": 0,
      +        "maximum": 9007199254740991,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "name",
      +      "package",
      +      "data",
      +      "manifest",
      +      "format",
      +      "threeTexture",
      +      "width",
      +      "height",
      +      "bytes",
      +      "sha256",
      +      "sourceSha256"
      +    ],
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / materialCoverage / properties / graphBaked
      Added value: +{
      +  "maximum": 9007199254740991,
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedOutput schema / properties / models / items / properties / sizeMeters
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "x": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "y": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "z": {
      +      "minimum": 0,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "x",
      +    "y",
      +    "z"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / properties / models / items / required
      Previous value: -[
      -  "name",
      -  "kind",
      -  "glb",
      -  "bytes",
      -  "vertices",
      -  "skins",
      -  "animations",
      -  "textured"
      -]New value: +[
      +  "name",
      +  "kind",
      +  "glb",
      +  "bytes",
      +  "vertices",
      +  "skins",
      +  "animations",
      +  "textured",
      +  "sizeMeters"
      +]
    • addedOutput schema / properties / scenes / items / properties / sizeMeters
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "x": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "y": {
      +      "minimum": 0,
      +      "type": "number"
      +    },
      +    "z": {
      +      "minimum": 0,
      +      "type": "number"
      +    }
      +  },
      +  "required": [
      +    "x",
      +    "y",
      +    "z"
      +  ],
      +  "type": "object"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "outputDir",
      -  "reportPath",
      -  "materials",
      -  "reused",
      -  "counts",
      -  "materialCoverage",
      -  "models",
      -  "textures",
      -  "cubemaps",
      -  "materialAssets",
      -  "audio",
      -  "dataAssets",
      -  "textureStacks",
      -  "fonts",
      -  "bitmapFonts",
      -  "sprites",
      -  "flipbooks",
      -  "scenes",
      -  "skipped",
      -  "failed",
      -  "warnings",
      -  "durationMs"
      -]New value: +[
      +  "outputDir",
      +  "reportPath",
      +  "materials",
      +  "reused",
      +  "counts",
      +  "materialCoverage",
      +  "models",
      +  "textures",
      +  "cubemaps",
      +  "materialAssets",
      +  "audio",
      +  "dataAssets",
      +  "textureStacks",
      +  "dataTextures",
      +  "fonts",
      +  "bitmapFonts",
      +  "sprites",
      +  "flipbooks",
      +  "scenes",
      +  "skipped",
      +  "failed",
      +  "warnings",
      +  "durationMs"
      +]
  2. Addedv0.1.1

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare the safety profile (readOnly=false, destructive=false, idempotent=true, openWorld=false), so the bar is lower. The description adds real value with the provenance report, material reconstruction, and the sizeMeters scale-diagnosis heuristic, but says nothing about cost/runtime (a multi-gigabyte conversion), licensing gating, or failure modes when outputDir is already populated.

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?

Three sentences, front-loaded with the core conversion statement, followed by a scope claim and a practical output-interpretation tip. The sizeMeters example (890 vs 9 m) is concrete and earns its length, though the last sentence is denser than it needs to be.

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 7-parameter, nested-object tool with an output schema and solid annotations, the description covers the core workflow, scale pitfalls, and output artifacts well. The main gap is licensing behavior — a nested-required 'license' object and 'allowNonCommercial' flag are entirely unexplained, which could block a correct invocation.

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 coverage is 57%, so several parameters are undocumented in structured data — notably license (with a required nested 'name'), allowNonCommercial, and projectRoot — and the description compensates for none of them. The sizeMeters discussion explains a return value rather than input semantics, and an output schema already exists, so it adds no input-level meaning.

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 and resource — converting a local directory of Unreal .uasset/.umap files into self-contained model and scene GLBs — plus the outputs produced (reconstructed PBR materials, actor transforms, provenance report). The 'Unreal' qualifier and the .uasset/.umap extensions make it immediately distinguishable from asset_import_unity and from the download-oriented siblings.

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?

'Works on any already-downloaded Unreal pack, whatever downloaded it' establishes the precondition that this is a post-download conversion step, implicitly routing the agent away from asset_download/fab_import_asset siblings. It lacks an explicit when-not clause or a named alternative for non-Unreal sources, which keeps it short of a 5.

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