Skip to main content
Glama

photoshop_transform_landmarks

Transform named landmark points from a source axis-aligned frame to a target frame. Preserves local u/v coordinates for geometry mapping without Photoshop inspection.

Instructions

Transform a caller-supplied named landmark set from one axis-aligned semantic frame to another while preserving local u/v coordinates. Pure geometry: does not inspect Photoshop or detect landmarks.

Input Schema

NameRequiredDescriptionDefault
pointsYes
source_frameYesSource semantic bounds in the same pixel space as points.
target_frameYesTarget semantic bounds to map points into.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.8.0-preview.1

TDQS

A3.9/5.0
Behavior3/5

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

With zero annotations the description carries the full burden, and it does disclose the most important trait: this is a pure, side-effect-free computation that never touches the Photoshop document. However, it says nothing about what comes back, error behavior on invalid/degenerate frames, or ordering guarantees for the transformed point set.

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, with the operation stated first and the crucial non-interaction caveat second. Every clause earns its place and nothing essential is buried.

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?

Input semantics for a nested 3-parameter geometry tool are reasonably covered, but there is no output schema, so the description should have stated the return shape (transformed named points, in what frame). Combined with the absent annotations, an agent still has to guess the response contract.

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% (frame params documented, `points` undocumented), so the description meaningfully compensates by defining `points` as a caller-supplied named landmark set and by stating the core mapping rule ('preserving local u/v coordinates') that explains what source_frame/target_frame actually do. It stops short of clarifying what 'axis-aligned' implies for the frames' numeric 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?

Specific verb (transform) plus resource (caller-supplied named landmark set) and explicit scope (axis-aligned semantic frame to frame, preserving local u/v). The second sentence ('Pure geometry: does not inspect Photoshop or detect landmarks') actively separates it from siblings like photoshop_compare_landmarks and photoshop_measure_points.

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?

It implies the caller must already have landmarks and frames ('caller-supplied', 'does not detect landmarks'), which hints that measure/compare tools are the way to obtain points first. But it never states when to choose this over photoshop_compare_landmarks or photoshop_geometry_calculate, nor any prerequisites (e.g., non-degenerate frames).

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