Skip to main content
Glama

ae_shape_set_path

Sets vertices, in/out tangents, and closed state on an After Effects Shape or Mask Path property to define or edit vector paths.

Instructions

Tetapkan objek Shape (vertices, tangents, closed) pada Shape/Mask Path

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>",
      "vertices": "<vertices>"
    },
    "name": "ae_shape_set_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
closedNo
compIdNoID numerik CompItem (opsional jika comp aktif)
compNameNoNama CompItem (opsional)
verticesYes
inTangentsNo
layerIndexYes
outTangentsNo
timeSecondsNo
propertyPathYesPath segmen properti (matchName, nama, atau indeks 1-based)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.0.0

TDQS

C2.8/5.0
Behavior2/5

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

With no annotations at all, the description carries the full burden and leaves key behavior undisclosed: whether existing vertices are replaced wholesale, whether tangents are optional, what happens if array lengths mismatch, and whether an undoable edit is created. It only implies mutation via the verb and the listed fields.

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?

A single short sentence with no filler, but it is terse to the point of under-specification; the parenthetical field list is the only structure and the sentence does not front-load any precondition or target-resolution detail.

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 9-parameter mutation tool with no annotations, no output schema, and only a third of parameters documented, this is not enough. An agent lacks the information needed to call it correctly, particularly around how the shape data replaces existing path state.

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 low (33%), so the description should compensate, and it partially does by naming three of the nine parameters (vertices, tangents, closed). However it says nothing about layerIndex, timeSeconds, or the expected coordinate format/ordering, leaving several undocumented parameters unexplained in both places.

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 ('Tetapkan' / set) and resource ('objek Shape' with vertices, tangents, closed) targeting a 'Shape/Mask Path'. An agent can tell it writes path geometry, though it doesn't differentiate itself from siblings like ae_shape_add_element or ae_property_set_spatial_tangents, which also touch shape/tangent data.

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 guidance, no preconditions, and no named alternatives. It does not say whether the target Shape/Mask Path must already exist, nor how this differs from creating a shape element.

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