Skip to main content
Glama

Layer details

get_layer_info
Read-only

Fetches complete details for an After Effects layer—switches, timing, parent, transforms with keyframes/expressions, effects, masks, source item, and bounds—at a chosen time.

Instructions

Everything about one layer: switches, timing, parent, blending/matte, transform values at a time (with keyframe counts and expressions), effect and mask names, source item, quality, content rectangle (sourceRect) and comp-space bounds (2D layers).

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": "get_layer_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
timeNoTime at which values/bounds are read (default current comp time).
layerYesLayer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer.
allTransformNoInclude unmodified transform properties too (orientation, X/Y rotation...).

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 declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds substantial value beyond annotations by enumerating the return contents, including keyframe counts, expressions, effect and mask names, and comp-space bounds limited to 2D layers. It does not discuss error behavior or cost, keeping it from 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.

Conciseness4/5

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

A single front-loaded sentence ('Everything about one layer: ...') with a dense but purposeful enumeration; no filler sentences. It is slightly list-heavy and harder to parse at a glance, but every clause corresponds to returned content.

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, the description carries the burden of explaining return values and does so comprehensively across the major layer aspects. Parameter documentation is fully covered by the schema, so the description is complete enough for an agent to select and call it, with only minor gaps around edge cases and error behavior.

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 100%, so the schema already explains comp, time, layer, and allTransform. The description adds only incidental meaning (the 'at a time' snapshot behavior and the 2D-only bounds caveat) and does not elaborate on any parameter beyond what the schema states.

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 clearly conveys a comprehensive retrieval tool for a single layer, enumerating the categories returned (switches, timing, parent, blending, transforms, effects, masks, source, quality, bounds). It implicitly distinguishes itself from narrower siblings like get_layer_bounds by including bounds plus everything else, though it never states a verb or names a sibling explicitly.

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?

Usage is only implied: an agent can infer this is the grab-bag layer inspection tool. There is no explicit when-to-use guidance, no mention of alternatives such as get_layer_bounds or get_comp_layers_at_time, and no exclusions or prerequisites.

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