Skip to main content
Glama

Keyframes

add_keyframes

Animate properties on multiple clips by setting keyframes at clip-relative or sequence times, with interpolation and offset options for each animation.

Instructions

Animate properties on many clips; key times are seconds from each clip's start (or 'end', or sequence time with time_base). E.g. a 100->106 zoom: {clips:{tracks:['V1']}, animations:[{property:'Scale', keys:[{t:0,v:100},{t:'end',v:106}]}]}

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "clips": "<clips>",
      "animations": "<animations>"
    },
    "name": "add_keyframes"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipsYesid, [ids] or {tracks,name_regex,kind,selected,at,start_min,start_max,every_nth,offset,limit}
projectNo
sequenceNoSequence id/name (default: active)
animationsYes
expected_project_pathNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.5.3

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and openWorldHint=false, so the description's main added value is the time-base semantics ('seconds from each clip's start', 'end', or sequence time). It does not disclose what happens to existing keyframes by default (the schema's replace flag suggests clearing is opt-in) or what the call returns, which matters for a mutation tool with no output schema.

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?

Two sentences, front-loaded with the core capability, followed by a compact exemplar payload. Nothing is redundant and the example earns its space by resolving structural ambiguity.

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?

For a 5-parameter mutation tool with no output schema, the definition covers the animation payload well but says nothing about return value, error conditions, or the project/sequence scoping parameters. Adequate to invoke, incomplete for an agent that needs to verify or chain the call.

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

Parameters4/5

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

Schema coverage is only 40%, so the description carries real weight: it explains key-time reference frames and shows how the clips selector, animations array, property name, and t/v key pairs fit together in a concrete payload. It still leaves project, sequence, expected_project_path, and the effect/unit fields unaddressed in prose.

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 opens with a concrete verb+resource: 'Animate properties on many clips', which tells the agent this is a bulk keyframe-write operation. It implicitly separates itself from remove_keyframes, but never names a sibling explicitly, so differentiation is only partial.

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 context is only implied through a worked example of a scale zoom over one track; there is no explicit statement of when to use this versus apply_effects, remove_keyframes, or adjustment_layer. An agent can infer 'I need keyframes on clip properties' but must guess the boundaries.

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