Skip to main content
Glama

ae_expression_set

Write or modify an After Effects expression on a specific layer property by supplying the composition, layer index, property path, and expression text.

Instructions

Tulis atau ubah expression pada properti

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>",
      "propertyPath": "<propertyPath>",
      "expression": "<expression>"
    },
    "name": "ae_expression_set"
  }
}

Input Schema

NameRequiredDescriptionDefault
compIdNoID numerik CompItem (opsional jika comp aktif)
enabledNo
compNameNoNama CompItem (opsional)
expressionYes
layerIndexYes
propertyPathYesPath segmen properti (matchName, nama, atau indeks 1-based)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2/5.0
Behavior1/5

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

No annotations are supplied, so this description carries the full behavioral burden and fails to do so. It does not say that an existing expression is overwritten (destructive), what happens when the property has no expression, whether errors are returned for invalid property paths, or what the response contains; 'tulis atau ubah' implies mutation but nothing more is disclosed.

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 description is a single short sentence with no wasted words and no front-loading problem, but its brevity comes from under-specification rather than discipline. There is no structure to speak of, just one clause.

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?

For a 6-parameter mutation tool with no annotations and no output schema, the description is far too thin: it does not explain comp resolution precedence, the property path format, or the effect of the enabled flag. An agent could not call this correctly without reading the schema and guessing at behavior.

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

Parameters1/5

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

With only 50% schema description coverage across 6 parameters, the description must compensate and instead adds nothing: compId, compName, layerIndex, expression, and enabled are never explained, and the 1-based propertyPath convention and its matchName/name/index segments go unclarified in the description as well. Even the required-vs-optional distinction is left entirely to the schema.

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

Purpose3/5

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

The Indonesian phrase 'Tulis atau ubah expression pada properti' gives a verb (write/modify) and a resource (expression on a property), enough to distinguish it from getters like ae_expression_get or ae_expression_scan_errors. However, it is a single generic phrase that never names the required targets (comp, layer, property path), so the agent must read the schema to understand what is being written to.

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 when-to-use guidance at all: no statement of prerequisites (e.g. that a comp or active composition must exist), no note on when to use this versus ae_expression_get before overwriting, and no mention of related tools like ae_expression_auto_fix. The only implied usage is the bare verb 'tulis atau ubah'.

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