Skip to main content
Glama

set_text_block_binding

Bind a Text Block widget's property to a Blueprint variable, enabling dynamic updates to text, visibility, or color in Unreal Engine.

Instructions

Set up a dynamic property binding on a Text Block widget.

Args: widget_name: Widget Blueprint name text_block_name: Text Block component name binding_property: Blueprint variable to bind to binding_type: "Text", "Visibility", "ColorAndOpacity"

KB: see knowledge_base/06_UI_UMG_SYSTEMS.md#overview Example: set_text_block_binding(widget_name="/Game/MCP_Test/WBP_Example", text_block_name="ExampleName", binding_property="ExampleName")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widget_nameYes
binding_typeNoText
text_block_nameYes
binding_propertyYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/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 states the operation is 'Set up a dynamic property binding' but does not disclose side effects, whether it modifies the widget blueprint persistently, whether it requires compilation, or what happens if the binding property doesn't exist. The KB reference is a pointer but not actual behavioral disclosure.

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 with the main purpose. The Args list and example are useful and not redundant. The KB reference adds a small amount of noise but is a single line. Overall, it earns its place without excessive length.

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

Completeness2/5

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

The tool has 4 parameters, 0% schema coverage, no annotations, and an output schema exists but is not shown. The description provides an example and KB pointer but lacks critical context: what binding_type values mean, whether the widget must already exist, and what the output/return value is. For a mutation-like tool, this is insufficient for an agent to call it confidently.

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

Parameters2/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. It lists the four parameters with brief labels (e.g., 'Widget Blueprint name', 'Text Block component name', 'Blueprint variable to bind to') but does not explain the binding_type enum values or the relationship between binding_property and the widget's text block. The example clarifies some usage but leaves binding_type semantics vague.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action: 'Set up a dynamic property binding on a Text Block widget.' It identifies the resource (Text Block widget) and the operation (binding a property). It is distinguishable from siblings like add_text_block_to_widget and umg_add_widget_binding, though it doesn't explicitly name a sibling alternative.

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

Usage Guidelines3/5

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

The description implies usage context through the example and the KB reference, but it does not explicitly state when to use this tool versus alternatives like umg_add_widget_binding or bind_widget_event. The example shows a concrete invocation, which helps, but there is no explicit when/when-not guidance.

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