Skip to main content
Glama

Get layer info

ae_get_layer_info
Read-onlyIdempotent

Get complete details for one After Effects layer—switches, timing, parent, source, transforms, effects, masks, text, and animated properties—to inspect or debug it; read-only, fails if missing.

Instructions

Full info for one layer: switches, timing, parent, source, transform values, effects, mask count, markers, text, and every animated/expression property. Read-only; fails if the comp or layer isn't found. For all layers in brief use ae_get_comp_info, for the full property tree (paths to set) ae_get_properties, for the on-screen box ae_get_layer_bounds.

Input Schema

NameRequiredDescriptionDefault
compNoComposition: item id (number) or exact name. Omit (or "active") for the active/open composition.
layerYesLayer: 1-based index (number) or exact layer name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), so the bar is lower, and the description still adds a real behavioral fact: the call fails if the comp or layer isn't found. It does not mention that 'full info' on a heavy layer may be a large payload, nor any cost/size guidance, which keeps it just short of a 5.

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 returned payload followed by the failure condition and the sibling routing. Every clause carries information; nothing is redundant.

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

Completeness5/5

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

There is no output schema, yet the description compensates by enumerating the returned fields, so an agent knows what to expect. Error behavior and alternatives are also covered, leaving no meaningful gap for a two-parameter read tool.

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 100% and the schema itself documents the id-or-name duality for both comp and layer, including the 'active' default. The description adds nothing about parameter semantics, so the baseline of 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Full info for one layer") and then enumerates exactly what is included — switches, timing, parent, source, transforms, effects, masks, markers, text, animated/expression properties. This level of specificity makes it immediately distinguishable from the info-gathering siblings.

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

Usage Guidelines5/5

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

Explicitly routes the agent to three named alternatives with the condition that selects each: ae_get_comp_info for all layers in brief, ae_get_properties for the full property tree, ae_get_layer_bounds for the on-screen box. When-to-use and when-not-to-use are both covered.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.