Skip to main content
Glama

add_make_struct_node

Create a Make Struct node with one input pin per editable struct member and return all pins, so you can fill or connect the struct without a follow-up read.

Instructions

Create a Make Struct node with ONE INPUT PIN PER EDITABLE MEMBER of the struct (Blueprint-defined structs included) and return them all, so the struct can be filled with set_pin_default_value / connect_pins without a follow-up read. Same node as add_graph_node node_type="make_struct", but reconstructed after creation so the per-member pins are refreshed from the struct. Inverse: add_break_struct_node. Does NOT compile.

Returns: { node_id, pins:[...one input pin per struct member + the struct output...], blueprint_name, graph_name, struct_type }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graph_nameNoTarget graph name; defaults to the Blueprint's event graph when omitted.
position_xNoNode X position (ignored when node_position is set).
position_yNoNode Y position (ignored when node_position is set).
struct_typeNoUScriptStruct path (/Game/.../S_Foo.S_Foo), bare name, or engine alias (Vector/Rotator/Transform...).
node_positionNoNode canvas position as [x, y]; takes precedence over position_x/position_y.
blueprint_nameNoBlueprint name or path.
blueprint_pathNoAlias of `blueprint_name` (same value, same meaning). Accepted because sibling tools spell this parameter differently; prefer `blueprint_name`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly=false, destructive=false, idempotent=false, so the safety profile is covered. The description adds non-obvious behavior beyond the schema: it does NOT compile, and creation is followed by a reconstruction step that refreshes per-member pins. It stops short of stating permission/preconditions, but the added behavioral context is substantive.

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?

Front-loaded with the core action and the pin behavior, then alternatives, inverse, and a Returns block. Dense but every sentence carries information; the parenthetical about Blueprint-defined structs and the Returns block are the only slightly heavy spots.

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?

With no output schema, the description supplies the return shape (node_id, pins one-per-member plus struct output, blueprint_name, graph_name, struct_type), which is exactly what an agent needs to chain into set_pin_default_value/connect_pins. Combined with sibling routing and the no-compile note, nothing essential is missing.

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 100%, so the schema already documents all 7 parameters (including the blueprint_path/blueprint_name alias nuance and node_position precedence). The description adds no parameter-level syntax or format detail, so the baseline of 3 applies.

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?

Specific verb + resource ("Create a Make Struct node") plus the defining behavioral trait (one input pin per editable member, Blueprint-defined structs included). It explicitly distinguishes itself from add_graph_node node_type="make_struct" and names its inverse add_break_struct_node, so an agent can place it precisely among siblings.

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

Usage Guidelines5/5

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

States the downstream workflow (fill via set_pin_default_value / connect_pins without a follow-up read), names the alternative (add_graph_node node_type="make_struct") and why this variant exists (reconstructed so per-member pins are refreshed), and names the inverse (add_break_struct_node). When-to-use and alternatives are both explicit.

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