Skip to main content
Glama

create_ai_controller_blueprint

Idempotent

Create an Unreal Engine Blueprint parented to AAIController, then compile and save it; returns the asset path or loads the existing asset.

Instructions

Create a Blueprint asset parented to AAIController, compile and save it. Idempotent: if the asset already exists it is loaded and returned.

Returns: { name: string, asset_path: string, parent_class: string, generated_class: string, is_ai_controller: bool, already_existed: bool, created: bool }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesAsset name (e.g. BP_EnemyAIController)
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_pathNoTarget /Game package path (optional, default "/Game/Blueprints")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations (which only flag idempotentHint=true and the destructive/readOnly basics) by explicitly stating the compile+save side effects, the idempotent load-and-return behavior, and the full return shape. Crucially it explains the PIE refusal hazard in the force param, which annotations cannot capture.

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

Conciseness5/5

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

Two tight sentences covering creation, side effects, and idempotency, followed by a structured return shape. Front-loaded with the core action and zero filler.

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?

Strong for a 3-param mutation tool: covers action, side effects, idempotency, and return fields. Adequate against a fully-described schema. Not a 5 because return-value detail is redundant here and PIE guidance is siloed in the schema rather than surfaced in the description.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3. The description reinforces the name param semantics and the return object fields. The rich force-param PIE warning lives in the schema, not the description, so the description adds only moderate extra value on parameters.

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 specific verb+resource (Create a Blueprint asset), names the parent class (AAIController), and distinguishes itself from sibling Blueprint-creators like create_blueprint and create_anim_blueprint by the AAIController parenting and the compile+save behavior.

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?

The description clearly implies creation context but does not name alternative tools for creating other Blueprint types. A sibling like create_blueprint exists, and the distinction (this one is AI controller-specific) is conveyed but not explicitly routed. No when-not guidance in the general description, though the schema's force param carries the PIE refusal detail.

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