Skip to main content
Glama

add_widget_animation

Add a widget animation to animate UMG properties like opacity, scale, or position over time, with optional looping and configurable duration.

Instructions

Add a UMG Widget Animation to animate widget properties over time.

Widget Animations allow smooth fades, slides, and scale effects in UI. Use PlayAnimation / StopAnimation nodes in Blueprint to trigger them.

Args: widget_name: Widget Blueprint name animation_name: Name for the animation (e.g., "FadeIn", "SlideOut") animated_property: Property to animate ("Opacity", "Scale", "Position") start_value: Starting value end_value: Ending value duration: Animation duration in seconds loop: Whether the animation loops

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

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
loopNo
durationNo
end_valueNo
start_valueNo
widget_nameYes
animation_nameYes
animated_propertyNoOpacity

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/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 of behavioral disclosure. It states it 'adds' an animation, implying modification of the widget blueprint, but it does not mention side effects, prerequisites (e.g., widget existence), error conditions, or whether a save/compile is required. For a mutation tool, this is a significant gap.

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 concise and well-structured: a one-sentence purpose, a brief explanation of animation utility, a parameter list, a KB reference, and an example. Each section adds value with no redundant text. The example is particularly helpful for path formatting. Slightly more verbose than strictly necessary but still 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 description covers essential parameters and provides an example, but it lacks information on return values, error handling, whether the widget blueprint must be saved/compiled afterward, and what happens on duplicate animation names. Given the tool modifies blueprints and has no annotations, this is a moderate gap.

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%, so the description must fully explain parameters. It does so with an Args list covering all 7 parameters, including example values for animation_name and animated_property, units for duration, and default semantics for loop. This thoroughly compensates for the schema gap.

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 clearly states it adds a UMG Widget Animation to animate widget properties over time. It distinguishes from sibling tools that add widgets (e.g., add_text_block_to_widget) or set properties directly (widget_set_property) by focusing on animation. The examples of fades, slides, and scale effects further clarify the tool's purpose.

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?

The description provides some context that animations are useful for smooth fades, slides, and scale effects, but it does not explicitly state when to use this tool over alternatives like widget_set_property or when not to use it. The mention of PlayAnimation/StopAnimation is about post-creation triggering, not tool selection. No explicit alternatives or exclusion criteria are given.

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