Skip to main content
Glama

add_blueprint_branch_node

Adds a conditional Branch node to a Blueprint graph, providing True/False execution paths based on a bool condition.

Instructions

Add a Branch (If/Then/Else) node to a Blueprint graph.

This is the standard UE5 Branch node with Condition (bool) input, True exec output, and False exec output.

Args: blueprint_name: Asset name of the Blueprint. graph_name: Graph to add to. Default 'EventGraph'. node_position: Optional [X, Y] canvas position.

Returns: Dict with 'node_id', 'node_name', and 'pins' (execute, Condition, True, False).

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graph_nameNoEventGraph
node_positionNo
blueprint_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations provided, the description carries the full transparency burden. It does disclose the node kind, its pins, and the return dict, but it omits side effects such as whether the asset is modified in memory only, whether compile/save is required, and what happens on invalid graph or asset names. It does not contradict the annotations because none exist.

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 the core action and organized into compact labeled sections (Args, Returns, KB, Example). Each sentence adds useful invocation detail; there is no filler or repetition.

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 three-parameter node-creation tool with no annotations and no schema-level descriptions, the description is nearly self-contained: it covers the required parameter, defaults, optional position, return keys, and a concrete example. It could be more complete by naming when to use this instead of add_branch_node, but nothing essential to making the call is missing.

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?

The schema has 0% description coverage, but the description's Args section meaningfully documents all three parameters: blueprint_name, graph_name with its default, and node_position as an optional [X, Y] canvas coordinate. It is not a 5 because blueprint_name is described as 'Asset name' while the example passes a full /Game/ path, leaving slight ambiguity.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence clearly identifies the action ('Add') and resource ('Branch (If/Then/Else) node to a Blueprint graph'), and the next sentence pins down the standard UE5 node semantics. It loses the fifth point because the sibling list also contains add_branch_node, and this description never distinguishes this tool from that likely overlapping alternative.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit 'when to use' or 'when not to use' guidance, and no alternative tools are named. The default graph_name='EventGraph' implies the intended context, but the agent is left to choose among dozens of add_*_node siblings without selection criteria.

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