Skip to main content
Glama

Animate camera orbit

orbit_camera

Keyframe a camera orbit around a rig null by animating rotation over a set duration, angle, and axis, creating the rig and camera automatically when none exist.

Instructions

Animate a camera orbit by keyframing the rig null's rotation: 'degrees' (default 360) over 'duration' (default to comp end) from 'startTime' (default 0) around axis 'y' (default), 'x' or 'z'. Uses the camera's parent null if it has one, otherwise builds a rig (create_camera_rig) around the camera's point of interest; with no camera in the comp it creates rig + camera.

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

Input Schema

NameRequiredDescriptionDefault
rigNoRig null (or camera) to animate.
axisNoRotation axis of the null (default 'y' = horizontal orbit).
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
easeNoKeyframe easing (default linear).
loopNoAdd loopOut('offset') so the orbit continues forever.
cameraNoCamera to orbit (default: first camera in the comp, or a new one).
centerNoOrbit center when a rig has to be created.
degreesNoOrbit angle in degrees (default 360; negative = other direction).
distanceNoCamera distance when a new camera has to be created.
durationNoOrbit duration (seconds, '90f'...). Default: until the comp end.
startTimeNoStart time (default 0).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, openWorldHint=false; the description adds real behavioral detail beyond that — it mutates the rig null's rotation, may create a rig and even a camera as side effects, and defaults duration to the comp end. What is not disclosed is the return value or whether existing keyframes are overwritten, which would matter for a mutation tool.

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?

One dense, front-loaded sentence set with zero filler — the primary action and defaults come first, then the rig/camera fallback logic. It is slightly clause-heavy and could be split for scanning, but no sentence is wasted.

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?

With 11 all-optional parameters, no output schema, and partial annotations, the description covers the key behaviors an agent needs: defaults, axis choice, rig resolution, and comp fallback. Only minor gaps remain, such as whether it returns the created rig or camera and how it behaves on an already-animated null.

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 including axis enum, ease, loop, center, distance, and duration formats. The description largely restates those defaults (degrees 360, duration to comp end, startTime 0, axis 'y') rather than adding new meaning, so baseline 3 applies.

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 and effect ('Animate a camera orbit by keyframing the rig null's rotation') plus the exact degrees/duration/startTime/axis semantics. It also distinguishes itself from siblings by naming create_camera_rig as the rig-building step and point-of-interest behavior, so an agent can tell what this tool does that rig/camera tools do not.

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?

Gives clear preconditions and fallbacks: uses the camera's parent null if present, otherwise builds a rig via create_camera_rig, and creates rig + camera when the comp has none. It does not explicitly say when to prefer point_camera_at or create_camera instead, but the branching logic makes the selection context inferable.

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