Skip to main content
Glama

animation_tree_manage

Create and manage AnimationTree state machines and blend trees in Godot: scaffold trees, add states and transitions, inspect configuration.

Instructions

AnimationTree State Machine and Blend Tree Management.

Ops:

  • scaffold_state_machine(parent_path="", anim_player_path="", node_name="AnimationTree") Scaffold an AnimationTree with an AnimationNodeStateMachine root.

  • add_state(tree_path, state_name, animation_name="", position=[0,0]) Add an animation state node into an AnimationNodeStateMachine.

  • add_transition(tree_path, from_state, to_state, auto_advance=False) Add a transition between two states in an AnimationNodeStateMachine.

  • scaffold_blend_tree(parent_path="", anim_player_path="", node_name="AnimationTreeBlend") Scaffold an AnimationTree with an AnimationNodeBlendTree root.

  • get_tree_info(tree_path) Inspect root node configuration and status of an AnimationTree.

Canonical call shape: {"op": "<verb>", "params": {...}}. Flat op parameters are accepted as a compatibility alias when the client transmits them; op and session_id remain top-level.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
opYes
paramsNo
session_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv5.0.28

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full disclosure burden. It does state the core behavior of each operation and the canonical call shape, including the compatibility alias for flat parameters. But it does not disclose side effects, prerequisites, error conditions, or distinguish mutating operations from the read-only get_tree_info beyond the verb itself.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is compact and well structured. It front-loads the domain, then presents each operation in a scannable bullet list with signatures and brief explanations. The canonical call shape note is useful and not redundant, and there is no filler or repetition.

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?

For a multi-operation tool, the description covers the main requirements: available operations, their parameters, and the invocation shape. An output schema exists and can cover return values, which the description need not duplicate. Missing end-to-end examples or failure behavior are minor gaps given the otherwise clear operation-level documentation.

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?

The input schema is opaque at 0% parameter description coverage, so the description must compensate. It does so by listing each operation's parameters inline with defaults and enough context to understand their purpose, such as parent_path, anim_player_path, auto_advance, and position. Some details remain unspecified, such as exact tree_path notation or position coordinate format, but the description adds substantial meaning beyond the bare parameter names.

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 tool's domain: AnimationTree state machine and blend tree managementsell. It enumerates five concrete operations with verbs like 'scaffold', 'add', and 'inspect', so an agent can see exactly what actions are available. It differentiates from sibling tools by resource type (AnimationTree), though it does not explicitly name or contrast siblings.

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?

Usage is implied through the operation list: each bullet explains what that sub-operation does/dss, so an agent can infer when to call scaffold_state_machine vs scaffold_blend_tree etc. However, there is no explicit guidance about when to use this tool instead of sibling tools like animation_manage or fsm_manage, and no exclusions or alternative routes are stated.

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