Skip to main content
Glama

set_anim_root_motion

DestructiveIdempotent

Set root motion extraction, root lock, and force lock on a UAnimSequence, then save; omitted settings reset to defaults.

Instructions

Write the three root motion settings of a UAnimSequence (bEnableRootMotion, RootMotionRootLock, bForceRootLock) and save it. All three are written on every call, so an omitted one is reset to its default; an unknown root lock name applies RefPose while the reply echoes the given text. Settings the sequence already has are a success with changed=false and saved=false, and the sequence is neither modified nor saved. A failed save makes success false, with saved=false and save_error.

Returns: { anim_sequence_path, enable_root_motion, root_motion_root_lock, force_root_lock, changed, success, saved, save_error, message }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
force_root_lockNoWhether to force the root lock (default false)
anim_sequence_pathYesAsset path of the UAnimSequence.
enable_root_motionNoWhether to enable root motion extraction (default true)
root_motion_root_lockNoRoot lock mode: RefPose|AnimFirstFrame|Zero (default RefPose)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses that omitted params reset to defaults, that an unknown root lock name silently applies RefPose while echoing the given text, that a no-op returns changed=false/saved=false without touching the asset, and that a failed save returns success=false with save_error. This is exactly the destructive/idempotent nuance an agent needs.

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?

Front-loaded with the core action, then the important edge-case semantics, then return fields. Dense but almost every clause earns its place; the 'Returns:' inventory is somewhat list-like though it is useful given there is no output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no output schema, the description fully covers the write semantics, default-reset behavior, no-op detection, and failure reporting, and enumerates the return fields. Nothing an agent needs to call or interpret it is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% (baseline 3), and the description adds real meaning on top: default values for omitted fields, the reset-on-omit semantics, and the fallback behavior for an unrecognized root lock string. It stops short of documenting input formats beyond what the schema already carries.

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?

States a specific verb and resource ('Write the three root motion settings of a UAnimSequence') and names the exact fields written (bEnableRootMotion, RootMotionRootLock, bForceRootLock). An agent immediately knows what the tool mutates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description establishes clear usage context by explaining that all three settings are written on every call and that omitted values reset to defaults, which tells the agent how to invoke it. It does not name an alternative sibling (e.g. get_anim_sequence_info) or state explicit when-not-to-use conditions, so it falls short of a 5.

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