Skip to main content
Glama

Create text layer

create_text_layer

Creates a styled point text layer in After Effects, places it at the composition center or a specified position, and returns the layer, text summary, and bounds.

Instructions

Create a point text layer with optional style. By default the anchor point is moved to the text's visual center (centerAnchor) and the layer is placed at the comp center, so 'position' is where the middle of the text lands. Newlines in text become paragraph breaks. Returns the layer, a compact text summary and the text bounds (layer space).

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": {
      "text": "<text>"
    },
    "name": "create_text_layer"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
nameNoLayer name (default: the text).
textYesText content. '\n' = new paragraph.
styleNoText style. Only the fields you pass are changed.
positionNo[x, y] in comp pixels (default comp center).
centerAnchorNoMove anchor to the visual center of the text (default true). false = AE default (baseline).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false, so the description carries the real burden — and it does: it discloses the centerAnchor default that silently moves the anchor, the comp-center placement, what 'position' actually controls, how newlines are handled, and the shape of the return value. These are non-obvious side effects and outputs an agent could not infer from 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?

Four tight sentences with no filler: purpose first, then the behavioral defaults that most affect correctness, then newline handling, then return shape. Every sentence adds decision-relevant information and the most surprising behavior (anchor movement) is front-loaded.

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 a six-parameter tool with a large nested style object, the description is complete: the style object is fully documented in-schema, the positional default is explained, and the absence of an output schema is offset by an explicit statement of what is returned (layer, summary, bounds).

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, which sets a baseline of 3, but the description earns more by clarifying the two most error-prone parameters: 'position' is where the middle of the text lands (not the baseline), and centerAnchor defaults to true and relocates the anchor. That meaning is not conveyed by the schema descriptions alone.

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 opens with a specific verb+resource: 'Create a point text layer with optional style.' The qualifier 'point' implicitly separates it from paragraph-text creation, but it never names create_paragraph_text or states the boundary explicitly, so it falls short of full sibling differentiation.

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?

It gives useful context about defaults (anchor centered, layer at comp center) that helps an agent predict results, but there is no explicit when-to-use vs when-not guidance and no routing to alternatives such as create_paragraph_text or set_text_content for editing existing text.

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