Skip to main content
Glama

ae_get_layer_properties

Read-onlyIdempotent

Lists a layer's properties as flat paths with values, keyframe counts, and expressions, helping you find exact paths for setting keyframes or expressions.

Instructions

Lista as propriedades de uma camada como caminhos planos ('Transform/Opacity', 'Effects/Gaussian Blur/Blurriness'…) com valor no tempo, nº de keyframes e expressão. Use para descobrir o caminho exato a passar em properties/expressions/ae_set_keyframes (até 200).

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_index": "<layer_index>"
    },
    "name": "ae_get_layer_properties"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoSegundos; padrão = tempo atual da comp
filterNoTrecho do caminho, ex.: 'Opacity', 'Effects/Gaussian Blur'
comp_nameNoNome exato da composição. Use este OU comp_index.
comp_indexNoÍndice do item no painel Projeto (base 1), como em ae_get_project_overview.
layer_indexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and closed-world behavior, so the safety profile is covered. The description adds real value beyond that: the return payload is flat paths with value at the given time, keyframe count and expression, and there is a hard cap of 200 results — a truncation limit the agent needs to know.

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 output shape and ending with the routing guidance. The parenthetical examples earn their place by making the path format unambiguous, and there is no filler.

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 return-value burden and does so adequately (path, value, keyframe count, expression, 200 cap). Minor gaps remain: it doesn't explain comp resolution when both comp_name and comp_index are omitted, nor what happens when layer_index is invalid.

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 80%, so the schema already documents time, filter, comp_name/comp_index and layer_index. The description only implicitly ties 'valor no tempo' to the time parameter and says nothing about the filter or comp-targeting parameters, so it adds little beyond the schema — baseline 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 ('Lista as propriedades de uma camada') and immediately defines the output shape with concrete flat-path examples ('Transform/Opacity', 'Effects/Gaussian Blur/Blurriness'). It also names the downstream consumer (ae_set_keyframes), so an agent can tell this is the discovery step rather than a setter.

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?

Explicitly says to use it to find the exact path to pass in properties/expressions of ae_set_keyframes, which gives a clear when-to-use trigger. It does not state when not to use it (e.g., versus ae_inspect_comp for comp-level overview) or how to narrow results when the 200-item cap is hit.

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