Skip to main content
Glama

set_animation_interpolation_mode

Bulk-edit keyframe interpolation modes in Godot scene/resource files, switching between linear, cubic, or constant easing for selected or all animation tracks.

Instructions

Interpolation Mode Swapper: Bulk-edit keyframe easing modes in a .tscn/.tres file. Flip between linear, smooth bezier (cubic), or constant (stepped/nearest).

Args: file_path: Absolute path to the .tscn or .tres file. mode: Interpolation mode -- 'nearest'/'constant' (0), 'linear' (1), 'cubic' (2), 'linear_angle' (3), 'cubic_angle' (4). track_index: If >= 0, only patch this track index. -1 means all tracks.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNolinear
file_pathYes
track_indexNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full burden of behavioral disclosure. It clearly implies in-place mutation of animation resource files, but it does not state whether the file is rewritten, whether the operation is reversible, what happens with invalid modes or track indices, or what the tool returns.

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?

The summary is front-loaded and the Args section is compact and well-organized. 'Interpolation Mode Swapper' is somewhat redundant with the tool name, but it does not waste meaningful space.

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?

All required input semantics are covered, and an output schema exists, so omitting return-value details is less critical. However, with no annotations, the description is incomplete around side effects, error behavior, and mutation guarantees, so it is only minimally complete for correct invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate, and it does. It explains all three parameters: file_path must be an absolute path, mode has named values with numeric aliases, and track_index uses -1 as a sentinel meaning 'all tracks'. This is substantially more informative than the bare input schema.

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 states a specific action ('Bulk-edit keyframe easing modes') and a specific resource ('.tscn/.tres file'), and enumerates the supported interpolation modes. It does not explicitly distinguish itself from sibling animation tools like quantize_animation_keyframes, but the focus on easing/interpolation modes is clear enough to identify the tool's purpose.

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

Usage Guidelines2/5

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

No guidance is given about when to use this tool versus alternatives, or when not to use it. The phrase 'Bulk-edit' implies a batch use case and file types are stated, but an agent is not told how to choose this over sibling animation-related tools.

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