Skip to main content
Glama

Editar texto

ps_edit_text

Modify an existing Photoshop text layer's content, style, position, rotation, effects, or blend mode while preserving unchanged attributes. Update text layers without rebuilding them.

Instructions

Cambia el contenido y/o el estilo de una capa de texto existente (conserva lo que no indiques). También mover, rotar, efectos y mezcla.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
xNo
yNo
boxNo
docNoDocumento (nombre o índice desde 1). Por defecto el activo.
fillNoRelleno (no afecta efectos de capa)
nameNo
runsNo
textNo
alignNo
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
layerYesCapa: nombre, 'Grupo/Capa', id numérico o {id|name|path|index|nth}
styleNo
anchorNoPunto de la capa que se coloca en (x,y). Por defecto topleft
presetNo
clippedNoMáscara de recorte sobre la capa de abajo
effectsNoEfectos de capa con el mismo esquema que ps_layer_style.effects: {dropShadow:[{color,opacity,angle,distance,size,blend}], outerGlow:{color,opacity,size,noise,blend}, innerGlow, bevelEmboss, satin, colorOverlay, gradientOverlay:{stops,angle}, stroke:{size,position,color}, recipe:'nombre', raw, clear}
opacityNo
visibleNo
rotationNo
paragraphNo
effectsModeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.4/5.0
Behavior2/5

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

With no annotations, the description carries full behavioral burden. It states that unspecified fields are preserved, which is useful, but it omits critical details like required permissions, reversibility, and the fact that the 'layer' parameter is required. The mention of additional operations (move, rotate, effects, blend) is helpful context but lacks any caveats about their interaction with other settings.

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?

The description is a single short sentence that is front-loaded with the core action and lists additional capabilities compactly. It avoids unnecessary words, though the parenthetical is slightly ambiguous and the list could be clearer.

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

Completeness2/5

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

Given the complexity (22 parameters, nested objects, no output schema, no annotations) and low schema coverage, the description is insufficiently complete. It omits essential information about parameter usage, required fields, and interaction with other tools, leaving an agent ill-equipped to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 32%, so the description would need to compensate, but it provides no details about any parameter. It does not explain the many options (runs, style, effects, opacity, etc.) or their formats. The high parameter count (22) makes this a significant gap.

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

Purpose3/5

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

The description says it changes the content and/or style of an existing text layer while preserving unspecified fields, and mentions additional capabilities (move, rotate, effects, blend). However, the parenthetical '(conserva lo que no indiques)' is ambiguous about merge semantics, and unlike 'ps_edit_text' the title 'Editar texto' is tautological. It does not clearly differentiate from siblings like ps_set_layer.

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?

There is no indication of when to use this tool versus alternatives. The sentence 'También mover, rotar, efectos y mezcla' hints at breadth but doesn't specify when those capabilities should be used instead of other tools like ps_set_layer or ps_layer_style. No prerequisites or exclusions are mentioned.

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