Skip to main content
Glama

describe_layer

Inspect one After Effects layer's type, transform, keyframes, effects, and markers before a targeted edit, avoiding a full composition deep map.

Instructions

Full snapshot of ONE layer: type, enabled/3D, in/out/startTime/stretch, blend mode, track matte, parent chain, transform (with keyframes), effects, markers, source rect — optionally masks/shapeContents/textAnimators. Cheaper than deep-mapping a whole comp when you only need one layer before a targeted edit.

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

Input Schema

NameRequiredDescriptionDefault
compNoComp: name, numeric id, or { id: N } for duplicate-name-safe stable-id addressing.
layerYesLayer: name (string), 1-based index (integer), or { id: N } for duplicate-name-safe stable-id addressing.
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.
includeMasksNo
includeEffectsNodefault true
includeKeyframesNodefault true
includeTransformNodefault true
includeShapeContentsNo
includeTextAnimatorsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does substantial work: it declares the read-only "snapshot" nature, lists exactly what is returned, flags that masks/shapeContents/textAnimators are opt-in extras, and adds a comparative cost signal ("cheaper than deep-mapping a whole comp"). It does not warn about payload size on layers with many keyframes or effects, which is the remaining behavioral gap.

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

Conciseness5/5

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

Two sentences, front-loaded with the core scope, then a dense field enumeration followed by the cost/use-case contrast. The long dash list is information-dense rather than padded; every clause names something the tool actually returns or a decision-relevant tradeoff.

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

Completeness4/5

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

With no output schema and no annotations across nine parameters, the description must convey the result shape — and it does, effectively enumerating the returned structure. It falls slightly short on output framing (object vs. nested layout) and on the cost implications of enabling every optional section, but an agent has enough to call it correctly.

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 67%, and the description partially compensates by naming the optional sections (masks, shapeContents, textAnimators) that are the undocumented booleans, plus noting transform arrives "with keyframes." However it says nothing about the addressing semantics of comp/layer or the instance parameter beyond what the schema already spells out, so the added meaning is modest.

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 opens with a specific verb+resource ("Full snapshot of ONE layer") and then enumerates the returned facets — type, enabled/3D, timing, blend mode, matte, parent chain, transform/keyframes, effects, markers, source rect. That makes the tool unmistakable versus mutation siblings. It does not explicitly distinguish itself from the close read-only sibling get_layer_bounds, so sibling differentiation is only partial.

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

Usage Guidelines4/5

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

It supplies a clear selection rationale: use this instead of deep-mapping a whole comp when only one layer is needed, specifically "before a targeted edit." That gives an agent a concrete moment to reach for it. There are no explicit exclusions or named alternatives (e.g. bounds-only queries), so it stops short of 5.

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