Skip to main content
Glama

add_construction_script_node

Add a Construction Script event node to a Blueprint to run procedural setup in-editor and before gameplay, enabling dynamic modifications based on exposed variables.

Instructions

Add a Construction Script event node to a Blueprint.

Ch.3: The Construction Script runs both in-editor and at runtime before BeginPlay. Used for procedural setup based on exposed variables, like setting mesh, materials, or modifying component transforms.

Args: blueprint_name: Blueprint name node_position: Optional [X, Y] graph position

KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: add_construction_script_node(blueprint_name="/Game/MCP_Test/BP_Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
node_positionNo
blueprint_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations are absent, so the description carries full behavioral burden. It discloses that the Construction Script runs in-editor and at runtime before BeginPlay, which is about the node's lifecycle, not the tool's own side effects. It does not mention prerequisites (e.g., blueprint must exist), whether the operation is reversible, or any failure modes. This is adequate but not complete.

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 action line, a brief contextual paragraph, an Args section, a KB reference, and an example. Every section serves a purpose and there is no waste. It is front-loaded with the action and remains concise.

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 a simple two-parameter tool with an output schema, the description covers purpose, parameter semantics, and provides an example. It references a KB for additional depth. Minor gaps: it doesn't explicitly state that the blueprint must exist or that the node is added to the Construction Script graph (though implied), so it's slightly incomplete.

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 description coverage is 0%, so the description must compensate. It explicitly documents both parameters: 'blueprint_name: Blueprint name' and 'node_position: Optional [X, Y] graph position'. This adds meaning beyond the raw schema types, though it could specify more detail (e.g., exact path format), so a 4 is appropriate.

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 clearly states 'Add a Construction Script event node to a Blueprint' – a specific verb, resource, and target. It distinguishes itself from the many add_*_node siblings by naming the exact event node type. The context about what Construction Script is used for reinforces the purpose.

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 explains when to use it ('Used for procedural setup based on exposed variables') and provides a KB reference for deeper context. However, it does not explicitly mention when not to use it or point to alternatives like add_construction_script_for_loop, so it lacks the 'when-not' clause that would earn a 5.

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