Skip to main content
Glama

ae_layer_update_switches

Update an After Effects layer's switches, timing, blending, 3D, quality, and other properties by layer index and patch object, optionally targeting a specific composition.

Instructions

Ubah switch, timing, blendingMode, 3D, quality, dan properti layer

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>",
      "patch": "<patch>"
    },
    "name": "ae_layer_update_switches"
  }
}

Input Schema

NameRequiredDescriptionDefault
patchYes
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.5/5.0
Behavior2/5

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

With no annotations provided, the description carries the full behavioral burden and does not meet it: it never states that this is a mutating operation, whether changes are reversible, that the patch is applied partially or wholly, or what happens if compId/compName are omitted. Only the word 'Ubah' hints at mutation.

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?

It is a single terse sentence with no wasted words, but the brevity comes at the cost of substance rather than from tight editing; the enumeration is not front-loaded around any when/when-not framing.

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 an unannotated mutation tool with a free-form nested patch object, no output schema, and half the parameters undocumented, the definition leaves too much unspecified. An agent cannot safely determine valid patch keys, comp resolution behavior, or success/failure semantics.

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 50%, and the description partially compensates by enumerating the property families that belong in the free-form 'patch' object, which the schema leaves as additionalProperties with no keys documented. It says nothing about layerIndex or the compId/compName resolution rule, so the compensation is incomplete.

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 verb 'Ubah' (change) and the resource (layer switches/properties) are stated, and the enumerated fields (switch, timing, blendingMode, 3D, quality) give a partial sense of scope. However 'dan properti layer' is a vague catch-all, and nothing distinguishes this from siblings like ae_layer_set_transform or ae_layer_geometry_and_scene, which also mutate layer state.

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, no mention of prerequisites (an active comp or a valid layerIndex), and no routing away from overlapping siblings such as ae_layer_set_transform. The agent must infer all selection criteria from the name alone.

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