Skip to main content
Glama

widget_set_property

Set a child widget property in Unreal Engine, including Text, FontSize, ColorAndOpacity, Visibility, or RenderTransformAngle. Provide widget blueprint path, widget name, property name, and value.

Instructions

Set a common property on a child widget.

Supported native properties include Text, FontSize, ColorAndOpacity, BrushTintColor, BrushSize, Percent, FillColorAndOpacity, Visibility, and RenderTransformAngle. Color and vector values should be comma-separated strings such as 1,0.2,0.1,1 or 256,64.

KB: see knowledge_base/06_UI_UMG_SYSTEMS.md#overview Example: widget_set_property(widget_blueprint_path="/Game/MCP_Test/BP_Example", widget_name="/Game/MCP_Test/WBP_Example", property_name="ExampleName", property_value="ExampleName")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widget_nameYes
property_nameYes
property_valueYes
widget_blueprint_pathYes

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?

No annotations are provided, so the description must carry the behavioral burden. It discloses the property list and color/vector string format but not side effects, whether the mutation persists or requires a save, error behavior, or any prerequisites. 'Set' is the only behavioral signal.

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: a one-line action, a focused property list, a formatting note, a KB pointer, and an example. The example's use of 'ExampleName' for both property and value is slightly confusing, but the structure is otherwise efficient.

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?

The presence of an output schema reduces the need to explain return values, and the example plus KB reference provide a usable pattern. Still, the description leaves open the semantics of the two path-like parameters and does not state prerequisites or when not to use the tool, so a well-rounded call is not fully specified.

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 description coverage is 0%, and the description compensates partly by enumerating property_name choices and specifying the comma-separated format for property_value. However, widget_blueprint_path and widget_name are only illustrated via example values (both look like /Game/... asset paths), leaving their exact relationship underdefined.

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 opens with a specific verb and resource: 'Set a common property on a child widget,' and the supported property list specifies what kinds of properties are involved. This clearly separates it from sibling tools like set_actor_property, set_component_property, and widget_set_anchor.

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 context is only implied: the supported native-property list suggests the tool is for these common widget properties, but the description never says when to prefer it over widget_add_child, widget_set_anchor, or property-specific tools. There is no explicit alternative or 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.

Deploy Server

Other Tools