Skip to main content
Glama

set_text_style

Update font, size, fill/stroke, spacing, caps, and justification on an existing After Effects text layer.

Instructions

Update text styling on an existing text layer. Any subset of font, fontSize, fillColor, strokeColor, strokeWidth, tracking, leading, applyFill, applyStroke, fauxBold, fauxItalic, allCaps, smallCaps, justification.

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

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
fontNo
layerYesLayer: name (string), 1-based index (integer), or { id: N } for duplicate-name-safe stable-id addressing.
allCapsNo
leadingNo
fauxBoldNo
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.
trackingNo
applyFillNo
fillColorNo
smallCapsNo
fauxItalicNo
applyStrokeNo
strokeColorNo
strokeWidthNo
justificationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.8/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. 'Any subset of ...' usefully communicates partial-update semantics, but nothing is said about required permissions, whether styling applies to the whole layer or only selected ranges, how applyFill/applyStroke interact with fillColor/strokeColor, what happens if a parameter is invalid, or what the call returns. For a 17-parameter mutation tool with zero annotation coverage, this is thin.

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 purpose sentence is front-loaded and efficient. The trailing comma-separated list of 13 field names is a bulk dump that largely repeats the schema and reads awkwardly, though it is short overall and not padded with filler.

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 17 parameters, 18% schema coverage, no annotations, and no output schema, the definition should explain units, value conventions, and interaction between the apply* flags and the color fields. Instead it supplies only a one-line purpose and a name list, leaving the agent to guess at most parameter behavior.

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 only 18%, so the description should compensate, and it does so only by enumerating parameter names that already appear in the schema. It adds no units or formats for tracking, leading, strokeWidth, or fontSize, and no value range or color-space guidance for fillColor/strokeColor (3-element numeric arrays). The enumeration confirms which fields are updatable as a group but conveys no semantics beyond the schema keys.

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: 'Update text styling on an existing text layer.' An agent can distinguish this from set_text (content) or set_shape_style (shape properties) by the resource named. It stops short of explicitly differentiating itself from those siblings, so it is clear but not fully disambiguating.

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 versus set_text, set_text_animator, or set_shape_style, and no stated prerequisites such as the target layer needing to be a text layer or already containing source text. The only contextual hint is 'existing text layer', which is a precondition but not a use-case rule.

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