Skip to main content
Glama

Capa de ajuste

ps_add_adjustment

Create non-destructive adjustment layers in Photoshop for color, tone, exposure, and contrast corrections, with optional clipping to the layer below.

Instructions

Crea una capa de ajuste no destructiva. type y params: brightnessContrast{brightness,contrast} · levels{inBlack,inWhite,gamma,outBlack,outWhite,channel} · curves{points:[[x,y]..],channel | channels:{red,green,blue}} · hueSaturation{hue,saturation,lightness,colorize} · vibrance{vibrance,saturation} · colorBalance{shadows,midtones,highlights:[c-r,m-g,y-b]} · blackAndWhite{red,yellow,green,cyan,blue,magenta,tint} · photoFilter{color,density} · gradientMap{stops} · exposure{exposure,offset,gamma} · selectiveColor{colors:{reds:{cyan,magenta,yellow,black}}} · invert · threshold{level} · posterize{levels}. clip=true la limita a la capa de abajo.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
docNoDocumento (nombre o índice desde 1). Por defecto el activo.
clipNo
fillNoRelleno (no afecta efectos de capa)
maskNo
nameNo
typeYes
aboveNoCapa: nombre, 'Grupo/Capa', id numérico o {id|name|path|index|nth}
belowNoCapa: nombre, 'Grupo/Capa', id numérico o {id|name|path|index|nth}
blendNoModo de fusión: normal, multiply, screen, overlay, softLight, hardLight, vividLight, linearLight, pinLight, hardMix, colorDodge, linearDodge, colorBurn, linearBurn, darken, lighten, darkerColor, lighterColor, difference, exclusion, subtract, divide, hue, saturation, color, luminosity, passThrough
labelNo
anchorNoPunto de la capa que se coloca en (x,y). Por defecto topleft
paramsNo
parentNoGrupo donde crearla
clippedNoMáscara de recorte sobre la capa de abajo
opacityNo
visibleNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It discloses the non-destructive nature and the clip=true behavior of limiting the effect to the layer below, which is genuine behavioral context, but it omits auth/permission needs, error behavior, and reversibility for a mutation tool.

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?

Purpose is front-loaded in the first clause, followed by a compact reference block. The long type/params list is dense but each entry earns its place given the opaque params schema.

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

Completeness3/5

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

For an 18-parameter mutation tool with no annotations and no output schema, the description covers the most complex parameter well but leaves many behaviors (return values, defaults, failure modes, permissions) undocumented.

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 description coverage is only 44%, but the description compensates strongly for the critical opaque 'params' object by detailing the expected key structure for every adjustment type (e.g. curves{points,channel}, selectiveColor{colors}). This goes well beyond the schema, which only declares params as a free-form object.

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?

States a specific verb+resource: 'Crea una capa de ajuste no destructiva', and enumerates the adjustment types it supports. An agent can tell this creates an adjustment layer rather than a plain layer. It does not explicitly name a sibling alternative, but the resource is unambiguous.

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 never says when to use this tool versus alternatives like ps_create_layer or ps_set_layer, nor any prerequisites. Usage is only implied by the type enumeration, leaving the agent to infer the context.

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