Skip to main content
Glama

List layers

list_layers
Read-only

Lists composition layers with compact fields and optional filters by type, name, selection, or enabled state; use detail mode to return full layer properties.

Instructions

List the layers of a composition (compact: index, id, name, type, enabled, locked, in/out, parent index, label). Filter by type, name substring, selection or enabled state. detail=true returns the full layer description per layer.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
nameNoCase-insensitive substring of the layer name.
typeNoOnly these layer types.
limitNoMax layers returned (default 500).
detailNoFull description per layer (transform, blending, matte, source...).
enabledOnlyNoOnly layers with the video (eye) switch on.
selectedOnlyNoOnly selected layers.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

The annotations already establish read-only and non-destructive behavior, and the description adds useful context by naming compact output fields and describing the detail=true alternative. It does not mention ordering or pagination behavior, but there is no annotation contradiction.

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 two sentences, front-loads the purpose, and then compactly covers output fields, filtering, and detail mode. The parenthetical field list is dense but useful, 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 adequately explains the compact return fields and the full-description mode for detail=true. It does not specify layer ordering or enumerate the full detail fields, but the schema and annotations cover the remaining parameters and safety profile.

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 seven parameters are already documented in the schema. The description restates filter categories and the effect of detail=true, but adds little parameter semantics beyond what the schema provides, making the baseline 3 appropriate.

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?

States a specific verb ('List') and resource ('layers of a composition'), including the compact return fields and filter options. It is clear what the tool does, but it does not explicitly distinguish itself from a sibling such as search_layers, so it falls short of a 5.

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 description explains available filters and that detail=true returns full layer descriptions, which implies when to use that mode. However, it does not say when to choose this tool over search_layers or get_comp_layers_at_time, nor when not to use it.

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