Skip to main content
Glama
aadeshrao123

Unreal-MCP

by aadeshrao123

add_statetree_global_task

Add a global task to a StateTree asset in Unreal Engine by providing the task class and optional properties.

Instructions

Add a global task to the StateTree.

Args: asset_path: Content path to the StateTree asset task_class: Task struct name properties: JSON object for task node properties instance_properties: JSON object for task instance data properties

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
asset_pathYes
propertiesNo
task_classYes
instance_propertiesNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

With no annotations, description must disclose behavioral traits. It only says 'Add', implying mutation, but fails to specify side effects, required permissions, or whether compilation is needed.

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?

Description is concise with a single sentence and an Arg list. The structure is clear but somewhat code-oriented, which may reduce readability for an AI agent.

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?

Given the complexity of adding a global task to a StateTree, the description lacks crucial context such as return value, effect on existing tasks, and required compilation. Output schema exists but is not described.

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?

Description provides basic explanations for each parameter (asset path, task class, properties, instance properties) which adds meaning beyond the schema's type-only definitions. However, explanations are vague and do not clarify the structure of properties objects.

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?

Description clearly states it adds a global task to the StateTree. However, with sibling tool 'add_statetree_task' also present, it does not differentiate between global and regular tasks, which could cause confusion.

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 guidance on when to use this tool versus alternatives like 'add_statetree_task'. No prerequisites or conditions for use are mentioned.

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