Skip to main content
Glama

ue5_apply_blueprint_graph

Writes a complete Blueprint graph in one atomic transaction, compiles it, verifies by read-back, and rolls back on failure. Use it as the main path for graph logic after searching nodes.

Instructions

Declarative whole-graph write: one atomic transaction builds/wires the GraphSpec, compiles outside it, verifies by read-back, rolls back on failure. Main path for graph logic; build the spec from ue5_search_blueprint_nodes first. Node-level tools (ue5_connect_pins / ue5_delete_node) only for surgical fixes. | 整图写入主路径:原子事务 + 读回 verified + 失败回滚;先 search 再 apply。

Input Schema

NameRequiredDescriptionDefault
bp_pathYesBlueprint asset path, e.g. /Game/BP_Test | 蓝图资产路径
replaceNoReplace existing graph content (required true when graph is non-empty) | 替换语义开关(图非空时必须显式 true)
graph_specYesGraphSpec: {graph, nodes:[{id, kind, target, class?, pos?}], edges:[{from:"id.pin", to:"id.pin"}], pin_defaults:{"id.pin": value}} — see SKILL.md §3.7 | 图规格(节点/边/默认值,见 SKILL.md §3.7)
session_idNoOptional session/owner for asset lock checks | 可选:会话标识(多 Agent 资产锁)
idempotency_keyNoOptional idempotency key; a repeated key within 10 min replays the prior success | 可选:幂等键(10 分钟内重放上次成功结果)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv6.5.4

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses atomic transaction semantics, compilation outside the transaction, read-back verification, and rollback on failure. It stops short of explaining permissions, asset-lock behavior, or how errors are surfaced, which keeps it from a 5.

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 English sentence is front-loaded and dense with useful routing information, and the Chinese sentence mirrors it for bilingual clarity. The bilingual duplication makes it slightly longer than strictly necessary, but nothing is irrelevant.

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?

For a complex, nested-object mutation tool with no annotations and no output schema, the description covers the critical behavioral contract: atomicity, compile-outside-transaction, read-back verification, and rollback. It could say more about failure reporting and asset-lock interaction, but it is largely complete for correct invocation.

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 coverage is 100%, so the schema already documents bp_path, replace, graph_spec, session_id, and idempotency_key. The description adds useful context about constructing graph_spec via ue5_search_blueprint_nodes, but it does not add syntax or format detail beyond the schema, so the high-coverage baseline of 3 is appropriate.

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 verb and resource: a declarative whole-graph write that builds/wires a GraphSpec atomically. It clearly distinguishes itself from node-level siblings by naming ue5_connect_pins and ue5_delete_node as surgical-fix-only tools.

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?

It explicitly says this is the main path for graph logic, instructs the agent to build the spec from ue5_search_blueprint_nodes first, and confines ue5_connect_pins / ue5_delete_node to surgical fixes. That is clear when-to-use and when-not-to-use guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.