Skip to main content
Glama

add_animation_state

Add an animation state to a specified state machine within an Unreal Engine Animation Blueprint, optionally assigning an animation asset, to streamline automated animation setup.

Instructions

Add an animation state to a State Machine.

Args: anim_blueprint_name: Animation Blueprint name state_machine_name: State machine name state_name: State name (e.g., "Idle", "Walk", "Run", "Jump", "Death") animation_asset: Optional animation sequence asset path

KB: see knowledge_base/05_ANIMATION_SYSTEM.md#overview Example: add_animation_state(anim_blueprint_name="/Game/MCP_Test/BP_Example", state_machine_name="ExampleName", state_name="ExampleName")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
state_nameYes
animation_assetNo
state_machine_nameYes
anim_blueprint_nameYes

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?

With no annotations, the description carries the full burden of behavioral disclosure, but it only states the operation and parameter meanings. It does not mention side effects, whether existing states are overwritten, required preconditions, or error behavior.

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 logically structured with an Args block, a KB reference, and an example. It is front-loaded with the purpose and avoids excessive prose, though the example is somewhat repetitive.

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 KB link and output schema help, but the description still lacks critical context for confident use: prerequisites, whether the state machine must already exist, failure modes, and relationship to sibling animation-state tools. It is not complete enough for an agent to avoid common mistakes.

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%, so the description must compensate. It lists all four parameters with minimal labels and marks animation_asset as 'Optional animation sequence asset path,' and gives state_name examples. However, most descriptions restate the parameter names and do not provide path/format guidance beyond one example.

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 identifies the action and target: 'Add an animation state to a State Machine.' It is specific enough to distinguish from related siblings like add_state_machine and add_state_transition, though it does not explicitly call out how it differs from set_animation_for_state.

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 when-to-use or when-not-to-use guidance is provided. The description gives an example and parameter list but does not explain whether the state machine must already exist, when to prefer this over set_animation_for_state, or what prerequisites apply.

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