Skip to main content
Glama

ae_expression_auto_fix

Fixes outdated name references in After Effects expressions using project.autoFixExpressions, helping expressions resolve correctly after layer or property renames.

Instructions

Perbaiki referensi nama di expression via project.autoFixExpressions

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": {
      "oldText": "<oldText>",
      "newText": "<newText>"
    },
    "name": "ae_expression_auto_fix"
  }
}

Input Schema

NameRequiredDescriptionDefault
newTextYes
oldTextYes

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?

With no annotations supplied, the description carries the full behavioral burden and falls short. It implies a mutation (via project.autoFixExpressions) but never says that expressions are rewritten in place, what scope is affected (active comp vs whole project), whether the change is undoable, or whether a preview/confirmation step exists.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single short sentence that front-loads the action, with no padding or redundant restatement. The terseness is a liability for completeness but not for structure.

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

Completeness3/5

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

A two-parameter tool with no output schema or annotations is comparatively simple, so the description need not explain return values. Still, it omits what the fix returns (count of fixes? success flag?) and the scope/persistence of the change, which an agent needs before invoking a mutating tool.

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 0% for the two required parameters oldText and newText, and the description only hints at a name-reference substitution without explicitly saying oldText is the stale name and newText the replacement. The mapping is inferable but not stated, so it does not compensate for the coverage gap.

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 description names a specific verb ("Perbaiki" = fix) and resource ("referensi nama di expression"), so the general intent is recoverable. However, it leans on an implementation identifier ("project.autoFixExpressions") instead of describing the outcome, and the mixed Indonesian/English phrasing leaves it only loosely distinguishable from siblings like ae_expression_set and ae_expression_scan_errors.

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 statement of when to call this tool versus ae_expression_set or ae_expression_scan_errors, and no prerequisites or exclusions. An agent must infer the use case entirely from the word "fix" and the method name.

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