Skip to main content
Glama

add_break_struct_node

Adds a Break Struct node to a Blueprint, unpacking a struct so each member value becomes available as an output pin for reading.

Instructions

Add a Break [StructType] node to extract individual member values.

From Ch. 13: Break Struct takes a struct as input and exposes all member variables as output pins. Used to read individual fields.

Also see Split Struct Pin (right-click a struct pin in the graph).

Args: blueprint_name: Blueprint to add the node to struct_type: Struct type name (e.g., "FVector", "FEnemyData", "FHitResult") node_position: [X, Y] graph position

KB: see knowledge_base/07_DATA_STRUCTURES.md#overview Example: add_break_struct_node(blueprint_name="/Game/MCP_Test/BP_Example", struct_type="Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
struct_typeYes
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.8/5.0
Behavior3/5

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

With no annotations, the description must carry the full burden of behavioral disclosure. It states the tool 'Adds' a node and explains the node's internal behavior (exposing member variables), but does not disclose side effects like whether the blueprint is modified, whether compilation is triggered, or prerequisites such as the struct type existing. The example uses an undefined 'Example' struct, which could mislead. This is adequate but not thorough for a mutation tool.

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?

The description is well-structured with a clear opening sentence, an explanatory paragraph, a bulleted Args list, a KB reference, and an example. It is moderately concise, though the Ch. 13 quote and Split Struct Pin note add some length. The essential information is front-loaded and easy to scan.

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

Completeness3/5

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

The description covers the tool's purpose, parameters, and provides an example, but lacks critical contextual details such as prerequisites (e.g., struct must exist in the project), potential failure modes, and what the tool returns (though an output schema exists). Given the simplicity of the tool and the presence of an output schema, the description is adequate but leaves some gaps that could affect correct usage.

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 compensates by explaining all three parameters: blueprint_name (target blueprint), struct_type (with examples like FVector, FHitResult), and node_position ([X, Y] graph position). It clarifies meaning beyond the schema, though it does not explicitly state that node_position is optional or describe coordinate conventions. Overall it provides substantial semantic value.

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 clearly states the verb 'Add' and the resource 'Break [StructType] node' with its purpose of extracting member values. It further explains the node's behavior (takes a struct, exposes all members as output pins) and gives a concrete example, making it unambiguous and distinct from sibling tools like add_make_struct_node (which constructs structs) or add_break_hit_result_node (specific to HitResult).

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 notes an alternative method (Split Struct Pin) but does not explicitly contrast with sibling tools such as add_make_struct_node or add_break_hit_result_node. It implies usage when reading individual fields but lacks clear when-not-to-use guidance or explicit selection criteria among the many add_* node tools.

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