Skip to main content
Glama

create_functional_test

Create a Blueprint subclass of AFunctionalTest to set up scriptable, multiplayer-friendly functional tests in Unreal Engine 5. Then save the asset.

Instructions

Create a Blueprint subclass of AFunctionalTest (the canonical UE pattern for a multiplayer-friendly, Blueprint-scriptable test actor) and save it.

Returns: { asset_name, asset_path, package_class, parent_class, already_existed, saved }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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.
asset_nameYesName for the new Functional Test BP asset.
package_pathNoTarget content folder; defaults to /Game/MCP.
parent_classNoOptional AFunctionalTest-derivative parent (default "FunctionalTest").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations cover the safety profile (readOnly=false, destructive=false, idempotent=false), and the description adds the return payload, including already_existed and saved, which usefully qualifies the non-idempotent hint by telling the agent a re-run won't blindly overwrite. It omits any note about asset-name collisions or error behavior, and relies on the schema's force param to disclose the PIE-refusal hazard.

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 tight sentences: the action and its canonical-pattern rationale come first, the return shape second. Every clause earns its place, though the inline return list is slightly 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?

For an asset-creation tool with annotations present and no output schema, the description supplies the return fields the agent otherwise couldn't know and frames the asset semantics. It falls short only on failure/collision behavior, which is minor given the schema already documents the force override.

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%, so all four parameters are already documented in the schema (including the detailed force/PIE caveat). The description adds no parameter meaning beyond that; baseline 3 is appropriate when the schema carries the load.

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 (Create) and resource (a Blueprint subclass of AFunctionalTest) plus the side-effect (and save it), and the parenthetical clarifies the canonical UE pattern so an agent knows exactly what artifact results. No sibling competes for this exact create-a-functional-test action, so the purpose is unambiguous.

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 the scenario ('multiplayer-friendly, Blueprint-scriptable test actor') but never states when to choose this over analogous tools such as run_functional_test_in_pie, run_automation_test, or create_blueprint. Usage must be inferred from the resource name.

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