Skip to main content
Glama

Get layer styles

get_layer_styles
Read-only

List active layer styles on an After Effects layer with their parameter values; set includeParams to false to return style names only.

Instructions

List the layer styles active on a layer, with their params and values (includeParams=false for names only).

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_styles"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
layerYesLayer: 1-based index, layer name, or {id}/{index}/{name}. 'selected' = first selected layer.
includeParamsNoInclude params (default true).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/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 fully covered by structured data. The description adds the meaningful detail that includeParams toggles between names-only and params-plus-values output, but says nothing about ordering, empty results, or how style params are shaped.

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?

One front-loaded sentence with no filler, and the most actionable hint (includeParams) is placed in a readable parenthetical. Slightly terse for a tool with three parameters, but nothing is wasted.

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?

For a read-only list tool with a fully described schema and no output schema, the description covers what is returned (styles with their params and values) and how to narrow it. Only minor gaps remain, such as whether an empty list is returned when no styles are active.

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 baseline is 3; 'comp', 'layer', and 'includeParams' are all documented in the schema. The description only reinforces includeParams semantics ('false for names only') and adds nothing for the layer target forms or the 'selected' shorthand.

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?

Uses a specific verb ('List') and a specific resource ('layer styles active on a layer'), which separates it cleanly from siblings like add_layer_style and list_layer_effects. It does not explicitly name an alternative, but the resource noun is distinctive enough that confusion is unlikely.

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?

The parenthetical 'includeParams=false for names only' implies a use case (cheap name lookup vs full param dump), which is useful implied guidance. There is no explicit when-to-use/when-not-to-use guidance or reference to a sibling such as add_layer_style for mutation.

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