Skip to main content
Glama

Fill a Pixelmator Pro template

pixelmator_replace_text

Replace text across all text layers in a layered design and export the result to a new file, keeping each layer's font and style while leaving the original template unchanged.

Instructions

Open a layered design (usually .pxd), replace text across all text layers, and export the result to a new file. Text keeps its existing font and style. The template is not modified.

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": {
      "input": "<input>",
      "output": "<output>",
      "replacements": "<replacements>"
    },
    "name": "pixelmator_replace_text"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesTemplate path (.pxd or .psd with text layers)
formatNoOutput format. pxd keeps layers (Pixelmator's own format).png
outputYes
qualityNo1–100 for jpeg, heic, webp and avif. Omit for the app default.
overwriteNo
matchWordsNoOnly replace whole words
replacementsYes
caseSensitiveNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A4/5.0
Behavior4/5

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

The annotations already disclose that this is not read-only, not destructive, and not open-world. The description adds useful behavioral context beyond that: text keeps its font and style, the result is exported to a new file, and the template itself is not modified, which reassures the agent about side effects.

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?

The description is three tight sentences with the main workflow front-loaded. Every sentence adds useful information, and there is no redundant or filler wording.

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 an eight-parameter template-filling tool with no output schema, the description gives a clear enough workflow and side-effect profile to call it correctly. It leaves some secondary option behavior undocumented, but the core task and non-destructive export model are well covered.

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

Parameters3/5

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

Schema description coverage is only 50%, so several parameters such as output, overwrite, replacements structure, and caseSensitive are undocumented in the schema. The description partially compensates by explaining the replacement scope across all text layers and that existing styling is preserved, but it does not explain case sensitivity, whole-word matching, overwrite behavior, or replacement array semantics.

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?

The description states a specific verb and resource: open a layered design, replace text across text layers, and export to a new file. It clearly distinguishes this template-filling workflow from generic image processing or typing tools.

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 description implies when to use it by describing the template-filling workflow, but it gives no explicit exclusions or comparisons to alternatives such as batch processing or generic image processing. An agent can infer the use case but must decide on its own when another tool is more appropriate.

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