Skip to main content
Glama

animation_track

Destructive

Manage Godot animation tracks and keyframes: add or remove tracks, insert or update keyframes, and set curve handles. Runtime operations affect only the current execution context.

Instructions

动画轨道与关键帧操作。轨道: add_track, remove_track。关键帧: add_keyframe, remove_keyframe, update_keyframe。曲线: set_curve。运行时操作,仅影响当前执行上下文。如需持久化,请编辑 .tscn 文件。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeNo关键帧时间(秒)(add_keyframe 时必填)
valueNo关键帧值(add_keyframe/update_keyframe)
actionYes操作类型
in_handleNo入控制柄坐标(set_curve)
insert_atNo轨道插入位置,-1 为末尾(add_track 时可选)
node_pathNoAnimationPlayer 节点路径
out_handleNo出控制柄坐标(set_curve)
track_pathNo轨道路径,如 "Sprite2D:frame"(add_track 时可选)
track_typeNo轨道类型(add_track 时必填)
transitionNo过渡曲线,1.0=线性
track_indexNo轨道索引
project_pathNoGodot 项目目录路径(可选,默认使用 GODOT_PROJECT_PATH 环境变量或当前目录)
animation_nameNo动画名称
keyframe_indexNo关键帧索引(remove_keyframe/update_keyframe/set_curve 时必填)
load_autoloadsNo是否加载 Autoload 上下文(默认 true)
Behavior4/5

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

Annotations already declare destructiveHint and readOnlyHint=false, so the destructive nature is known. The description adds value by revealing that operations only affect the current execution context and are not persisted, which is beyond annotations. No contradiction.

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 three sentences, efficiently front-loaded with the main purpose, then categorically listing operations, and ending with a critical boundary note. Every sentence earns its place; no filler.

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 tool with 15 parameters and no output schema, the description gives a high-level map of operations and the essential runtime-vs-persistence distinction. It does not cover return values or error handling, but these are not required given the rich schema and annotations, so it's adequately complete.

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?

The input schema provides comprehensive descriptions for all 15 parameters, including enums and conditional requirements. The description adds no extra param-level semantics, so it scores baseline 3 for a fully schema-covered tool.

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?

The description clearly states the tool handles animation tracks and keyframes, enumerating all action categories (track, keyframe, curve). It distinguishes itself from persistent file editing by noting runtime-only scope, making its purpose unambiguous.

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?

The sentence '运行时操作,仅影响当前执行上下文。如需持久化,请编辑 .tscn 文件' explicitly tells when to use the tool (runtime) and when not (for persistence), naming the alternative (editing .tscn). This is clear usage guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/wgt19861219/godot-mcp-enhanced'

If you have feedback or need assistance with the MCP directory API, please join our Discord server