Skip to main content
Glama

Move a shot's camera

move_camera

Animate an After Effects shot camera by keyframing its controller from a start frame with direction/distance or an explicit delta; holds between moves are automatic.

Instructions

Keyframes the shot's controller: a move starting at frame at. Holds are automatic between moves.

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>",
      "shot": "<shot>",
      "at": "<at>"
    },
    "name": "move_camera"
  }
}

Input Schema

NameRequiredDescriptionDefault
atYes
byNoExplicit controller delta [x,y,z] instead of dir/dist
dirNoCamera direction: down/up = crane, left/right = truck, in/out = push in / pull out
compYes
distNoPixels. Defaults come from the profile (cameraMoves.typicalDistancePx)
easeNoglide = 40f 85/85 (default), glideStrong = 40f 100/100, punch = 20f linear->100
shotYes
framesNoMove length (glide 40, punch 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose one non-obvious trait: holds are generated automatically between moves. It omits other important behavior for a mutation tool, such as what happens to existing keyframes at the target frame, required permissions, whether the shot must already exist in the comp, and what the response contains. Partial disclosure only.

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 sentences with no filler, and the core action and anchor frame are front-loaded. Every clause carries information an agent could not get from the name or title.

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 an eight-parameter mutation tool with no annotations and no output schema, the description is minimal but functional, and the "holds are automatic" note is genuinely useful emergent behavior. It still leaves prerequisites, conflict behavior, and error conditions unaddressed, so it is adequate rather than complete.

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 63%, so most semantics come from the schema, which already documents `dir`, `dist`, `by`, `ease`, and `frames`. The description adds mild meaning by clarifying that `at` is the starting frame of the move and by linking the automatic hold to successive moves. It says nothing about `comp` or `shot`, which are undocumented in the schema as well.

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 uses a specific verb and object: it "keyframes the shot's controller" with "a move starting at frame `at`", which tells an agent exactly what state change occurs. It is clearer than the title alone because it names the keyframe target and the anchor frame. It does not explicitly differentiate itself from siblings like `animate_layer` or `place_scene`, so it falls short of a 5.

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?

There is no explicit when-to-use or when-not clause and no named alternative. However, "Holds are automatic between moves" implies the intended pattern of repeated calls to chain moves, which is implied usage guidance rather than none at all. It is adequate but requires inference.

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