Skip to main content
Glama

set_keyframe_interpolation

DestructiveIdempotent

Modify an existing keyframe's interpolation, tangent mode, and tangent values on a master float track channel in a Level Sequence, with optional channel and frame selection.

Instructions

Set the interpolation mode, tangent mode and tangents of an existing keyframe on a master float track's channel (asset-level, headless).

Returns: { sequence_name: string, track_class: string, frame: int, key_found: bool, channel_index: int, interp_mode: string, tangent_mode: string, arrive_tangent: number, leave_tangent: number, saved: bool, save_error?: string }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
frameYesFrame number of the existing key to modify
interp_modeNoOptional interpolation: "Cubic" | "Linear" | "Constant" (default leaves unchanged)
track_classYesClass-name fragment of the master track whose float channel to edit (e.g. "Slomo", "Fade")
tangent_modeNoOptional tangent mode (Cubic only): "Auto" | "User" | "Break" (default leaves unchanged)
channel_indexNoOptional float-channel index on the section (default 0)
leave_tangentNoOptional leave tangent value (Cubic)
sequence_nameYesName of the target Level Sequence
arrive_tangentNoOptional arrive tangent value (Cubic)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

A3.5/5.0
Behavior4/5

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

Annotations declare destructiveHint=true and idempotentHint=true, so the safety profile is partly covered. The description adds real context beyond them: 'asset-level, headless' distinguishes it from editor/PIE variants, and embedding the return shape (key_found, saved, save_error) discloses that the edit is persisted and can silently miss an existing key. It does not spell out what existing tangent/interp values get overwritten, which is the main destructive behavior an agent would want confirmed.

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 purpose sentence is front-loaded and wastes nothing, and the parenthetical scoping qualifier earns its place. The trailing Returns block enumerates eleven fields, which is mildly verbose for prose but justified because no output schema is present to carry that information.

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?

Given no output schema exists, the description compensates by inlining the full return shape, and it covers purpose, scope and precondition. It stops short of explaining failure handling when the key is absent (only key_found/save_error fields hint at it) or whether the target sequence must be loaded first.

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 every parameter is already documented in the schema, and the description only restates the three things being set (interp mode, tangent mode, tangents). Per the baseline rule for high coverage, a 3 is appropriate with no added syntax or format detail.

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 gives a specific verb+resource: set interpolation mode, tangent mode and tangents on an existing keyframe, scoped precisely to a 'master float track's channel (asset-level, headless)'. That scope wording implicitly separates it from binding-channel and runtime interp siblings, but it never names an alternative tool, so an agent must infer the boundary rather than being told.

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?

There is no when-to-use, when-not-to-use, or alternative-tool guidance. The only implied precondition is 'an existing keyframe', which hints the key must already exist but is not stated as a rule. In a toolset with set_binding_channel_keyframe_interp, set_transform_track_interp_mode and set_anim_curve_interp_mode nearby, this omission leaves selection ambiguous.

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