Skip to main content
Glama

Create shapes from text

text_to_shapes
Destructive

Converts one After Effects text layer into editable shape layer(s) and returns them, with an option to delete the source text layer after conversion.

Instructions

Run AE's 'Create Shapes from Text' on one text layer: opens the comp in the viewer, selects only that layer and runs the menu command. Returns the new shape layer(s); the text layer is hidden (or deleted with deleteTextLayer).

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": {
      "layer": "<layer>"
    },
    "name": "text_to_shapes"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
nameNoName for the new shape layer.
layerYesText layer: 1-based index, name, or {id}.
deleteTextLayerNoDelete the source text layer afterwards (default false: AE just hides it).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already flag mutation and destructiveHint=true; the description adds genuinely new behavioral context beyond that — it opens the comp in the viewer, changes the selection to only that layer, drives a menu command, and returns the resulting shape layer(s). The disclosure that the source text layer is merely hidden by default and only deleted via deleteTextLayer is exactly the kind of side-effect detail an agent needs.

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?

Two sentences, zero waste, with the operation and its scope front-loaded and the outcome and side effect following. Nothing is repeated or padded.

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 four-parameter mutation with full annotation coverage and complete schema descriptions, the definition covers operation, UI side effects, return value, and source-layer fate. It stops short of saying what happens if the target layer is not a text layer, or whether the name parameter overrides the generated layer name, but nothing essential to calling it is missing.

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 coverage is 100%, so every parameter including comp resolution and layer index/name/{id} forms is already documented. The description's note about hiding versus deleting restates what the deleteTextLayer schema description already says, adding little beyond the baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — runs After Effects' 'Create Shapes from Text' on exactly one text layer — and names the observable outcome (new shape layer(s)). That distinguishes it from siblings like create_shape_from_svg or convert_mask_to_shape without needing their schemas.

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?

The constraint 'on one text layer' implicitly tells the agent what input this applies to, but there is no explicit when-to-use versus when-not framing and no named alternative for other text-to-shape or shape-conversion paths. Usage is inferable rather than stated.

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