Skip to main content
Glama

Add text layer

ae_add_text_layer

Add a text layer to an After Effects composition. Specify text, font, size, color, and position to integrate typography into your project.

Instructions

Add a text layer to a composition.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
compNoComposition name or id. Omit to use the active composition.
fontNoPostScript font name, e.g. 'ArialMT'.
nameNoLayer name (defaults to the text).
textYesText content.
fontSizeNo
positionNo[x, y] in pixels. Defaults to comp center.
fillColorNoRGB color, each channel 0-1, e.g. [1, 0.5, 0].

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry the full behavioral burden. 'Add' implies a mutation to project state, but the description says nothing about whether the composition must exist, whether the layer is undoable, what happens on invalid font names, or what the call returns.

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?

A single front-loaded sentence with zero waste. It is efficient, though its brevity borders on under-specification rather than genuine conciseness.

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

Completeness2/5

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

This is a 7-parameter mutation tool with no annotations and no output schema, yet the description is one generic sentence. It omits mutation semantics, project/composition preconditions, and default behaviors the agent needs to invoke it confidently.

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 86%, so the schema already documents comp, font, name, text, position, and fillColor in detail. The description adds no parameter meaning beyond the schema, so the baseline 3 applies.

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 (add) and resource (text layer) applied to a composition. The 'text layer' resource naturally distinguishes it from siblings such as ae_add_solid_layer and ae_add_shape_layer, though it does not name those alternatives explicitly.

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?

There is no guidance on when to use this tool versus ae_add_solid_layer, ae_add_shape_layer, or ae_run_jsx for text creation. No prerequisites (e.g. requiring an open project or active composition) are mentioned.

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