Skip to main content
Glama

bp_connect_pins

Connect an output pin on one Blueprint node to an input pin on another, with verification and detailed error reporting on failure.

Instructions

Connect an output pin on one Blueprint node to an input pin on another.

Pin names MUST be the exact strings returned by bp_inspect_node. Common exec pin names: 'then' (output), 'execute' (input). Common data pin names: 'ReturnValue', 'Target', 'Value', etc.

If the connection fails due to type mismatch or schema rejection, the error field explains why so the agent can diagnose the issue without guessing.

Returns: outputs.source_node_id, source_pin, target_node_id, target_pin outputs.connection_verified — bool (True if UE5 confirmed success) errors[] — schema rejection reason if failed

Args: blueprint_name: Blueprint asset name source_node_id: GUID or name of the source node (has the output pin) source_pin: Output pin name on the source node target_node_id: GUID or name of the target node (has the input pin) target_pin: Input pin name on the target node graph_name: Graph name. Default 'EventGraph'

Returns: JSON string with StructuredResult.

KB: see knowledge_base/01_BLUEPRINT_FUNDAMENTALS.md#overview Example: bp_connect_pins(blueprint_name="/Game/MCP_Test/BP_Example", source_node_id="Example", source_pin="Exec", target_node_id="Example", target_pin="Exec")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
graph_nameNoEventGraph
source_pinYes
target_pinYes
blueprint_nameYes
source_node_idYes
target_node_idYes

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?

No annotations are provided, so the description carries the full burden. It discloses error behavior ('error field explains why') and success verification ('connection_verified — bool'), which is good. However, it does not explicitly state that the operation mutates the blueprint graph or any side effects, reversibility, or permissions. The 'Connect' action implies mutation, but the description could be more explicit about the impact on the graph.

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 clear sections (intro, pin name note, error handling, returns, args, example, KB reference). It front-loads the core purpose and gets into details. However, 'Returns' is listed twice, which is a minor redundancy. Overall, it is efficient for the complexity of the tool.

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?

The description includes an example, a KB link, return structure, and error handling, which covers most needs. It implies the prerequisite of calling bp_inspect_node but does not explicitly state 'call bp_inspect_node first.' For a 6-parameter tool, this is fairly complete; the only gap is making the prerequisite more explicit.

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% (no parameter descriptions in the schema), so the description must fully compensate. It does: the 'Args' section explains every parameter, including what each node ID refers to and the source/target pin roles. It also provides an example call. This fully clarifies the semantics beyond the bare names in the schema.

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 clearly states the tool's function: 'Connect an output pin on one Blueprint node to an input pin on another.' It names the specific resource (Blueprint pins) and the action (connect), which is unambiguous. It also distinguishes itself from siblings like 'bp_disconnect_pin' and 'connect_blueprint_nodes' by its specificity and parameter set.

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 provides crucial usage guidance: pin names must come from bp_inspect_node, and it lists common exec and data pin names. It also explains error handling. However, it does not explicitly mention when to use this tool instead of similar siblings like 'connect_blueprint_nodes' or mention any exclusions. The guidance is strong for how to use, but lacks direct comparison to alternatives.

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