Skip to main content
Glama

List a layer's effects

list_layer_effects
Read-only

Fetch effects on a layer in stack order with index, name, matchName, and enabled status; optionally include all parameter values and active layer styles.

Instructions

List the effects on a layer in stack order: index, name, matchName, enabled. includeParams=true adds every param with its current value (full=true adds matchName/type/min/max/keys/expressions). Also lists active layer styles.

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

Input Schema

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

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?

Annotations already declare readOnlyHint=true and destructiveHint=false, so safety is covered; the description adds real behavior beyond that by disclosing the stack ordering of results, the exact fields returned, and how the includeParams/full flags change the payload (including the dependency of full on includeParams). It does not state ordering direction (top-down vs bottom-up) or behavior for a layer with no effects.

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?

Two sentences, zero preamble, with the core return shape front-loaded before the flag behavior. The nested parenthetical for the full flag is dense and slightly telegraphic, but every clause carries information an agent needs.

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 by naming the returned fields and what the flags add. The layer argument resolution is handled by the schema, and the extra layer-styles output is disclosed, though error/empty cases are unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline would be 3, but the description adds semantics the schema does not: includeParams pulls 'every param with its current value' and full expands to matchName/type/min/max/keys/expressions, plus the fact that full only matters when includeParams is set. That is meaningful meaning beyond the terse schema blurbs.

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 and resource ('List the effects on a layer') and enumerates the returned fields (index, name, matchName, enabled), so an agent knows exactly what comes back. It does not explicitly distinguish itself from the nearby list_available_effects or get_layer_styles siblings, leaving the 'applied effects on a layer' vs 'available effects catalog' distinction to inference.

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 implied by the scoping phrase 'on a layer' and the mention that it 'Also lists active layer styles', which hints at the cases it covers. There is no explicit when-to-use or when-not-to-use guidance and no named alternative for retrieving the catalog of effects that could be applied.

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