Skip to main content
Glama
aadeshrao123

Unreal-MCP

by aadeshrao123

add_statetree_state

Add a state to a StateTree asset, specifying parent via index, name, or GUID, with configurable type and selection behavior.

Instructions

Add a state to the tree. Omit parent params for a root-level state.

Args: asset_path: Content path to the StateTree asset name: Name for the new state parent: Parent state index path (e.g. "0/1") parent_name: Parent state name parent_guid: Parent state GUID state_type: "State", "Group", "Linked", "LinkedAsset", or "Subtree" selection_behavior: "None", "TryEnterState", "TrySelectChildrenInOrder", "TrySelectChildrenAtRandom", "TrySelectChildrenWithHighestUtility", "TryFollowTransitions" position: Insert position (-1 = append)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
parentNo
positionNo
asset_pathYes
state_typeNoState
parent_guidNo
parent_nameNo
selection_behaviorNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are provided, so the description must fully disclose behavior. It only lists parameters and their defaults but does not describe side effects, required permissions, or whether the operation is reversible.

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 well-structured with a brief introductory sentence followed by a clear parameter list. It could be slightly more concise, but the parameter details are efficiently presented.

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?

Given the complexity of the tool (8 parameters, 2 required) and the presence of an output schema, the description provides sufficient parameter documentation. Missing guidance on expected output or error scenarios, but overall complete.

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 description adds substantial value by listing all parameter options (e.g., state_type values, selection_behavior enum) and clarifying that parent params can be omitted for root states.

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 'Add a state to the tree' and distinguishes from sibling tools like add_statetree_task or add_statetree_evaluator by focusing specifically on state addition.

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?

Provides a clear usage guideline: 'Omit parent params for a root-level state.' However, it does not mention when to use this tool versus alternatives like add_statetree_task or add_statetree_evaluator.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aadeshrao123/Unreal-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server