Skip to main content
Glama

create_data_layer_asset

Create and save a new World Partition data layer asset in Unreal Engine, with configurable name, Editor/Runtime type, package path, and debug color.

Instructions

Creates and saves a new UDataLayerAsset (World Partition data layer).

Returns: { name: string, package_path: string, asset_path: string, data_layer_type: string, is_runtime: bool, debug_color: [number, number, number, number], created: bool, already_exists: bool, success: bool, saved: bool, message: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the new data layer asset.
debug_colorNoOptional [r, g, b] or [r, g, b, a] integers 0-255 (defaults to [0, 128, 255, 255])
package_pathNoTarget /Game package path (optional, default "/Game/DataLayers")
data_layer_typeNoData layer type: "Editor" or "Runtime" (optional, default "Editor")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.2/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 idempotentHint=false, so the safety profile is covered. The description adds that the asset is saved to disk and documents the created/already_exists/saved result flags, which hints at behavior on pre-existing assets – useful context but not a rich behavioral account (no permissions, no overwrite semantics).

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?

Two sentences, front-loaded with the purpose and followed by the return shape. The inline return object is dense but earns its place given no output schema exists; nothing is wasted.

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

Completeness3/5

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

For a create tool with no output schema, documenting the return fields is a genuine addition and covers the response side. What is missing is context an agent needs to invoke it correctly: the relationship to DataLayer instances, whether an existing asset is overwritten, and where the asset lands relative to siblings.

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%, with each of the four parameters (name, debug_color, package_path, data_layer_type) fully documented including defaults and accepted values. The description adds no parameter meaning beyond the schema, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb pair ('Creates and saves') and names the exact resource ('UDataLayerAsset (World Partition data layer)'), so an agent knows precisely what gets produced. It does not, however, distinguish itself from nearby siblings such as create_data_layer_instance or the various set_data_layer_* tools, so it falls short of full sibling differentiation.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no prerequisites, and no mention of alternatives. With siblings like create_data_layer_instance and get_data_layer_asset_info in the same domain, the absence of routing leaves the agent to infer whether this asset-level tool is the right choice.

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