Skip to main content
Glama

adobe_edit_layers

Destructive

Rename, show/hide, or adjust opacity of layers by exact path and expected name in an owned copy, ensuring only verified layers are modified.

Instructions

Rename, hide/show or change opacity of exact paths with expected names in an owned copy.

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

Input Schema

NameRequiredDescriptionDefault
editsYes
session_idYes
applicationYes

Output Schema

NameRequiredDescriptionDefault
copyYes
documentYes
retry_safeYes
session_idYes
operation_idYes
source_sha256Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.3.0
    • removedInput schema / $defs
      Removed value: -{
      -  "LayerEdit": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "expected_name": {
      -        "type": "string"
      -      },
      -      "name": {
      -        "default": null,
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "opacity": {
      -        "default": null,
      -        "maximum": 100,
      -        "minimum": 0,
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "path": {
      -        "items": {
      -          "maximum": 10000,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "maxItems": 32,
      -        "minItems": 1,
      -        "type": "array"
      -      },
      -      "visible": {
      -        "default": null,
      -        "type": [
      -          "boolean",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "path",
      -      "expected_name"
      -    ],
      -    "type": "object"
      -  }
      -}
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / properties / application / type
      Removed value: -"string"
    • removedInput schema / properties / edits / items / $ref
      Removed value: -"#/$defs/LayerEdit"
    • addedInput schema / properties / edits / items / additionalProperties
      Added value: +false
    • addedInput schema / properties / edits / items / properties
      Added value: +{
      +  "expected_name": {
      +    "type": "string"
      +  },
      +  "name": {
      +    "type": [
      +      "string",
      +      "null"
      +    ]
      +  },
      +  "opacity": {
      +    "maximum": 100,
      +    "minimum": 0,
      +    "type": [
      +      "number",
      +      "null"
      +    ]
      +  },
      +  "path": {
      +    "items": {
      +      "maximum": 10000,
      +      "minimum": 0,
      +      "type": "integer"
      +    },
      +    "maxItems": 32,
      +    "minItems": 1,
      +    "type": "array"
      +  },
      +  "visible": {
      +    "type": [
      +      "boolean",
      +      "null"
      +    ]
      +  }
      +}
    • addedInput schema / properties / edits / items / required
      Added value: +[
      +  "path",
      +  "expected_name"
      +]
    • addedInput schema / properties / edits / items / type
      Added value: +"object"
    • removedOutput schema / properties / retry_safe / type
      Removed value: -"boolean"
  2. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

The annotations already declare this as a destructive, non-read-only mutation. The description adds the important safety detail that paths must match expected names, but it does not explain mismatch behavior, atomicity, edit limits, or failure semantics.

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?

The description is a single front-loaded sentence with no filler. The operational verbs appear first, and the safety constraint follows tightly.

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-value explanation is not required. Still, for a destructive nested edit tool, the description should say more about what happens when expected_name does not match and whether edits are atomic.

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?

With 0% schema description coverage, the description usefully maps edit actions to fields: rename to 'name', hide/show to 'visible', opacity to 'opacity', exact paths to 'path', and safety checks to 'expected_name'. However, it does not explain session_id, application differences, path format, opacity scale, or the 64-edit limit.

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 specific operations (rename, hide/show, change opacity) and the target resource (exact paths in an owned copy). It is clear enough to distinguish a layer-property mutation from read-only siblings like adobe_inspect, though it does not explicitly name alternatives.

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?

The phrase 'in an owned copy' implies a session-ownership prerequisite, but there is no explicit guidance on when to use this tool versus adobe_inspect or other editing siblings. Usage is inferable rather than stated.

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