Skip to main content
Glama

set_blackboard_value

Set a Blackboard key value in Unreal Engine by adding a typed Set Blackboard Value node to a Blueprint.

Instructions

Add a 'Set Blackboard Value as [Type]' node.

Args: blueprint_name: Blueprint name (usually AIController or BTTask) key_name: Blackboard key name value_type: Value type ("Object", "Vector", "Bool", "Float", "Int", "String") node_position: Optional graph position

KB: see knowledge_base/04_AI_SYSTEMS.md#overview Example: set_blackboard_value(blueprint_name="/Game/MCP_Test/BP_Example", key_name="ExampleName", value_type=0.0)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
key_nameYes
value_typeYes
node_positionNo
blueprint_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral disclosure burden. It says the tool 'adds' a node, which implies graph mutation, but it does not state whether the blackboard key must already exist, whether existing nodes or pins are overwritten, or whether the blueprint needs to be loaded or compiled. These are material gaps for a mutation tool.

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 compact and front-loaded: action sentence, parameter list, KB reference, and example. Every section earns its place. The only issue is the inconsistent example value for value_type, which is a precision problem rather than a conciseness problem.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a four-parameter mutation tool with no annotations and no schema descriptions, the description covers all parameters and provides a KB link and example, which is adequate but not rich. Missing behavioral context includes preconditions like whether the blackboard key must exist and what side effects occur on the graph, leaving the agent to infer some call requirements.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, but the description compensates reasonably well: it explains each parameter's purpose, lists the allowed value_type strings, and notes that node_position is optional. The example reinforces usage, though the example uses value_type=0.0, which conflicts with the documented string enum, preventing full credit.

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 first sentence states the exact operation: add a 'Set Blackboard Value as [Type]' node. The args clarify the target blueprint and blackboard key. This distinguishes it from siblings like add_get_blackboard_value_node and add_clear_blackboard_value_node by its verb and node name.

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

Usage Guidelines2/5

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

No explicit when-to-use guidance or alternatives are provided. The description does not mention that users should choose this over add_get_blackboard_value_node or add_clear_blackboard_value_node, so the agent must infer usage from the tool name and argument list.

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