Skip to main content
Glama

Inspect an image in Pixelmator Pro

pixelmator_image_info
Read-only

Reads an image or .pxd file's pixel size, resolution, bit depth, color profile, and layer list to verify template details before replacing text.

Instructions

Read an image's pixel size, resolution, bit depth, color profile and layer list (name, kind, visibility, opacity, and the text of text layers). Useful before filling a template with pixelmator_replace_text.

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>"
    },
    "name": "pixelmator_image_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesAbsolute path of the image or .pxd

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.1

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the safe, local read profile is established structurally. The description adds the useful fact that returned layer data includes visibility, opacity and the actual text of text layers, but says nothing about how it behaves on missing paths, unsupported formats, or very large files.

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, zero filler: the returned-field inventory comes first and the sibling cross-reference second. Every clause carries information an agent would otherwise have to discover by trial.

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?

With no output schema, the description correctly takes on the burden of describing return values and does so field by field, including the layer sub-fields. What remains thin is only edge-case behavior on invalid or non-image paths, a minor gap for a read-only inspection tool.

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?

Only one parameter exists and schema coverage is 100%, with the schema itself documenting 'Absolute path of the image or .pxd'. The description contributes no additional parameter meaning such as path format examples or relative-path handling, so the baseline of 3 applies.

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 (read) and resource (an image) and enumerates exactly which properties are returned: pixel size, resolution, bit depth, color profile and layer list down to text-layer contents. That enumeration makes it trivially distinguishable from pixelmator_process_image, which transforms rather than inspects.

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?

Gives a concrete usage context — 'Useful before filling a template with pixelmator_replace_text' — routing the agent to a specific sibling workflow. It stops short of stating exclusions (e.g. when to prefer process_image or whether it works on multi-layer vs flat images).

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