Skip to main content
Glama

add_anim_curve_name

Idempotent

Register a curve name as metadata on a USkeleton so animations can use it; saves the skeleton. Idempotent: already-registered names succeed without changes.

Instructions

Register a curve name as curve metadata on a USkeleton (USkeleton::AddCurveMetaData) in an undo transaction, then save the skeleton package. Idempotent: a name already registered is a success with added=false, already_existed=true and saved=false, and the skeleton is neither modified nor saved. It adds no keys -- to put a keyed float curve on a UAnimSequence use add_anim_float_curve; remove_anim_curve_name is the inverse. An unknown skeleton is an error and a failed save makes success false, with saved=false and save_error.

Returns: { skeleton_path, curve_name, present, added, already_existed, curve_count, saved, save_error, message }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
curve_nameYesThe curve name to add (e.g. 'Curve_Example').
skeleton_pathNoAsset path of the USkeleton to edit (/Game/...); when omitted or empty the engine asset /Engine/EngineMeshes/SkeletalCube_Skeleton is edited and saved.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.2.0
    • changedInput schema / properties / skeleton_path / description
      Previous value: -"Asset path of the target Skeleton"New value: +"Asset path of the USkeleton to edit (/Game/...); when omitted or empty the engine asset /Engine/EngineMeshes/SkeletalCube_Skeleton is edited and saved."
  2. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations cover safety (readOnly=false, idempotent=true, destructive=false), but the description adds substantial context beyond them: it runs in an undo transaction, saves the skeleton package, reports specific idempotent result values (added=false, already_existed=true, saved=false), and defines error behavior (unknown skeleton is an error; failed save yields success=false with save_error).

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 and then layers idempotency, alternatives, and error handling. It is dense but each sentence carries distinct information, and the Returns enumeration is warranted because no output schema exists. Slightly long but not wasteful.

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?

With no output schema, the description compensates by enumerating the returned fields and covers the failure and idempotent paths. For a 2-parameter mutation whose annotations carry the safety profile, this is complete enough to call correctly without further probing.

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 100%, so both parameters are already documented, including the default skeleton when skeleton_path is omitted. The description adds conceptual context (curve metadata on a USkeleton) but no format or naming details beyond the schema, so the baseline 3 is appropriate.

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 precise verb+resource: 'Register a curve name as curve metadata on a USkeleton', and names the underlying engine call. It explicitly distinguishes itself from siblings by noting it adds no keys (unlike add_anim_float_curve) and that remove_anim_curve_name is the inverse.

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

Usage Guidelines5/5

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

Gives explicit routing: use add_anim_float_curve to put a keyed float curve on a UAnimSequence, and remove_anim_curve_name for the inverse. It also spells out idempotent behavior so the agent knows a re-run is safe, which is exactly the when-to-use context needed.

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