Skip to main content
Glama

Deselect all layers

deselect_all_layers

Deselects every layer in a specified or active After Effects composition, clearing the current selection before running further actions.

Instructions

Deselect every layer in a composition.

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

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=false and openWorldHint=false, so the agent knows this is a non-destructive, local state change; the description adds only that the effect spans a whole composition. It does not disclose whether locked or hidden layers are included, whether the change is undoable, or what the active-composition default means behaviorally, so credit above the annotation baseline is limited.

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?

A single short sentence with the action front-loaded and zero filler; nothing could be removed without losing information.

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 zero-required-parameter, single-parameter tool with full schema coverage and annotations covering the safety profile, the description is nearly sufficient. The main remaining gap is scope detail (locked/hidden layers, undo behavior), which is minor for this simple operation.

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 coverage is 100% and the single 'comp' parameter is fully documented in the schema (name, 'Folder/Name' path, or item id, omit for active composition). The description adds no additional meaning about the composition target, so the baseline of 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?

Specific verb ('Deselect') plus resource ('every layer') plus scope ('in a composition'), so an agent knows exactly what operation is performed and can distinguish it from select_layers without opening the schema. It stops short of naming the counterpart tool, so it is clear but not fully differentiated.

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?

The description states what happens but never says when to reach for this tool versus select_layers or whether a prior selection is required. There are no exclusions, prerequisites, or alternative routing, leaving usage entirely to inference from the name.

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