Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

transform_layers

Destructive

Move, uniformly resize or rotate several layers together in one atomic panel update. Uses the same pixel geometry as the web editor; linked panorama slices move together.

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": {
      "projectId": "<projectId>",
      "position": "<position>",
      "layerIds": "<layerIds>"
    },
    "name": "transform_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault
dxNoHorizontal movement as a fraction of the common canvas width.
dyNoVertical movement as a fraction of canvas height.
scaleNoUniform size multiplier around selection center, e.g. 0.9.
familyNo
localeNoLocalization to edit. Omit for the project’s main localization.
layerIdsYes
positionYes
rotationNoAdditional clockwise rotation around selection center in degrees.
projectIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / position / maximum
      Previous value: -40New value: +190
  2. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already state destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the agent knows this is a mutating, non-idempotent operation. The description adds genuinely useful behavior beyond that: all changes land as one atomic update, geometry matches the web editor's pixel coordinates, and linked panorama slices are dragged along as a side effect. It stops short of saying whether the update is reversible, what happens to unselected layers, or what a partial failure returns.

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?

Two short sentences, both loaded with information and front-loaded with the core action. Nothing is redundant, though the second sentence could be tightened slightly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a 9-parameter destructive mutation with no output schema, and the description covers almost none of the caller-relevant surface: no permission or access requirements are stated, nothing is said about what the response contains or whether failures roll back the 'atomic' update, and half the parameters go undescribed in both schema and prose.

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 coverage is 56%, so the schema documents the geometric parameters (dx, dy, scale, rotation, locale) reasonably well. The description reinforces the uniform-resize and rotation semantics and the multi-layer nature of layerIds, but leaves 'position', 'family' and 'projectId' unexplained and adds no unit or range detail beyond the schema, so it does not fully compensate for the coverage gap.

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?

The description names a specific set of verbs (move, uniformly resize, rotate) against a concrete resource (several layers) and scopes it to an 'atomic panel update', so an agent can tell what it does immediately. It does not explicitly contrast with any sibling, but no sibling in the visible list performs layer transforms, so ambiguity is low.

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?

Batch semantics ('several layers together in one atomic panel update') imply the intended case: transforming multiple layers in a single operation rather than one by one. There is no explicit when-to-use/when-not, no mention of selecting layers before calling, and no stated alternative for single-layer edits, so guidance is only inferable.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources