Skip to main content
Glama

add_attach_actor_to_component_node

Adds a runtime attachment node to a Blueprint for securing actors to components, enabling weapon pickups or vehicle mounting. Configure location, rotation, scale, and physics weld rules.

Instructions

Add an AttachActorToComponent node.

From Ch. 15: Attaches an actor to a component at runtime. Used for dynamic attachment (e.g., weapon pickup, mounting to vehicles).

Attachment rules:

  • "KeepRelative": Maintain current relative transform

  • "KeepWorld": Maintain current world transform (recalculate relative)

  • "SnapToTarget": Reset to component's origin

Args: blueprint_name: Blueprint to add the node to location_rule: Location attachment rule rotation_rule: Rotation attachment rule scale_rule: Scale attachment rule weld_simulated_bodies: Weld physics bodies together node_position: [X, Y] graph position

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
scale_ruleNoKeepRelative
location_ruleNoKeepRelative
node_positionNo
rotation_ruleNoKeepRelative
blueprint_nameYes
weld_simulated_bodiesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

No annotations are provided, so the description carries the behavioral disclosure burden. It explains what the node does, attachment rule semantics, and that weld_simulated_bodies welds physics bodies. While it doesn't explicitly warn that adding a node mutates the Blueprint asset, the 'Blueprint to add the node to' argument makes the mutating nature reasonably clear.

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-organized with sections for purpose, attachment rules, args, KB reference, and example. The content is mostly necessary and useful, though the 'From Ch. 15' and KB line add minor context rather than essential invocation details.

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?

The description is complete enough for an agent to invoke the tool: all six parameters are explained, enum values are provided, the node's runtime behavior is clear, and an example call is included. The presence of an output schema covers return values, so no further output documentation is needed.

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%, and the description compensates fully by documenting every parameter: blueprint_name, location_rule, rotation_rule, scale_rule, weld_simulated_bodies, and node_position. It also gives the exact enum-style choices for the rule parameters ('KeepRelative', 'KeepWorld', 'SnapToTarget') with their behavioral meanings.

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 states a specific action ('Add an AttachActorToComponent node') and a specific resource ('Blueprint to add the node to'). It further clarifies the node's runtime purpose ('Attaches an actor to a component at runtime') with concrete examples ('weapon pickup, mounting to vehicles'), which distinguishes it from other add-node tools.

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 gives clear usage context: it is 'Used for dynamic attachment' with examples. It does not explicitly list alternatives or when not to use it, but the examples and node scope make the intended use clear enough for an agent to select it correctly among many sibling 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