Skip to main content
Glama

Create camera

create_camera

Add a camera to an After Effects composition with a preset focal length or pixel zoom, one- or two-node aiming, optional depth of field, and configurable aperture, position, and focus.

Instructions

Add a camera to a composition. Pick a lens by focal length (presets 15/20/24/28/35/50/80/135/200 mm, zoom computed from the comp width and 36 mm film) or give zoom in pixels. Default: 50 mm two-node camera at [w/2, h/2, -zoom] looking at the comp center (same framing as no camera). oneNode=true makes a one-node (free) camera that is aimed by Orientation/Rotation instead of a point of interest. Optional depth-of-field settings. Returns the camera with its options.

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

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
nameNoLayer name (default 'Camera').
zoomNoZoom in pixels (overrides preset).
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.
oneNodeNoOne-node camera (no point of interest). Default false = two-node.
apertureNoAperture in pixels.
positionNoCamera position [x,y,z] in comp pixels. Default [w/2, h/2, -zoom].
blurLevelNoBlur level % (default 100).
depthOfFieldNoEnable depth of field (focus distance defaults to the zoom distance).
focusDistanceNoFocus distance in pixels.
pointOfInterestNoPoint of interest [x,y,z] (two-node only). Default comp center [w/2, h/2, 0].

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 readOnlyHint=false, destructiveHint=false, and openWorldHint=false, so the mutation profile is covered. The description adds genuine context beyond that: the computed default position [w/2, h/2, -zoom], the equivalence to no-camera framing, that oneNode changes how aim is controlled, and that it returns the camera with its options. It does not mention failure cases for an invalid comp, but the added behavioral detail is substantial.

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?

Purpose is front-loaded in the first clause and every subsequent sentence carries operational detail about defaults or option behavior. Some content duplicates the input schema's parameter descriptions, which is minor waste, but nothing is padded or vague.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eleven-parameter creation tool with no output schema, the description covers default behavior, lens math, the oneNode branch, depth-of-field optionality, and the return shape ('returns the camera with its options'). An agent can call it correctly with all parameters omitted or with a chosen lens without consulting anything else.

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 eleven parameters thoroughly. The description largely restates schema content (preset list, zoom formula, oneNode semantics) rather than adding new meaning, which puts it at the baseline 3.

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 opening sentence states a specific verb and resource ('Add a camera to a composition'), and the rest specifies lens selection, one-node vs two-node, and defaults. It never names the closely related sibling create_camera_rig, so differentiation is left to inference, which keeps it off 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?

Usage is implied through the lens-preset explanation and the note that the default framing matches 'no camera', which tells an agent when the defaults suffice. There is no explicit when-to-use versus when-not guidance and no routing to create_camera_rig, orbit_camera, or set_camera_options, so guidance is adequate but incomplete.

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