Skip to main content
Glama

Remove all keyframes of a parameter

clear_keyframes
Destructive

Remove all keyframes from an effect parameter and turn its animation off, leaving the static value it held before animating. Use it to reset animated parameters on Premiere Pro clips.

Instructions

Remove every keyframe of an effect parameter and turn its animation off (unless keep_time_varying is true). The parameter then holds the static value it had before it was animated, not the value of a keyframe: set it with set_effect_parameter if needed. Returns removed_count, time_varying and the resulting static value.

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": "clear_keyframes"
  }
}

Input Schema

NameRequiredDescriptionDefault
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
clip_indexNo0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id.
param_nameNoParameter display name, case-insensitive, e.g. "Blurriness". The first match is used. Ignored when param_index is given.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
effect_nameNoEffect display name or match name, case-insensitive, e.g. "Gaussian Blur" or "Motion". The first match is used. Ignored when effect_index is given.
param_indexNo0-based parameter index (from get_effect_parameters). Required for parameters with an empty display name.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
effect_indexNo0-based index of the effect in the clip's effect list (from list_clip_effects). Use it when the clip has two effects with the same name.
sequence_nameNoSequence name; used only when sequence_id is not given.
keep_time_varyingNoLeave the stopwatch on after removing the keyframes. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover destructiveness, but the description adds substantive semantics: the parameter reverts to its pre-animation static value rather than a keyframe value, the stopwatch is turned off unless keep_time_varying is true, and it names the returned fields (removed_count, time_varying, resulting static value) despite no output schema existing.

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?

Three short sentences, front-loaded with the action and scope, then the post-condition, then the return values. No filler or redundancy.

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 an 11-parameter destructive mutation with no output schema, the description covers the key behavioral question (what state the parameter ends in) and the return payload. Addressable gaps are minor, such as prerequisites or error behavior when a parameter has no keyframes.

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 documents all 11 parameters thoroughly. The description only re-explains keep_time_varying's effect in outcome terms, which is a mild addition over the schema's 'leave the stopwatch on' wording; baseline 3 applies.

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 and resource ('Remove every keyframe of an effect parameter') and clarifies the resulting state (animation off, static value retained). It does not name the closely related sibling remove_keyframes_in_range, so an agent must infer the difference between clearing a whole parameter and clearing a range.

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?

Usage is implied by 'every keyframe' and the parenthetical about keep_time_varying, and it helpfully points to set_effect_parameter for setting the new static value. There is no explicit statement of when to prefer this over remove_keyframes_in_range or clear_volume_keyframes.

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