Skip to main content
Glama

Varias operaciones en una

ps_batch

Run multiple Photoshop tools in sequence as a single history step, from shapes and text to filters and masks. Build a full composition and stop at the first error with its cause.

Instructions

Ejecuta varias herramientas en orden y las agrupa en UN solo paso del historial. Cada elemento: {tool:'add_shape'|'add_text'|'place_image'|'layer_style'|'set_layer'|'create_layer'|'add_adjustment'|'filter'|'mask'|'group'|'align'|'duplicate_layer'|'delete_layer'|'selection'|'fill', args:{...}} con los mismos parámetros que la herramienta ps_. Ideal para armar una composición completa. Se detiene en el primer error y dice cuál fue.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
docNoDocumento (nombre o índice desde 1). Por defecto el activo.
nameNoNombre del paso de historial
stepsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it usefully discloses that execution stops at the first error and reports which one, plus the single-history-step grouping. It does not say whether already-applied steps persist on failure, whether the batch is atomic/undoable as one unit, or how the failure is reported back.

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?

Front-loaded with the core behavior, then the element format, then the use case and error semantics. The long tool enumeration is necessary rather than filler, though the single dense paragraph is slightly hard to scan.

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 no-annotation, no-output-schema tool with a nested steps array, the description covers element format, allowed tools, use case, and failure behavior. Remaining gaps are partial-failure/rollback semantics and what the tool returns, which matter for a multi-mutation batch.

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 is 67% and the schema's 'steps[].tool' is a bare string with no enum. The description compensates substantially by enumerating the accepted tool values and stating that args use the same parameters as ps_<tool>, which is the key mapping an agent needs.

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?

States a specific verb and scope: it runs multiple tools in order and collapses them into ONE history step. The enumerated tool list and the '{tool, args}' element shape make it unmistakable versus the individual ps_<tool> siblings.

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?

"Ideal para armar una composición completa" gives a clear usage context, and the tool list implies the alternative (calling each ps_ tool separately). It never states when NOT to use it, e.g. when later steps need results from earlier ones.

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