Skip to main content
Glama

add_component_to_blueprint_actor

Add a component Blueprint to an existing Actor Blueprint so its events and functions become usable in the graph. Specify target, component, parent attachment, and location.

Instructions

Add a custom Blueprint Component to an existing Blueprint Actor.

From Ch. 18: Adding BP_ExpLevelComp or BP_CircularMovComp to ThirdPersonCharacter. The component's events and functions become available in the Actor's Blueprint graph.

Args: blueprint_name: Target Actor Blueprint to modify component_blueprint_name: Component Blueprint to add attach_to_component: Parent component name to attach to (empty = root) component_location: Relative location for the component

KB: see knowledge_base/11_BLUEPRINT_LIBRARIES_AND_COMPONENTS.md#overview Example: add_component_to_blueprint_actor(blueprint_name="/Game/MCP_Test/BP_Example", component_blueprint_name="/Game/MCP_Test/BP_Example")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
blueprint_nameYes
component_locationNo
attach_to_componentNo
component_blueprint_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/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 burden. It states the operation and a concrete outcome: 'The component's events and functions become available in the Actor's Blueprint graph.' However, it does not disclose side effects such as whether the blueprint is saved/compiled, whether existing components get overwritten, or permission/precondition requirements. This is adequate but not rich.

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: a one-sentence summary, a contextual chapter reference, an Args list, a KB pointer, and a concrete example. It is somewhat longer than necessary (the chapter reference is extra), but every section adds useful information, and the main action is front-loaded. The example is slightly odd because both arguments point to the same asset, but the structure itself is efficient.

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?

Given that there is an output schema and all parameters are documented, the description is largely complete. It includes an example with asset paths and a KB reference for deeper context. It could be improved by noting preconditions (e.g., the actor blueprint must already exist) or clarifying the coordinate format for component_location, but these are minor gaps given the provided detail.

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%, so the description must compensate, and it does thoroughly. It provides an Args block explaining all four parameters: 'blueprint_name: Target Actor Blueprint to modify', 'component_blueprint_name: Component Blueprint to add', 'attach_to_component: Parent component name to attach to (empty = root)', and 'component_location: Relative location for the component'. This gives clear semantic meaning beyond the bare schema titles.

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 opens with a specific verb and resource: 'Add a custom Blueprint Component to an existing Blueprint Actor.' This clearly distinguishes it from the sibling 'add_component_to_blueprint' by explicitly targeting an Actor Blueprint, not just any blueprint. The reference to Ch. 18 and the naming of example components (BP_ExpLevelComp, BP_CircularMovComp) further grounds the purpose.

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 context: this tool is for adding a component blueprint to an existing actor blueprint, with an example from a known chapter. It does not explicitly name alternatives or state when NOT to use it (e.g., when a non-actor blueprint is the target), so it falls short of a 5 but provides enough situational framing to guide an agent.

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