Skip to main content
Glama

add_blueprint_for_loop_node

Add a ForLoop macro node to a Blueprint graph, specifying start and end indices for iterative execution.

Instructions

Add a standard ForLoop macro node to a Blueprint graph.

Pins: execute, First Index (int), Last Index (int), Loop Body (exec), Index (int), Completed (exec).

Args: blueprint_name: Asset name of the Blueprint. graph_name: Graph to add to. Default 'EventGraph'. first_index: Starting index (default 0). last_index: Ending index (default 9). node_position: Optional [X, Y] canvas position.

Returns: Dict with 'node_id', 'node_name', 'node_type', and 'pins'.

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graph_nameNoEventGraph
last_indexNo
first_indexNo
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.3/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does a solid job: it says the tool adds a node, lists every pin and its type, documents argument defaults, and gives the returned dictionary keys. It does not mention side effects such as whether the Blueprint is saved or compiled, but the core add-node behavior is clearly disclosed.

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 front-loaded with a one-sentence summary, then organized into labeled Pins, Args, Returns, KB, and Example sections. Every line adds useful information, and the formatting makes it easy for an agent to scan quickly.

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 5-parameter tool with zero schema descriptions and no annotations, the description covers the call contract well: argument semantics, defaults, return shape, a KB pointer, and a concrete example. It could be slightly more complete by explaining graph_name path conventions or node_position coordinate units, but the essential calling context is present.

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

Parameters5/5

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

Schema description coverage is 0%, yet the description documents all five parameters with meaning and defaults: blueprint_name as an asset name, graph_name defaulting to 'EventGraph', first/last index defaults, and node_position as an optional [X, Y] canvas position. The example includes a full Blueprint path, leaving no parameter meaning to inference.

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 first sentence states an exact action and target: 'Add a standard ForLoop macro node to a Blueprint graph.' The pin listing (Exec, First Index, Last Index, Loop Body, Index, Completed) identifies the precise Unreal Blueprint node and helps distinguish it from sibling loop-node tools such as the ForEachLoop variant.

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 does not explicitly state when to prefer this tool over the many sibling add_*_node tools, nor does it name alternatives such as add_blueprint_for_each_loop_node. The intended use is implied by the node name and the integer First/Last Index pins, so an agent must infer the selection context rather than being told it directly.

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