Skip to main content
Glama

Kalpana Designer

Rearrange layers

edit_structure

Change a design's layer tree with a list of ops, applied in order: move layers to another parent or position, duplicate, wrap siblings in a group or a flow frame, mask, combine shapes with a boolean (union, subtract, intersect, exclude), unwrap, scale with everything inside, reorder, align and distribute. Nothing is deleted here: removing layers is delete_layers. Returns the created and moved layer ids. If one op cannot apply the whole call is refused and nothing changes, unless skip_missing skips layers that are gone. Saved as a new revision that undo reverts. Use it for structure; for a layer's own properties use update_layers, and for new layers create_layers. Guide topic: structure.

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": {
      "page_id": "<page_id>",
      "ops": "<ops>",
      "intent": "<intent>"
    },
    "name": "edit_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
opsYes
intentYesOne short sentence: what you change and why. Kept in the design history.
page_idYesThe page to work on, as returned by create_design.
skip_missingNoSkip ids that are not on the scene in move, delete and unwrap ops instead of failing the whole call; the result lists them in `skipped`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / $defs / StructureOp / oneOf
      Previous value: -[
      -  {
      -    "description": "Move layers under another parent (the page when parent_id is omitted) at `index` (end when omitted). Their x/y stay relative to the new parent.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "index": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "op": {
      -        "const": "move",
      -        "type": "string"
      -      },
      -      "parent_id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Copy a layer (with children and animation) next to the original.",
      -    "properties": {
      -      "count": {
      -        "default": 1,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "offset_x": {
      -        "default": 0,
      -        "description": "Shift of each copy from the previous one, in px.",
      -        "type": "number"
      -      },
      -      "offset_y": {
      -        "default": 0,
      -        "type": "number"
      -      },
      -      "op": {
      -        "const": "duplicate",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Wrap sibling layers in a new group, or in a frame when `flow` is given (a frame whose layout flow arranges them).",
      -    "properties": {
      -      "flow": {
      -        "$ref": "#/$defs/FlowSpec"
      -      },
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "wrap",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Wrap sibling layers in a new frame fitted around them, without a layout flow (the editor's \"Frame selection\"). Add a flow afterwards with update_layers, or use `wrap` with `flow` to do both.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "frame",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Combine shape layers (rectangles, ellipses, vectors, other booleans) into one boolean layer, placed where the topmost of them was. It takes the bottom shape's fills. With a single boolean layer in `ids`, only its operation changes. The shapes stay inside it, editable.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "boolean",
      -        "type": "string"
      -      },
      -      "operation": {
      -        "$ref": "#/$defs/BooleanKind"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "operation"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Remove a group, frame or boolean, keeping its children in its place.",
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "unwrap",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Wrap sibling layers in a \"Mask group\" whose bottom layer becomes the mask: the layers above show only where it is opaque.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "mask",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Stop layers from masking (the layers they hid show in full again).",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "unmask",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Scale layers and everything inside them by `factor` (2 = twice the size): size, text, spacing, radii, strokes, effects and paths grow together, as a scale tool does. `about`: \"origin\" (default) keeps each layer's top-left where it is; \"center\" keeps its centre.",
      -    "properties": {
      -      "about": {
      -        "$ref": "#/$defs/ScaleAbout"
      -      },
      -      "factor": {
      -        "type": "number"
      -      },
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "scale",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "factor"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Line layers up: `left`/`center`/`right` set the horizontal edge, `top`/`middle`/`bottom` the vertical one. Several layers line up with the box around all of them; one layer lines up with its parent (or the page). `relative_to: \"parent\"` lines each layer up with its own parent instead. Layers a layout flow places cannot be moved.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "align",
      -        "type": "string"
      -      },
      -      "relative_to": {
      -        "$ref": "#/$defs/AlignReference"
      -      },
      -      "to": {
      -        "$ref": "#/$defs/AlignTo"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "to"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Even gaps between three or more layers along an axis: the first and last stay, the others are spaced between them in their current order.",
      -    "properties": {
      -      "axis": {
      -        "$ref": "#/$defs/DistributeAxis"
      -      },
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "distribute",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "axis"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Change paint order among siblings.",
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "reorder",
      -        "type": "string"
      -      },
      -      "to": {
      -        "$ref": "#/$defs/ReorderTo"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id",
      -      "to"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "New unused id for a layer. After `duplicate`, give each page's own content its own id: one id on two pages is one data column.",
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "new_id": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "set_id",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id",
      -      "new_id"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "Move layers under another parent (the page when parent_id is omitted) at `index` (end when omitted). Their x/y stay relative to the new parent.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "index": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "op": {
      +        "const": "move",
      +        "type": "string"
      +      },
      +      "parent_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Copy a layer (with children and animation) next to the original.",
      +    "properties": {
      +      "count": {
      +        "default": 1,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "offset_x": {
      +        "default": 0,
      +        "description": "Shift of each copy from the previous one, in px.",
      +        "type": "number"
      +      },
      +      "offset_y": {
      +        "default": 0,
      +        "type": "number"
      +      },
      +      "op": {
      +        "const": "duplicate",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Wrap sibling layers in a new group, or in a frame when `flow` is given (a frame whose layout flow arranges them).",
      +    "properties": {
      +      "flow": {
      +        "$ref": "#/$defs/FlowSpec"
      +      },
      +      "id": {
      +        "description": "New layer's id (default: from name).",
      +        "type": "string"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "wrap",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Wrap sibling layers in a new frame fitted around them, without a layout flow (the editor's \"Frame selection\"). Add a flow afterwards with update_layers, or use `wrap` with `flow` to do both.",
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "frame",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Combine shape layers (rectangles, ellipses, vectors, other booleans) into one boolean layer, placed where the topmost of them was. It takes the bottom shape's fills. With a single boolean layer in `ids`, only its operation changes. The shapes stay inside it, editable.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "boolean",
      +        "type": "string"
      +      },
      +      "operation": {
      +        "$ref": "#/$defs/BooleanKind"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "operation"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Remove a group, frame or boolean, keeping its children in its place.",
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "unwrap",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Wrap sibling layers in a \"Mask group\" whose bottom layer becomes the mask: the layers above show only where it is opaque.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "mask",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Stop layers from masking (the layers they hid show in full again).",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "unmask",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Scale layers and everything inside them by `factor` (2 = twice the size): size, text, spacing, radii, strokes, effects and paths grow together, as a scale tool does. `about`: \"origin\" (default) keeps each layer's top-left where it is; \"center\" keeps its centre.",
      +    "properties": {
      +      "about": {
      +        "$ref": "#/$defs/ScaleAbout"
      +      },
      +      "factor": {
      +        "type": "number"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "scale",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "factor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Line layers up: `left`/`center`/`right` set the horizontal edge, `top`/`middle`/`bottom` the vertical one. Several layers line up with the box around all of them; one layer lines up with its parent (or the page). `relative_to: \"parent\"` lines each layer up with its own parent instead. Layers a layout flow places cannot be moved.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "align",
      +        "type": "string"
      +      },
      +      "relative_to": {
      +        "$ref": "#/$defs/AlignReference"
      +      },
      +      "to": {
      +        "$ref": "#/$defs/AlignTo"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "to"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Even gaps between three or more layers along an axis: the first and last stay, the others are spaced between them in their current order.",
      +    "properties": {
      +      "axis": {
      +        "$ref": "#/$defs/DistributeAxis"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "distribute",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "axis"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Change paint order among siblings.",
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "reorder",
      +        "type": "string"
      +      },
      +      "to": {
      +        "$ref": "#/$defs/ReorderTo"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id",
      +      "to"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "New unused id for a layer. After `duplicate`, give each page's own content its own id: one id on two pages is one data column.",
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "new_id": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_id",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id",
      +      "new_id"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed1 schema field changed
    • changedInput schema / $defs / StructureOp / oneOf
      Previous value: -[
      -  {
      -    "description": "Move layers under another parent (the page when parent_id is omitted) at `index` (end when omitted). Their x/y stay relative to the new parent.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "index": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "op": {
      -        "const": "move",
      -        "type": "string"
      -      },
      -      "parent_id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Copy a layer (with children and animation) next to the original.",
      -    "properties": {
      -      "count": {
      -        "default": 1,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "offset_x": {
      -        "default": 0,
      -        "description": "Shift of each copy from the previous one, in px.",
      -        "type": "number"
      -      },
      -      "offset_y": {
      -        "default": 0,
      -        "type": "number"
      -      },
      -      "op": {
      -        "const": "duplicate",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Wrap sibling layers in a new group, or in a frame when `flow` is given (a frame whose layout flow arranges them).",
      -    "properties": {
      -      "flow": {
      -        "$ref": "#/$defs/FlowSpec"
      -      },
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "wrap",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Wrap sibling layers in a new frame fitted around them, without a layout flow (the editor's \"Frame selection\"). Add a flow afterwards with update_layers, or use `wrap` with `flow` to do both.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "frame",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Combine shape layers (rectangles, ellipses, vectors, other booleans) into one boolean layer, placed where the topmost of them was. It takes the bottom shape's fills. With a single boolean layer in `ids`, only its operation changes. The shapes stay inside it, editable.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "boolean",
      -        "type": "string"
      -      },
      -      "operation": {
      -        "$ref": "#/$defs/BooleanKind"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "operation"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Remove a group, frame or boolean, keeping its children in its place.",
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "unwrap",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Wrap sibling layers in a \"Mask group\" whose bottom layer becomes the mask: the layers above show only where it is opaque.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "mask",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Stop layers from masking (the layers they hid show in full again).",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "unmask",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Scale layers and everything inside them by `factor` (2 = twice the size): size, text, spacing, radii, strokes, effects and paths grow together, as a scale tool does. `about`: \"origin\" (default) keeps each layer's top-left where it is; \"center\" keeps its centre.",
      -    "properties": {
      -      "about": {
      -        "$ref": "#/$defs/ScaleAbout"
      -      },
      -      "factor": {
      -        "type": "number"
      -      },
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "scale",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "factor"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Line layers up: `left`/`center`/`right` set the horizontal edge, `top`/`middle`/`bottom` the vertical one. Several layers line up with the box around all of them; one layer lines up with its parent (or the page). `relative_to: \"parent\"` lines each layer up with its own parent instead. Layers a layout flow places cannot be moved.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "align",
      -        "type": "string"
      -      },
      -      "relative_to": {
      -        "$ref": "#/$defs/AlignReference"
      -      },
      -      "to": {
      -        "$ref": "#/$defs/AlignTo"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "to"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Even gaps between three or more layers along an axis: the first and last stay, the others are spaced between them in their current order.",
      -    "properties": {
      -      "axis": {
      -        "$ref": "#/$defs/DistributeAxis"
      -      },
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "distribute",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "axis"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Change paint order among siblings.",
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "reorder",
      -        "type": "string"
      -      },
      -      "to": {
      -        "$ref": "#/$defs/ReorderTo"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id",
      -      "to"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "Move layers under another parent (the page when parent_id is omitted) at `index` (end when omitted). Their x/y stay relative to the new parent.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "index": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "op": {
      +        "const": "move",
      +        "type": "string"
      +      },
      +      "parent_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Copy a layer (with children and animation) next to the original.",
      +    "properties": {
      +      "count": {
      +        "default": 1,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "offset_x": {
      +        "default": 0,
      +        "description": "Shift of each copy from the previous one, in px.",
      +        "type": "number"
      +      },
      +      "offset_y": {
      +        "default": 0,
      +        "type": "number"
      +      },
      +      "op": {
      +        "const": "duplicate",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Wrap sibling layers in a new group, or in a frame when `flow` is given (a frame whose layout flow arranges them).",
      +    "properties": {
      +      "flow": {
      +        "$ref": "#/$defs/FlowSpec"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "wrap",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Wrap sibling layers in a new frame fitted around them, without a layout flow (the editor's \"Frame selection\"). Add a flow afterwards with update_layers, or use `wrap` with `flow` to do both.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "frame",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Combine shape layers (rectangles, ellipses, vectors, other booleans) into one boolean layer, placed where the topmost of them was. It takes the bottom shape's fills. With a single boolean layer in `ids`, only its operation changes. The shapes stay inside it, editable.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "boolean",
      +        "type": "string"
      +      },
      +      "operation": {
      +        "$ref": "#/$defs/BooleanKind"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "operation"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Remove a group, frame or boolean, keeping its children in its place.",
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "unwrap",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Wrap sibling layers in a \"Mask group\" whose bottom layer becomes the mask: the layers above show only where it is opaque.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "mask",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Stop layers from masking (the layers they hid show in full again).",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "unmask",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Scale layers and everything inside them by `factor` (2 = twice the size): size, text, spacing, radii, strokes, effects and paths grow together, as a scale tool does. `about`: \"origin\" (default) keeps each layer's top-left where it is; \"center\" keeps its centre.",
      +    "properties": {
      +      "about": {
      +        "$ref": "#/$defs/ScaleAbout"
      +      },
      +      "factor": {
      +        "type": "number"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "scale",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "factor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Line layers up: `left`/`center`/`right` set the horizontal edge, `top`/`middle`/`bottom` the vertical one. Several layers line up with the box around all of them; one layer lines up with its parent (or the page). `relative_to: \"parent\"` lines each layer up with its own parent instead. Layers a layout flow places cannot be moved.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "align",
      +        "type": "string"
      +      },
      +      "relative_to": {
      +        "$ref": "#/$defs/AlignReference"
      +      },
      +      "to": {
      +        "$ref": "#/$defs/AlignTo"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "to"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Even gaps between three or more layers along an axis: the first and last stay, the others are spaced between them in their current order.",
      +    "properties": {
      +      "axis": {
      +        "$ref": "#/$defs/DistributeAxis"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "distribute",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "axis"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Change paint order among siblings.",
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "reorder",
      +        "type": "string"
      +      },
      +      "to": {
      +        "$ref": "#/$defs/ReorderTo"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id",
      +      "to"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "New unused id for a layer. After `duplicate`, give each page's own content its own id: one id on two pages is one data column.",
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "new_id": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "set_id",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id",
      +      "new_id"
      +    ],
      +    "type": "object"
      +  }
      +]
  3. Changed1 schema field changed
    • changedInput schema / $defs / StructureOp / oneOf
      Previous value: -[
      -  {
      -    "description": "Move layers under another parent (the page when parent_id is omitted) at `index` (end when omitted). Their x/y stay relative to the new parent.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "index": {
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "op": {
      -        "const": "move",
      -        "type": "string"
      -      },
      -      "parent_id": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Delete layers and everything inside them.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "delete",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Copy a layer (with children and animation) next to the original.",
      -    "properties": {
      -      "count": {
      -        "default": 1,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "id": {
      -        "type": "string"
      -      },
      -      "offset_x": {
      -        "default": 0,
      -        "description": "Shift of each copy from the previous one, in px.",
      -        "type": "number"
      -      },
      -      "offset_y": {
      -        "default": 0,
      -        "type": "number"
      -      },
      -      "op": {
      -        "const": "duplicate",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Wrap sibling layers in a new group, or in a frame when `flow` is given (a frame whose layout flow arranges them).",
      -    "properties": {
      -      "flow": {
      -        "$ref": "#/$defs/FlowSpec"
      -      },
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "wrap",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Wrap sibling layers in a new frame fitted around them, without a layout flow (the editor's \"Frame selection\"). Add a flow afterwards with update_layers, or use `wrap` with `flow` to do both.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "frame",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Combine shape layers (rectangles, ellipses, vectors, other booleans) into one boolean layer, placed where the topmost of them was. It takes the bottom shape's fills. With a single boolean layer in `ids`, only its operation changes. The shapes stay inside it, editable.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "boolean",
      -        "type": "string"
      -      },
      -      "operation": {
      -        "$ref": "#/$defs/BooleanKind"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "operation"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Remove a group, frame or boolean, keeping its children in its place.",
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "unwrap",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Wrap sibling layers in a \"Mask group\" whose bottom layer becomes the mask: the layers above show only where it is opaque.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "name": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "mask",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Stop layers from masking (the layers they hid show in full again).",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "unmask",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Scale layers and everything inside them by `factor` (2 = twice the size): size, text, spacing, radii, strokes, effects and paths grow together, as a scale tool does. `about`: \"origin\" (default) keeps each layer's top-left where it is; \"center\" keeps its centre.",
      -    "properties": {
      -      "about": {
      -        "$ref": "#/$defs/ScaleAbout"
      -      },
      -      "factor": {
      -        "type": "number"
      -      },
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "scale",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "factor"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Line layers up: `left`/`center`/`right` set the horizontal edge, `top`/`middle`/`bottom` the vertical one. Several layers line up with the box around all of them; one layer lines up with its parent (or the page). `relative_to: \"parent\"` lines each layer up with its own parent instead. Layers a layout flow places cannot be moved.",
      -    "properties": {
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "align",
      -        "type": "string"
      -      },
      -      "relative_to": {
      -        "$ref": "#/$defs/AlignReference"
      -      },
      -      "to": {
      -        "$ref": "#/$defs/AlignTo"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "to"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Even gaps between three or more layers along an axis: the first and last stay, the others are spaced between them in their current order.",
      -    "properties": {
      -      "axis": {
      -        "$ref": "#/$defs/DistributeAxis"
      -      },
      -      "ids": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "op": {
      -        "const": "distribute",
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "ids",
      -      "axis"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "description": "Change paint order among siblings.",
      -    "properties": {
      -      "id": {
      -        "type": "string"
      -      },
      -      "op": {
      -        "const": "reorder",
      -        "type": "string"
      -      },
      -      "to": {
      -        "$ref": "#/$defs/ReorderTo"
      -      }
      -    },
      -    "required": [
      -      "op",
      -      "id",
      -      "to"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "Move layers under another parent (the page when parent_id is omitted) at `index` (end when omitted). Their x/y stay relative to the new parent.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "index": {
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "op": {
      +        "const": "move",
      +        "type": "string"
      +      },
      +      "parent_id": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Copy a layer (with children and animation) next to the original.",
      +    "properties": {
      +      "count": {
      +        "default": 1,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "id": {
      +        "type": "string"
      +      },
      +      "offset_x": {
      +        "default": 0,
      +        "description": "Shift of each copy from the previous one, in px.",
      +        "type": "number"
      +      },
      +      "offset_y": {
      +        "default": 0,
      +        "type": "number"
      +      },
      +      "op": {
      +        "const": "duplicate",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Wrap sibling layers in a new group, or in a frame when `flow` is given (a frame whose layout flow arranges them).",
      +    "properties": {
      +      "flow": {
      +        "$ref": "#/$defs/FlowSpec"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "wrap",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Wrap sibling layers in a new frame fitted around them, without a layout flow (the editor's \"Frame selection\"). Add a flow afterwards with update_layers, or use `wrap` with `flow` to do both.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "frame",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Combine shape layers (rectangles, ellipses, vectors, other booleans) into one boolean layer, placed where the topmost of them was. It takes the bottom shape's fills. With a single boolean layer in `ids`, only its operation changes. The shapes stay inside it, editable.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "boolean",
      +        "type": "string"
      +      },
      +      "operation": {
      +        "$ref": "#/$defs/BooleanKind"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "operation"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Remove a group, frame or boolean, keeping its children in its place.",
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "unwrap",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Wrap sibling layers in a \"Mask group\" whose bottom layer becomes the mask: the layers above show only where it is opaque.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "name": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "mask",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Stop layers from masking (the layers they hid show in full again).",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "unmask",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Scale layers and everything inside them by `factor` (2 = twice the size): size, text, spacing, radii, strokes, effects and paths grow together, as a scale tool does. `about`: \"origin\" (default) keeps each layer's top-left where it is; \"center\" keeps its centre.",
      +    "properties": {
      +      "about": {
      +        "$ref": "#/$defs/ScaleAbout"
      +      },
      +      "factor": {
      +        "type": "number"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "scale",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "factor"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Line layers up: `left`/`center`/`right` set the horizontal edge, `top`/`middle`/`bottom` the vertical one. Several layers line up with the box around all of them; one layer lines up with its parent (or the page). `relative_to: \"parent\"` lines each layer up with its own parent instead. Layers a layout flow places cannot be moved.",
      +    "properties": {
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "align",
      +        "type": "string"
      +      },
      +      "relative_to": {
      +        "$ref": "#/$defs/AlignReference"
      +      },
      +      "to": {
      +        "$ref": "#/$defs/AlignTo"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "to"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Even gaps between three or more layers along an axis: the first and last stay, the others are spaced between them in their current order.",
      +    "properties": {
      +      "axis": {
      +        "$ref": "#/$defs/DistributeAxis"
      +      },
      +      "ids": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "op": {
      +        "const": "distribute",
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "ids",
      +      "axis"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "description": "Change paint order among siblings.",
      +    "properties": {
      +      "id": {
      +        "type": "string"
      +      },
      +      "op": {
      +        "const": "reorder",
      +        "type": "string"
      +      },
      +      "to": {
      +        "$ref": "#/$defs/ReorderTo"
      +      }
      +    },
      +    "required": [
      +      "op",
      +      "id",
      +      "to"
      +    ],
      +    "type": "object"
      +  }
      +]
  4. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=false, and the description reinforces it with 'Nothing is deleted here', which is consistent rather than contradictory. It adds behavior annotations do not carry: ops apply in order, the call is atomic ('nothing changes' on failure) unless skip_missing is set, the result is a new revision reverted by undo, and the return value is the created and moved layer ids.

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 dense sentences, front-loaded with the verb, resource and the central `ops` mechanism, followed by exclusions, failure semantics and routing. Every clause carries information, though the long op enumeration in the first sentence is heavy and could be split for readability.

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

Completeness5/5

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

For a high-complexity, multi-op mutation tool with no output schema, the description covers atomicity, skip behavior, revision/undo, return value, and alternative tools. Nothing an agent needs in order to call it safely and correctly is missing, and the 'Guide topic: structure' pointer adds a further route to detail.

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?

With 75% schema coverage the schema already documents most parameters, but the description adds meaning on top: the ordering semantics of the `ops` array and the failure/skip behavior of skip_missing, including that skipped ids come back in `skipped`. It does not mention the `set_id` or `unmask` ops listed in the schema, so the op enumeration is slightly incomplete relative to the enum surface.

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 concrete verb and resource ('Change a design's layer tree') and then enumerates the operation families it supports (move, duplicate, wrap, mask, boolean, unwrap, scale, reorder, align, distribute). It explicitly names the siblings it is not — delete_layers, update_layers, create_layers — so an agent can place it in the toolset without opening any schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit routing: 'Use it for structure; for a layer's own properties use update_layers, and for new layers create_layers', plus 'removing layers is delete_layers'. That covers the main when-to-use and when-not-to-use cases against the sibling tools that could plausibly be confused with it.

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