Skip to main content
Glama

photoshop_play_action

Run a recorded Photoshop action from the Actions palette by specifying its action set and name; if either is missing, the error lists available names to retry.

Instructions

Play a recorded action from the Actions palette.

Names are the ones the Actions panel shows, in the Photoshop UI language: the built-in set is "Default Actions" only in English Photoshop. When the set or the action does not exist, the error (code invalid_arguments) lists the names this Photoshop has; retry with one of them.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "actionName": "<actionName>",
      "actionSetName": "<actionSetName>"
    },
    "name": "photoshop_play_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionNameYesName of the action to play, exactly as the Actions panel shows it
document_idNoOptional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit.
actionSetNameYesName of the action set containing the action, exactly as the Actions panel shows it (localized for the sets Photoshop ships)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.2

TDQS

A3.6/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. It does add real behavioral context: action and set names are localized to the Photoshop UI language, 'Default Actions' is English-only, and a failure returns code invalid_arguments with the available names. It does not say the tool mutates the document, which document it targets, or whether results are undoable.

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 sentences, both front-loaded with the essential information: what the tool does, then the naming/localization constraint and error recovery. Nothing is padded or restated.

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 a mutation tool with no annotations and no output schema, the description covers purpose, naming semantics, and error recovery well. It is still silent on the side effects of playing an action, undo behavior, and how targeting works, which leaves meaningful gaps for an agent invoking it blind.

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 100%, so the baseline is 3. The description still adds meaning beyond the schema by explaining that names are localized and that 'Default Actions' exists only in English Photoshop, plus that a bad name can be corrected from the error payload's name list. That is more than restating the schema's 'exactly as the Actions panel shows it.'

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?

Opens with a specific verb and resource: 'Play a recorded action from the Actions palette.' That tells an agent exactly what capability this exposes. It stops short of stating how it differs from adjacent execution tools like photoshop_execute_script or the recipe tools, so sibling differentiation is left implicit.

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?

The second sentence describes a recovery path when the set or action doesn't exist: read the invalid_arguments error, pick a listed name, retry. That is useful operational guidance, but the description never says when to choose this tool over alternatives such as photoshop_execute_script or a recipe, so usage selection is only implied.

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

Deploy Server

Other Tools