Skip to main content
Glama

Manage Layers

ps_manage_layers
Destructive

Perform various layer operations including delete, duplicate, merge, flatten, rasterize, group, ungroup, lock, unlock, show, or hide. Targets the specified layer or the active layer.

Instructions

Performs a layer operation: delete, duplicate, merge-visible, flatten, rasterize, group, ungroup, lock, unlock, show, or hide. Targets the named layer or the active layer if none is specified. This single tool replaces 10+ individual layer-action tools.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesThe layer action to perform
layerNameNoTarget layer name — defaults to the active layer
Behavior4/5

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

Annotations declare destructiveHint=true; description includes destructive actions like delete and flatten. No contradiction. Adds detail about layer targeting not in annotations.

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 concise sentences, front-loaded with action enumeration and key behavior. Every sentence is valuable with no redundancy.

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 high schema coverage and annotations, description adequately covers multi-action tool. No output schema, but behavior is clear. Some actions (e.g., merge-visible) could benefit from brief definition, but overall complete.

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 100% describes both parameters. Description adds value by noting layerName defaults to active layer, which is absent from schema. Thus adds meaning beyond schema.

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?

Description explicitly states it performs 11 different layer operations, enumerates actions, and distinguishes from sibling tools by consolidating many individual tools into one. Clear verb and resource.

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

Usage Guidelines4/5

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

Description provides clear context: targets named or active layer, and states it replaces 10+ tools, implying when to use it. Lacks explicit exclusion scenarios but sufficient given sibling list.

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/ayushnagvanshi101098-ship-it/photoshop-mcp-pro'

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