Skip to main content
Glama

create_widget_blueprint

Create and save a new UWidgetBlueprint asset with a CanvasPanel root in Unreal Engine via UEAgent, returning its package and asset paths.

Instructions

Create (and save) a new UWidgetBlueprint asset with a CanvasPanel root.

Returns: { name: string, package_path: string, asset_path: string, parent_class: string, created: bool, already_existed: bool, root_created: bool, root_widget: string, root_widget_class: string, saved: bool, save_error: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAsset name (no extension)
forceNoOptional. This command is REFUSED while a Play-in-Editor session is running: it either compiles a Blueprint (the reinstancer can retain a world, and CheckForWorldGCLeaks is Fatal -- it KILLS the editor) or writes to disk (Editor.AllowSavingAssetsDuringPIE=0 makes the engine refuse the write, so it would report success without writing a byte). Stop PIE and retry instead; force=true runs it anyway, at your own risk.
package_pathYes/Game folder to create the asset in (e.g. /Game/UI)
parent_classNoParent UUserWidget subclass (default "UUserWidget").

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, idempotentHint=false, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral detail by noting the asset is saved and by enumerating return flags (already_existed, saved, save_error) that reveal re-run and failure semantics. It does not, however, surface the PIE-refusal constraint that lives only in the force parameter schema.

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 compact blocks: the action is front-loaded in the first sentence and the return shape follows. Given there is no output schema, the Returns line earns its space rather than being redundant, though the field list is dense.

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?

With no output schema and 100%-covered parameters, the description compensates by inlining the return structure, so an agent knows what comes back. It is complete on mechanics but silent on routing to sibling creation tools, a minor gap for a creation command with many lookalikes.

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%, including an unusually detailed force parameter that explains PIE refusal, so the schema carries the parameter burden. The description adds only the CanvasPanel-root detail (which maps to root_created/root_widget), which is a marginal addition over the schema; baseline 3 is appropriate.

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?

States a specific verb and resource ("Create (and save) a new UWidgetBlueprint asset") plus a concrete scope constraint ("with a CanvasPanel root"). It does not, however, distinguish itself from nearby siblings like create_widget, create_editor_utility_widget_blueprint, or add_widget_to_blueprint, so an agent gets the what but not the which.

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 explicit when-to-use or when-not-to-use guidance and no named alternative. The parenthetical "(and save)" hints at the write behavior but does not tell the agent when this tool is preferable to the many other widget/blueprint creation siblings.

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