Skip to main content
Glama

Create paragraph (box) text

create_paragraph_text

Creates a paragraph text layer that wraps text inside a centered box of specified width and height, supporting style options, alignment settings, and optional custom positioning.

Instructions

Create a paragraph text layer: text wraps inside a box of boxSize [w, h]. The box is centered on the layer origin, so 'position' (default comp center) is the box center. Same style fields as create_text_layer.

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>",
      "boxSize": "<boxSize>"
    },
    "name": "create_paragraph_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
nameNoLayer name.
textYesText content. '\n' = new paragraph.
styleNoText style. Only the fields you pass are changed.
boxSizeYes[width, height] of the text box in px.
positionNo[x, y] of the box center in comp pixels (default comp center).
verticalAlignmentNoVertical alignment inside the box (AE 24.6+).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-destructive creation tool (readOnlyHint=false, destructiveHint=false), so the bar is lower, and the description adds genuinely useful behavior: the box is centered on the layer origin, so 'position' is the box center rather than a corner, and it defaults to the comp center. It does not describe the return value or any Auto-version constraints (e.g., verticalAlignment requiring AE 24.6+), which remain gaps.

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?

Three short sentences with the defining behavior (wrapping box) front-loaded, followed by the non-obvious coordinate semantics and a cross-reference to the sibling. No filler or restatement of the tool name.

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

Completeness4/5

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

For a 7-parameter creation tool with a large nested style object fully documented in the schema, the description covers the distinctive semantics (wrapping, box centering, position default) and the style-object dependency. Missing only return-shape information, which is a modest gap given there is no output schema.

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%, so the baseline would be 3, but the description adds meaning the schema does not spell out: boxSize drives text wrapping and the box is centered on the layer origin, which disambiguates coordinate interpretation for 'position'. It defers style-field detail to create_text_layer rather than duplicating it, which is appropriate given the large nested style object.

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 and resource ('Create a paragraph text layer') and immediately explains the defining trait versus point text: text wraps inside a box of boxSize [w, h]. It also points at the sibling create_text_layer for shared style fields, which helps an agent differentiate the two creation tools, though it never explicitly frames the point-text alternative.

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 rather than stated: 'text wraps inside a box' signals this is the box-text variant versus a point text layer, and the mention of create_text_layer implies a sibling relationship. There is no explicit when-to-use/when-not-to-use guidance and no stated prerequisites (e.g., an open composition).

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