Skip to main content
Glama

create_random_spawner_blueprint

Creates a Blueprint that spawns a chosen actor class at a randomly selected target point from a configurable array, ensuring validated placement during gameplay.

Instructions

Create the BP_RandomSpawner Blueprint from Ch. 13.

Creates a Blueprint that:

  • Has a TargetPoints array (Actor Object Reference, Instance Editable)

  • Has a SpawnClass variable (Actor Class Reference, Instance Editable)

  • On BeginPlay: validates both, picks a random TargetPoint from the array, gets its transform, and spawns an actor of the SpawnClass at that location

Args: name: Blueprint name folder_path: Content browser folder

KB: see knowledge_base/07_DATA_STRUCTURES.md#overview Example: create_random_spawner_blueprint()

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoBP_RandomSpawner
folder_pathNo/Game/Blueprints

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral disclosure burden and does it well. It details the Blueprint's variables (TargetPoints array, SpawnClass) and On BeginPlay behavior: validating both, picking a random TargetPoint, getting its transform, and spawning a SpawnClass actor. This goes beyond a simple 'creates a blueprint' statement, though it doesn't mention potential side effects like overwriting existing assets or whether it compiles.

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?

The description is well-structured with a clear lead line, bulleted behavior list, Args section, KB reference, and example. Every line adds value—no filler or redundancy. The front-loaded purpose makes it scannable for an agent quickly deciding whether to invoke it.

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

Completeness5/5

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

Given the tool has an output schema and only two optional parameters with sensible defaults, the description fully covers what the agent needs: what asset is created, what it contains, how it behaves, and how to call it. The KB reference provides an optional deeper dive. Nothing critical is missing for a tool of this complexity.

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 0%, so the description must compensate. It provides brief explanations: 'name: Blueprint name' and 'folder_path: Content browser folder.' This adds minimal meaning beyond the property names themselves, and 'name: Blueprint name' is largely tautological. The example call with no arguments hints at defaults, but the defaults only live in the schema. Adequate but shallow compensation.

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?

The description opens with a specific verb and resource: 'Create the BP_RandomSpawner Blueprint from Ch. 13.' It then enumerates exactly what the Blueprint contains and does, making its purpose unmistakable. While it doesn't explicitly name sibling tools, the specificity clearly distinguishes it from generic blueprint creation or other spawner tools.

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 intended use is strongly implied by the description—an agent would know to call this when it needs the Ch. 13 random spawner blueprint. However, there are no explicit when-to-use conditions, prerequisites, or exclusions against sibling tools like create_enemy_spawner_blueprint or spawn_blueprint_actor. The guidance is present but implicit.

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