Skip to main content
Glama

add_text

Add a text layer to an After Effects composition with optional font, font size, fill color, justification, and position settings.

Instructions

Add a text layer. Optional font/fontSize/fillColor/justification/position.

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

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
fontNo
nameNo
textNo
fontSizeNo
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.
positionNo
fillColorNo
justificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden and does very little with it. It never says whether the layer is created in the active comp or a targeted comp, whether the text content is required, what the default position or styling is, or what the call returns. For a mutation tool with zero annotation coverage this is a significant gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is short and front-loaded with the action, which is good. However, the second sentence is a bare parameter-name list that mostly duplicates the schema keys while adding no information, so it is terse-but-thin rather than genuinely efficient.

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?

With 9 parameters, no annotations, no output schema, and low schema description coverage, this description is far too sparse for the tool's complexity. An agent would have to open the schema and guess at defaults and comp targeting before it could invoke this reliably.

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

Parameters2/5

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

Schema coverage is only 22% across 9 parameters, so the description must compensate, and it does not. It recites five parameter names (font, fontSize, fillColor, justification, position) without adding format, units, defaults, or coordinate-space meaning, and it omits the most important ones entirely: text, comp, name, and instance.

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 states a specific verb and resource ("Add a text layer"), which is unambiguous about the operation. It stops short of differentiating itself from the many text-related siblings such as set_text, set_text_style, and add_text_animator, so the agent must infer that this is the creation path versus the modification paths.

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 explicit when-to-use or when-not-to-use guidance, and no alternative is named. A caller gets no signal about how this differs from set_text or add_text_animator when deciding how to get a text layer into a comp.

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