Skip to main content
Glama

delete-layer

Delete a layer from a composition by specifying its index or name.

Instructions

Delete a layer from a composition. Target the layer by layerIndex or layerName.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
compNameNoComposition name (or active comp if omitted).
compIndexNo1-based comp index, if compName is omitted.
layerNameNoLayer name to delete (alternative to layerIndex).
layerIndexNo1-based layer index to delete.
Behavior2/5

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

No annotations are present, so the description bears full burden. It correctly labels the action as destructive but omits details about side effects (e.g., irreversible, effect on subsequent layers) or error handling (e.g., missing layer or ambiguous targeting). Minimal disclosure beyond the core action.

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?

Two short, front-loaded sentences with no redundancy. Every word adds value. Efficient structure.

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?

Given low complexity and complete schema, the description covers the essential usage. Missing return value explanation, but not critical for this simple destructive tool. Overall adequate.

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%, so baseline is 3. The description adds 'Target the layer by layerIndex or layerName' which reinforces the alternative targeting, but does not provide new semantic meaning beyond the schema descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action (delete), the resource (layer from a composition), and the targeting methods (by layerIndex or layerName). It distinguishes this tool from siblings, which focus on adding, setting, or inspecting layers.

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?

No explicit when-to-use or when-not-to-use guidance is provided. However, the purpose is straightforward, and there are no sibling tools for deletion, so usage is implied. Lacks contrast with alternatives or prerequisites like requiring composition existence.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/a-y-ibrahim/after-effects-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server