Skip to main content
Glama

umg_add_widget_binding

Binds a UMG widget property to a Blueprint function or property, so UI values update automatically. Specify the widget, property path, and binding target.

Instructions

Add or replace a Widget Blueprint property binding.

property_path uses '.' such as 'HealthText.Text' or 'HealthBar.Percent'. binding_target is the Blueprint function or property name that should drive the binding.

Args: widget: Widget Blueprint asset name or path. property_path: Widget tree property path, '.'. binding_target: Blueprint function/property that supplies the value. binding_kind: 'function' or 'property'. Default 'function'.

KB: see knowledge_base/06_UI_UMG_SYSTEMS.md#overview Example: umg_add_widget_binding(widget="/Game/MCP_Test/WBP_Example", property_path="HealthText.Text", binding_target="GetHealthText")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widgetYes
binding_kindNofunction
property_pathYes
binding_targetYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 of behavioral disclosure. It does disclose that the operation adds or replaces (an existing binding is overwritten) and clarifies that the binding is driven by a function or property. However, it omits preconditions (widget asset must exist), whether the change persists or requires a save, and failure behavior. Reasonable for an unannotated mutation 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 purpose is front-loaded, followed by a compact format note, an Args block, a KB pointer, and a realistic example. Each sentence contributes; the Args block earns its place because the schema carries no parameter descriptions. Slightly longer than strictly necessary, but all content is justified.

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?

An output schema exists, so return-value coverage is not the description's job. The description supplies everything needed for correct invocation: purpose, every parameter format, defaults, an example, and a KB reference. The main gaps are explicit usage boundaries versus siblings and preconditions/side effects, but the core invocation contract is solid.

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%, yet the Args block documents all four parameters with real meaning: widget (asset name or path), property_path (with the '<WidgetName>.<PropertyName>' format and two concrete examples), binding_target (function/property that supplies the value), and binding_kind ('function' or 'property' with default). The description fully compensates for the bare schema.

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 opening sentence names a specific operation ('Add or replace') on a specific resource ('Widget Blueprint property binding'). The term 'property binding' implicitly distinguishes it from event-binding siblings like bind_widget_event and from direct-property setters like widget_set_property, but it never explicitly names an alternative. Clear verb and resource, yet sibling differentiation is only implicit.

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?

Usage is implied through the parameter format spec, the 'binding_kind' semantics, a KB pointer, and a worked example. However, the description never states when to prefer this tool over related siblings (e.g., bind_widget_event for events, set_text_block_binding for text-only bindings) nor gives any 'when not to use' guidance. Adequate but leaves selection to inference.

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