Skip to main content
Glama

Layer comment

set_layer_comment

Write or append comments on After Effects layers to store notes that AI or users can read back through layer details.

Instructions

Set (or append to) the comment of layers. Useful for notes the AI or user can read back via list_layers detail.

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": {
      "comment": "<comment>"
    },
    "name": "set_layer_comment"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
appendNoAppend on a new line instead of replacing.
layersNoLayers: array of layer refs, or 'selected' (default) or 'all'.
commentYesComment text (empty string clears).

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 this is a mutating but non-destructive, non-open-world operation. The description adds that the comment persists and is visible through list_layers, and the append/replace semantics are implied, but it does not say what happens to an existing multiline comment or how invalid layer refs are handled.

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 short sentences, front-loaded with the action and resource, with the read-path hint in the second sentence. No wasted wording, though the second sentence could be slightly tighter.

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 four-parameter tool with full schema coverage and clear annotations, this is nearly complete: it names the operation, the append variant, and the read-back path. Only error/permission behavior and the default 'selected' target are left implicit, which the schema partly covers.

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 schema already documents comp, append, layers, and comment (including 'empty string clears'). The description only echoes the append-vs-replace distinction, adding little that the schema does not already say; baseline 3 applies.

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 gives a specific verb and resource: setting (or appending to) a layer's comment. It clearly separates itself from set_layer_label by naming 'comment' as the field, though it does not explicitly contrast with that sibling.

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?

It supplies an implied use case ('notes the AI or user can read back via list_layers detail'), which tells the agent why to call it, but there is no explicit when-not guidance or named alternative. The agent must infer that labels are a separate tool.

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