Skip to main content
Glama

createCamera

Add 1-node or 2-node 3D camera layers to After Effects comps with focal presets, depth of field, aperture, and optional camera rig.

Instructions

Create a 1-node or 2-node 3D camera layer with focal presets, depth of field, aperture, and optional camera rig

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoCamera layer name (default: "Camera 1")
zoomNoCamera zoom value in pixels (overrides focalLength)
presetNoFocal length preset (e.g. "35mm", "50mm")
rigNameNoName of the camera controller null (default: "Camera Controller")
apertureNoAperture size in pixels (controls background blur amount)
compNameNoComposition name (defaults to active comp)
positionNo3D position [x, y, z]
blurLevelNoBlur level percentage (default: 100)
createRigNoAutomatically create a 3D Orbit Null rig parented to the camera
irisShapeNoIris bokeh shape
rotationXNoX rotation in degrees
rotationYNoY rotation in degrees
rotationZNoZ rotation in degrees
cameraTypeNoCamera type: "one-node" (free rotation without target point) or "two-node" (aims at Point of Interest, default)
centerPointNoInitial center point [x, y] (defaults to comp center)
focalLengthNoCustom focal length in mm
orientationNo3D orientation [x, y, z] in degrees
depthOfFieldNoEnable/disable Depth of Field blur
focusDistanceNoFocus distance in pixels (defaults to distance between camera and Point of Interest)
pointOfInterestNo3D Point of Interest [x, y, z] (for two-node camera)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does not mention side effects, permissions required, whether it modifies the active composition, or what it returns. It only restates features available via the 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?

A single, front-loaded sentence that efficiently names the action and resource before listing capabilities. Every word earns its place with no redundancy.

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?

Given 20 parameters, no annotations, and no output schema, the description is thin. It covers the core purpose but omits behavioral context such as target composition, side effects, and return value. The rich schema partially compensates for parameter details, leaving the description adequate but with clear gaps.

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 fully documents all 20 parameters. The description adds only a high-level summary of a few features (focal presets, depth of field, aperture, camera rig), providing no syntax or default details beyond what the schema already provides.

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 clearly states a specific verb ('Create') and resource ('1-node or 2-node 3D camera layer'), and lists key features. It distinguishes implicitly from siblings like setCameraProperties by being a creation tool, but does not explicitly name alternatives.

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

Usage Guidelines2/5

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

No explicit guidance on when to use this tool versus alternatives such as setCameraProperties or createCameraRig. The purpose implies usage but provides no when/when-not context or exclusions.

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