Skip to main content
Glama

Get properties

ae_get_properties
Read-onlyIdempotent

Inspect a layer's property tree or subgroup to read names, match names, values, keyframe counts, and expressions, so you can discover property paths before editing.

Instructions

Inspect the property tree of one layer (or a sub-group via path): names, match names, values, keyframe counts, expressions. Read-only. Use it to discover property paths before ae_set_property / ae_set_keyframes / ae_set_expression. To search a whole comp by name use ae_find_properties; for exact keyframe timing and easing use ae_get_keyframes (via ae_call). Large trees are truncated: lower depth or start at a path.

Input Schema

NameRequiredDescriptionDefault
compNoComposition: item id (number) or exact name. Omit (or "active") for the active/open composition.
pathNoStart at this group/property (default: the whole layer).
depthNoGroup depth to expand (default 2).
layerYesLayer: 1-based index (number) or exact layer name.
keyframesNoInclude each keyframe's time, value, interpolation and ease (default false).
includeHiddenNoAlso list NO_VALUE properties such as group markers and buttons (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.1.3
    • changedInput schema / properties / includeHidden / description
      Previous value: -"Include NO_VALUE properties."New value: +"Also list NO_VALUE properties such as group markers and buttons (default false)."
    • changedInput schema / properties / keyframes / description
      Previous value: -"Include keyframe details."New value: +"Include each keyframe's time, value, interpolation and ease (default false)."
  2. 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 declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations, especially that large trees are truncated and can be narrowed by depth or path, and it lists the kinds of property data returned. A 4 rather than 5 reflects that the exact return shape and any truncation limits are only lightly described.

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?

The description is front-loaded with the core purpose, then immediately adds routing guidance and truncation behavior. Every sentence earns its place: the field list, read-only note, setter prep guidance, sibling alternatives, and truncation workaround all provide actionable information without filler.

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?

For a six-parameter discovery tool with no output schema, the description is complete enough: it names the returned property fields, explains path/depth usage, warns about truncation, and routes to sibling tools for search and keyframe detail. An agent has what it needs to call this correctly without relying on missing output documentation.

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 all six parameters are already documented in the input schema. The description adds some context for path and depth in relation to subgroup inspection and truncation, but it does not meaningfully elaborate keyframes or includeHidden beyond what the schema already states. Baseline 3 is appropriate because the schema is doing most of the parameter-documentation work.

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?

The description uses a specific verb, 'Inspect', and a precise resource, 'property tree of one layer (or a sub-group via path)', then lists the contents surfaced: names, match names, values, keyframe counts, and expressions. It also distinguishes the tool from ae_find_properties and ae_get_keyframes, so an agent can identify it without opening sibling schemas.

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?

It gives explicit when-to-use guidance: discover property paths before ae_set_property, ae_set_keyframes, and ae_set_expression. It also names concrete alternatives and the conditions selecting them: ae_find_properties for whole-comp name search and ae_get_keyframes for exact timing/easing. Truncation guidance to lower depth or start at a path is included.

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