Skip to main content
Glama

ae_text_set_range_style

Applies character styling to a specified text range in After Effects 24.x via TextDocument.characterRange, enabling targeted per-range formatting without changing the whole text layer.

Instructions

Atur gaya per-rentang karakter via TextDocument.characterRange (AE 24.x)

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": {
      "layerIndex": "<layerIndex>",
      "start": "<start>",
      "end": "<end>",
      "style": "<style>"
    },
    "name": "ae_text_set_range_style"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYes
startYes
styleYes
compIdNoID numerik CompItem (opsional jika comp aktif)
compNameNoNama CompItem (opsional)
layerIndexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.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 disclosure burden for a mutation tool, but it never says whether styling replaces or merges with existing character styles in the range, what happens at out-of-bounds indices, or what is returned. The one genuine addition is the AE 24.x version requirement, which is useful but far short of what an unannotated mutation needs.

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?

One short front-loaded sentence with no wasted words, but terseness here is under-specification rather than economy; the single sentence cannot carry six parameters and a nested style payload.

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 six parameters, an unconstrained nested style object, no annotations, and no output schema, the definition does not give an agent enough to call the tool correctly. The absent style-object contract alone makes the definition incomplete relative to the tool's complexity.

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 description coverage is only 33% (compId and compName only), and the description adds nothing about the four required parameters. start/end character-offset semantics, layerIndex meaning, and above all the free-form 'style' object (additionalProperties with no shape) are left completely undocumented in both description and schema, which is a serious gap for a nested-object tool.

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 (Atur/set) plus a resource (gaya/style) plus scope (per-rentang karakter via TextDocument.characterRange), which distinguishes it in kind from a whole-document style setter. It does not name ae_text_set_document as the sibling alternative, so differentiation is implied rather than explicit.

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?

No when-to-use or when-not guidance; nothing tells the agent to pick this over ae_text_set_document or ae_text_add_animator. The only scope hint is the phrase 'per-rentang karakter', which the agent must infer as the selection criterion.

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