Skip to main content
Glama

Link properties (pick-whip)

link_properties

Makes an After Effects property follow another layer's property with a pick-whip expression, supporting cross-comp sources, multipliers, offsets, and dimension selection.

Instructions

Make the target property follow a source property with a pick-whip style expression (thisComp.layer("X").transform.position, .effect("Glow")(...), ...), optionally from another comp, times a multiplier plus an offset. 1D sources feeding a multi-dimensional target fill every dimension; pick one source component with sourceDimension.

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": {
      "layer": "<layer>",
      "property": "<property>",
      "sourceLayer": "<sourceLayer>"
    },
    "name": "link_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
layerYesLayer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer.
offsetNo
propertyYesProperty path, '/'-separated, by display name, matchName or 1-based index. Shortcuts: 'Position', 'Scale', 'Rotation', 'Opacity', 'Anchor Point', 'Source Text', 'Time Remap', 'Audio Levels'. Examples: 'Transform/Position', 'Effects/Gaussian Blur/Blurriness', 'Contents/Rectangle 1/Fill 1/Color', 'Masks/Mask 1/Mask Feather'.
multiplierNo
sourceCompNoComp of the source layer (default: same comp).
sourceLayerYesLayer to follow.
sourcePropertyNoSource property path (default: same as 'property').
sourceDimensionNoUse only this component of the source (0 = x).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already mark this as a non-read-only, non-destructive mutation. Beyond that, the description discloses the expression-based mechanism, optional cross-comp source, multiplier/offset scaling, and 1D source dimension-filling behavior. It omits whether an existing expression or keyframes on the target are overwritten.

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?

The description is front-loaded with the core action and remains a compact paragraph. The embedded expression examples are useful but make the prose dense; it still avoids redundant restatement of schema details.

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?

With nine parameters, no output schema, and annotations covering safety, the description covers the main invocation behavior including cross-comp use and dimensional matching. It leaves out side effects on existing target expressions/keyframes and error or return behavior, which would help an agent call it with confidence.

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

Parameters4/5

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

The schema documents most parameters, and the description adds the semantic role of multiplier and offset ('times a multiplier plus an offset') plus sourceDimension's 1D fill behavior. It does not elaborate on the formats of multiplier/offset or the interaction between sourceProperty and property beyond the schema's default note.

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?

The description states a specific action—making a target property follow a source property via a pick-whip expression—and names the resources involved (target property, source layer/property, optional comp). It is clearly distinguishable from generic animation tools, though it does not explicitly compare itself to siblings such as animate_property.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives implied guidance for linking within a comp or across comps and for handling 1D-to-multidimensional cases. It does not state when to prefer this over keyframing tools like animate_property or add_keyframes, or whether existing target animation is replaced.

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