Skip to main content
Glama
NAJEMWEHBE

unreal-ai-connection

marketplace_import

Import CC0 textures and HDRIs from Polyhaven or AmbientCG into Unreal Engine as UTexture2D, with optional multi-map PBR support.

Instructions

Download a CC0 asset from a marketplace (Polyhaven or AmbientCG) and import it into the project as a UTexture2D via the native import_texture handler. SYNTHETIC bridge-side handler. Polyhaven path: /files/{slug} catalog lookup -> direct download. AmbientCG path: /api/v2/full_json?id={slug}&include=downloadData -> downloads the per-resolution zip -> extracts the Color map (textures) or sole EXR/HDR (hdris) -> hands the file to import_texture. Supports texture (Color/Diffuse map) and hdri (EXR/HDR); model import is parked for a later PR (native handler has no mesh-import wrapper today). When multi_map=true is passed (texture only), the handler additionally pulls Normal/Roughness/AO/Displacement/Metalness when the source ships them — each map lands as a separate UTexture2D named <dest_name>_<map> (Color stays at <dest_name> for back-compat). Asset files: both sources are CC0 (public domain, no attribution required). API access: the Polyhaven public API is licensed for non-commercial and academic use only — commercial integrations require a custom license from Poly Haven (https://polyhaven.com/our-api). AmbientCG's public API and asset files are both CC0.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoMarketplace to import from. 'polyhaven' (default) or 'ambientcg'.
slugYesSource-specific asset identifier (e.g. 'aerial_beach_01'). Obtain via marketplace_search.
asset_typeNo'texture' (diffuse map only in v1), 'hdri' (EXR/HDR sky), or 'model' (not yet implemented).
resolutionNoAsset resolution. Common values: '1k', '2k' (default), '4k', '8k'. Available set depends on the asset; the error message lists what the source actually offers when the request is invalid.
formatNoFile format. Defaults to 'png' for textures and 'exr' for HDRIs. Other accepted values fall back to the source's default if the requested format isn't published.
dest_pathNoUE package path. Must start with /Game/. Default /Game/Marketplace.
dest_nameNoAsset name override. Defaults to the slug.
replace_existingNoOverwrite an existing asset at dest_path/dest_name (default false).
multi_mapNoWhen true and asset_type='texture', pull every canonical PBR map (color, normal, roughness, ao, displacement, metalness) the source ships and import each as a separate UTexture2D. Color is required; other maps are best-effort. Naming: Color -> <dest_name>; others -> <dest_name>_<map>. Default false (diffuse only, back-compat).
Behavior5/5

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

No annotations provided, so description carries full burden. It extensively discloses download paths, extraction logic, naming conventions, licensing, multi-map behavior, resolution handling, and format fallbacks. Also notes error messages for invalid resolutions. Highly transparent about system behavior.

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

Conciseness3/5

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

Description is verbose and includes excessive implementation details (e.g., exact API paths for each source) that may not be necessary for agent selection. While well-structured with front-loaded purpose, it could be more concise without losing clarity.

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?

Given the tool's complexity (multiple sources, asset types, multi-map), the description covers most scenarios: explains source-specific workflows, licensing, multi-map naming, and notes model import is not yet supported. Lacks mention of error handling beyond resolution, but overall complete enough for agent use.

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 coverage is 100%, but description adds significant value beyond schema: explains multi_map naming convention, resolution fallback, format defaults, dest_path default, and back-compat rationale. Enhances understanding of each parameter effectively.

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?

Clearly states the tool downloads CC0 assets from Polyhaven/AmbientCG and imports them as UTexture2D. Specifies supported types (texture, hdri) and notes model is not yet implemented, distinguishing it from siblings like marketplace_search and import_texture.

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?

Provides context on when to use the tool (importing marketplace assets), mentions licensing restrictions (Polyhaven API non-commercial/academic), and explains multi-map behavior. Lacks explicit when-not-to-use, but implications are clear from limitations (model not implemented).

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/NAJEMWEHBE/unreal-ai-connection'

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