Skip to main content
Glama

Create camera orbit rig

create_camera_rig

Builds a 3D null camera rig in After Effects by parenting a camera to a control null, enabling orbit, pan, and dolly moves around a chosen center point.

Instructions

Create a 3D null 'Camera Control' at the comp center (or 'center') and parent a camera to it, so rotating the null orbits the camera around that point, moving it pans and the camera's Z position dollies. Creates a new one-node camera at 'distance' (default = zoom) unless 'camera' names an existing camera. Returns both layers.

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

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
nameNoName of the new camera (default 'Rig Camera').
zoomNoZoom in pixels (overrides preset).
cameraNoExisting camera to rig. Omit to create a new one-node camera.
centerNoOrbit center [x,y,z] (default comp center, z=0).
presetNoLens focal length in mm (presets 15, 20, 24, 28, 35, 50, 80, 135, 200 or any number; '35mm' also works). Zoom = compWidth * mm / 36 (36 mm film). Default 50.
rigNameNoName of the control null (default 'Camera Control').
distanceNoCamera distance from the center in px (default = zoom).

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 declare this is a non-read-only, non-destructive, non-open-world operation. The description adds meaningful behavior beyond that: it creates two layers, parents the camera to the null, maps null transforms to orbit/pan/dolly, and returns both layers. It stops short of discussing undo or error behavior.

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?

The description is front-loaded across three tight sentences, each covering creation, transform behavior, camera choice, and return value. There is no filler, and the core behavior is clear immediately.

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 eight-parameter creation tool with annotations and no output schema, the description covers the core creation behavior, important default relationships, and the return value. It omits some edge details such as transform preservation when rigging an existing camera or layer ordering, but the rich schema covers parameter specifics.

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 all eight parameters are already documented. The description restates key relationships such as 'camera' naming an existing camera versus creating a new one, and 'distance' defaulting to zoom, but adds little beyond what the schema already explains.

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: it creates a 3D null, parents a camera to it, and produces orbit/pan/dolly behavior. It distinguishes the rig from standalone camera creation by noting it creates a new one-node camera only unless 'camera' names an existing camera, though it does not explicitly name siblings like create_camera or orbit_camera.

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?

Explains the two modes clearly enough to imply usage: omit 'camera' to create a new camera, or pass an existing camera to rig it. It does not say when to choose this over create_camera, orbit_camera, or point_camera_at, nor does it list exclusions.

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