Skip to main content
Glama
vino3dx
by vino3dx

anim_set_keys

Destructive

Write multiple keyframes for a property in one call by passing a list of frame-value pairs, so a full walk cycle can be set without repeated single-key calls.

Instructions

一次性为某个属性写入多个关键帧:keys 是 [{frame, value}] 列表。一个完整的行走循环用一次调用即可完成,比反复调 anim_set_key 高效得多。 [English] Write many keyframes for one property in a single call: keys is a list of {frame, value}. A whole walk cycle is one call, far cheaper than repeated anim_set_key invocations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keysYes关键帧列表,每项 {frame, value}。 | Keyframe list, each item {frame, value}.
objectsNo对象名列表;省略则用当前选择。 | Object names; omit for the current selection.
propertyYes属性名:position / rotation / scale,或任意命名属性。 | Property name: position / rotation / scale, or any named property.
relativeNotrue=在每个帧的当前值上叠加。 | true=add on top of the value at each frame.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, covering the mutation/destructive profile. The description adds efficiency context but does not disclose what happens to existing keyframes on the property, such as whether they are overwritten, merged, or appended.

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?

Bilingual but compact: each version is two sentences with no filler. It front-loads the verb, resource, and key-list format, then adds a concrete walk-cycle usage example that strengthens the purpose without bloating the text.

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?

With 100% schema coverage and annotations carrying the destructive read/write profile, the description is nearly complete for invocation. The main missing context is an explicit statement of overwrite/replacement semantics for existing keyframes, which destructiveHint only hints at.

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 the schema already fully documents all parameters. The description repeats the keys format ({frame, value}) but adds no new meaning about frame encoding, value types, objects selection, or the relative flag.

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 many keyframes for one property in a single call.' It explicitly contrasts with the singular sibling anim_set_key, so an agent can immediately distinguish the bulk operation from the per-key version.

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?

Provides clear when-to-use guidance by naming whole walk cycles as the ideal case and pointing out that it is cheaper than repeated anim_set_key calls. It does not explicitly state the inverse case—use anim_set_key for a single keyframe—but the context strongly implies it.

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