Skip to main content
Glama

unity_animation

Author Animator-free animation clips: create .anim assets, add float curves, attach Animation components, and play in play mode.

Instructions

Author Animator-free animation clips: create a .anim asset, add float curves (position/scale/rotation), attach an Animation component to an object, and play it in play mode. (Unity editor offline right now: schemas are cached; calls will fail until it reconnects)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "unity_animation"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipNoAssets/Anim/Spin.anim
keysNo[[time,value],...]
loopNo
nameNo
pathNoGameObject path for attach/play/stop
actionNo
autoPlayNo
propertyNolocalPosition.x / localScale / rotation.y / m_LocalPosition.z
frameRateNo
targetPathNorelative path of the animated child inside the clip, empty for the root

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it leaves key traits unstated: whether an existing .anim at the clip path is overwritten, whether attach mutates the scene destructively, what play/stop do on exit from play mode, and whether the editor must be in a specific state. It does add real value by disclosing that the editor is offline and calls will fail until reconnection.

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?

Two sentences, front-loaded with the core capability and tightly packed with concrete nouns; the parenthetical outage note is short and genuinely useful. The dense comma list of operations is efficient, though it could have been structured per-action.

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

Completeness3/5

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

For a 10-parameter, zero-required, action-dispatched tool with no output schema and no annotations, the description covers the capability set but not the dispatch contract (which params belong to create_clip vs. add_curve vs. attach vs. play/stop). An agent can guess the intent but lacks enough to invoke reliably on first try.

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?

With 10 parameters and only 50% schema description coverage, the description partially compensates by tying clip to the .anim asset, keys to float curves, property to position/scale/rotation, and path to attach/play/stop. However it says nothing about name, loop, autoPlay, frameRate, or targetPath, and never explains which parameters apply to which action value.

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?

States a specific verb phrase ('Author Animator-free animation clips') and enumerates the concrete operations: create a .anim asset, add float curves, attach an Animation component, play in play mode. This maps cleanly onto the action enum and distinguishes it from playmode/scene siblings by resource, though it never names an alternative tool explicitly.

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?

Implies when to use it ('Animator-free' authoring) but gives no explicit when-not guidance or named alternatives such as unity_timeline or unity_playmode for authoring vs. playback control. The offline caveat is a useful operational prerequisite but is not usage routing.

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