Skip to main content
Glama

batch-keyframes

Set keyframes on multiple After Effects layer properties in a single round-trip, with per-track keys, easing, and optional clearing to reduce repetitive scripting.

Instructions

Set keyframes on many layer properties in ONE After Effects round-trip. tracks: [{layer, property, keys:[...same as set-keyframes...], clear?}]

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": {
      "comp": "<comp>",
      "tracks": "<tracks>"
    },
    "name": "batch-keyframes"
  }
}

Input Schema

NameRequiredDescriptionDefault
compYes
tracksYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.0

TDQS

A3.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden for a write operation. It says nothing about permissions, undo behavior, whether existing keyframes at the same times are replaced, whether the batch is atomic on partial failure, or what the call returns — the only behavioral hint is the optional clear flag named in the tracks shape.

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 short clauses with the batching benefit front-loaded and the payload shape immediately after. Nothing is padded and no sentence is wasted.

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 batch mutation with no annotations and no output schema, the definition covers what to send but not what happens on execution — partial failure semantics, return value, and the comp parameter are all unaddressed. Adequate to attempt a call, incomplete for calling it safely.

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?

Top-level schema description coverage is 0%, but the description compensates for the complex parameter by spelling out the tracks element shape (layer, property, keys, clear) and delegating key semantics to set-keyframes, which is genuinely useful for a nested array of objects. The required comp parameter is left unexplained, which is the remaining gap.

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?

States a specific verb ("Set keyframes") and a specific resource ("many layer properties"), and the phrase "in ONE After Effects round-trip" distinguishes it from the per-property sibling set-keyframes. An agent can tell what it does and why it exists without opening the schema.

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

Usage Guidelines4/5

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

The batch/one-round-trip framing implies the selection rule (use this rather than repeated set-keyframes calls when touching many properties), and the reference to "same as set-keyframes" points at the sibling for key format. It stops short of an explicit "use X instead when..." exclusion, so it is clear context rather than full routing guidance.

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