Skip to main content
Glama

adobe_add_path

Destructive

Creates retained editable Bézier path geometry, optionally filled, using px/pt coordinates from the top-left for precise vector shapes in Photoshop or Illustrator.

Instructions

Create retained editable Bézier geometry, optionally filled; coordinates use px/pt from top left.

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": {
      "application": "<application>",
      "session_id": "<session_id>",
      "name": "<name>",
      "points": "<points>"
    },
    "name": "adobe_add_path"
  }
}

Input Schema

NameRequiredDescriptionDefault
rgbNo
nameYes
closedNo
pointsYes
group_pathNo
session_idYes
applicationYes
expected_group_nameNo

Output Schema

NameRequiredDescriptionDefault
copyYes
documentYes
retry_safeYes
session_idYes
operation_idYes
source_sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv0.3.0
    • removedInput schema / $defs / BezierPoint
      Removed value: -{
      -  "additionalProperties": false,
      -  "properties": {
      -    "anchor": {
      -      "items": {
      -        "type": "number"
      -      },
      -      "maxItems": 2,
      -      "minItems": 2,
      -      "type": "array"
      -    },
      -    "left": {
      -      "items": {
      -        "type": "number"
      -      },
      -      "maxItems": 2,
      -      "minItems": 2,
      -      "type": "array"
      -    },
      -    "right": {
      -      "items": {
      -        "type": "number"
      -      },
      -      "maxItems": 2,
      -      "minItems": 2,
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "anchor",
      -    "left",
      -    "right"
      -  ],
      -  "type": "object"
      -}
    • addedInput schema / $defs / s0
      Added value: +{
      +  "items": {
      +    "type": "number"
      +  },
      +  "maxItems": 2,
      +  "minItems": 2,
      +  "type": "array"
      +}
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / application / type
      Removed value: -"string"
    • removedInput schema / properties / expected_group_name / default
      Removed value: -null
    • removedInput schema / properties / group_path / default
      Removed value: -null
    • removedInput schema / properties / points / items / $ref
      Removed value: -"#/$defs/BezierPoint"
    • addedInput schema / properties / points / items / additionalProperties
      Added value: +false
    • addedInput schema / properties / points / items / properties
      Added value: +{
      +  "anchor": {
      +    "$ref": "#/$defs/s0"
      +  },
      +  "left": {
      +    "$ref": "#/$defs/s0"
      +  },
      +  "right": {
      +    "$ref": "#/$defs/s0"
      +  }
      +}
    • addedInput schema / properties / points / items / required
      Added value: +[
      +  "anchor",
      +  "left",
      +  "right"
      +]
    • addedInput schema / properties / points / items / type
      Added value: +"object"
    • removedInput schema / properties / rgb / default
      Removed value: -null
    • removedOutput schema / properties / retry_safe / type
      Removed value: -"boolean"
  2. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the mutation/safety profile is known. The description adds genuinely new context by saying the geometry is 'retained' and 'editable' (persists in the document and stays a live path object), but it never explains what is destroyed, whether existing selections are affected, or what a successful call returns despite having an output schema.

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?

A single compact sentence with the core action front-loaded and no filler. The semicolon clause earns its place by fixing the coordinate origin and units, though 'optionally filled' is vague about which parameter performs the fill.

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?

An output schema exists, so return values need not be explained, and annotations carry the safety profile. However, for an 8-parameter tool with a nested per-point anchor/left/right structure and 0% schema coverage, the description omits too much for an agent to construct valid geometry without reverse-engineering the schema.

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

Parameters2/5

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

Schema description coverage is 0% across 8 parameters, so the description must compensate and largely does not. It hints at filling via 'optionally filled' (rgb) and at the coordinate system for points ('px/pt from top left'), but says nothing about anchor/left/right control-point semantics, the closed default, group_path, expected_group_name, or application/session_id, leaving the most complex parameter unexplained.

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 states a specific verb and resource ('Create retained editable Bézier geometry') plus a distinguishing property ('optionally filled'), which cleanly separates it from adobe_add_rectangle and adobe_add_text among the siblings. It stops short of naming or contrasting an alternative explicitly, so it is clear but not maximally differentiated.

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

Usage Guidelines2/5

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

There is no when-to-use or when-not guidance, no mention of prerequisites such as an open document or valid session, and no pointer to alternatives like adobe_add_rectangle for simple shapes. The only implicit cue is that a Bézier path is wanted rather than a primitive.

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