Skip to main content
Glama

layercomp_manage

Create and manage Layer Comps in Moho: update layer membership, apply, rename, show or hide additively, snapshot visible layers, expose on timeline, or delete comps.

Instructions

Create, update layer membership, apply, rename, additively show/hide, snapshot visible layers, expose on timeline, or delete Layer Comps.

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": {
      "operation": "<operation>"
    },
    "name": "layercomp_manage"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoLayer Comp name
frameNoFrame for apply/show/hide/snapshot_visible operations
indexNoZero-based Layer Comp index
shownNoFor expose_timeline: show (true) or hide (false) comp layers on timeline (default: true)
newNameNoNew Layer Comp name (for rename)
layerIdsNoLayer IDs to include in the Layer Comp
exclusiveNoFor expose_timeline: hide non-comp layers from timeline (default: false)
operationYes
clearFirstNoClear prior layers before adding (default: true)
layerNamesNoLayer names to include in the Layer Comp
includeChildrenNoRecursively include descendant layers of specified Group/Bone/Switch layers (default: true)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations were provided, so the description carries the full burden, but it only lists operations and discloses no behavioral traits beyond the names. It does not say that delete is destructive and irreversible, that create or snapshot_visible capture the current document state, that apply changes the scene, or what happens to existing comps when the same name is reused.

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?

The definition is a single compact sentence with the operations front-loaded and no filler. However, the verb list scans as an undifferentiated run-on, and phrasing like 'update layer membership' and 'additively show/hide' is less clear than the operation names set_layers, show, and hide that the enum actually uses.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is an 11-parameter, nine-operation mutation tool with no annotations and no output schema, so the description should do much more than one line. It never maps which parameters apply to which operation or describes the effects of destructive operations, leaving an agent to reverse-engineer the tool from the schema enum alone.

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 91%, so the schema already documents nearly all 11 parameters in detail, and the baseline of 3 applies. The description adds no meaning beyond the schema – it does not explain when to use 'name' versus 'index', how 'exclusive' interacts with 'shown' in expose_timeline, or which parameters each operation requires – so it does not rise above the baseline that the schema itself provides.

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?

The description uses specific verbs tied to a single resource ('Layer Comps') and enumerates all nine operations the tool supports: create, set_layers, apply, rename, show/hide, snapshot_visible, expose_timeline, delete. That is enough for an agent to distinguish it from the sibling layercomp_list. It loses a point because it never states the boundary explicitly ('not for listing – use layercomp_list').

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance about when to choose this tool over layercomp_list, or when to pick each operation; the enumerated verbs only mirror the enum already present in the schema. 'Additively show/hide' hints at a distinction between the show and hide operations but never explains it, and no preconditions (for example, that a frame must be current for apply or snapshot_visible) are given.

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