Skip to main content
Glama

batch_import_folder

Scans a local folder and batch-imports all recognized assets into Unreal Engine 5, with per-file success results and optional dry run.

Instructions

Batch-import all recognised assets from a local folder into UE5.

Scans the folder locally (no UE5 connection needed for the scan), then sends a single exec_python call to UE5 with an AssetImportTask per file. Results are reported per-file.

Args: folder_path: Absolute path on the MCP server machine to scan ue5_base_path: Root Content Browser path for imported assets (default "/Game/Imported/") recursive: Scan subdirectories (default True) import_textures: Import texture files (default True) import_meshes: Import FBX/OBJ/glTF mesh files (default True) import_audio: Import WAV/OGG/MP3 audio files (default True) preserve_folder_structure: Mirror the local subfolder structure in the Content Browser (default True) dry_run: If True, return the manifest without importing (default False)

Returns: JSON string: { "success": true, "dry_run": false, "total": 10, "imported": 9, "failed": 1, "results": [ {"file": "T_Bastila_n.png", "success": true, "asset_path": "/Game/..."}, {"file": "SM_Table.fbx", "success": false, "error": "..."}, ... ] }

KB: see knowledge_base/31_GENERATIVE_CONTENT_PIPELINE.md#overview Example: batch_import_folder(folder_path="/Game/MCP_Test/Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNo
recursiveNo
folder_pathYes
import_audioNo
import_meshesNo
ue5_base_pathNo/Game/Imported/
import_texturesNo
preserve_folder_structureNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does a solid job: it explains the local scan phase, the single exec_python call to UE5, per-file AssetImportTask usage, dry-run behavior, and per-file result reporting. It does not disclose potential overwrite side effects or failure modes, but the core behavior is transparent.

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-organized with a summary, Args, Returns, KB reference, and Example. It is longer than minimal, but the length is justified by 8 parameters and a complex batch workflow. Every section earns its place.

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?

The description is complete enough to call the tool correctly: it provides return JSON, dry-run behavior, and a KB reference. Minor gaps remain, such as not enumerating which file types count as "recognised assets" and not stating whether UE5 must be running for the import phase, but these are not blocking.

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

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the Args section compensates fully by explaining all 8 parameters, including folder_path as an absolute path on the MCP server machine, defaults for all booleans, and the ue5_base_path Content Browser semantics. This adds significant meaning beyond the bare schema.

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 names a specific verb and resource: "Batch-import all recognised assets from a local folder into UE5." This clearly differentiates it from sibling single-asset import tools by emphasizing batch scanning of a folder.

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 implies when to use it: when you have a local folder of assets to import in batch. However, it never names alternatives or states when not to use it, such as importing a single asset or using a character-specific import workflow, leaving routing to the agent's inference.

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

Deploy Server

Other Tools