Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

set_background_layers

DestructiveIdempotent

Set up to eight ordered background overlays for a panel or connected hero. Supports image opacity/crop/tiling and gradients. Empty array clears overlays; null restores inherited overlays. Read get_project first and pass expectedRevision.

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>",
      "layers": "<layers>"
    },
    "name": "set_background_layers"
  }
}

Input Schema

NameRequiredDescriptionDefault
layersYes
localeNo
positionYes
projectIdYes
expectedRevisionNo

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

A3.9/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true; the description adds the concrete destructive behavior (an empty array wipes overlays, null reverts to inherited state) plus the optimistic-concurrency revision requirement. It does not state what happens on a revision mismatch or which overlays are replaced, which keeps it from a 5.

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?

Three dense sentences: capability and limits first, then edge-case semantics for layers, then the required precondition. No filler or repetition of annotation facts.

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?

A destructive mutation tool with five parameters and no schema descriptions needs more coverage than this. The layers and revision semantics are solid, but the meaning of 'position' and 'locale' and what the call returns are absent, leaving ambiguity an agent cannot resolve from structured fields.

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 description coverage is 0%, so the description carries the burden. It explains the layers parameter well (ordered, max eight, empty clears, null restores) and the purpose of expectedRevision, but leaves 'position' (an integer 1-190) and 'locale' entirely unexplained in both schema and description.

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?

Names a specific verb and resource ('Set up to eight ordered background overlays for a panel or connected hero') and states the supported overlay types (image opacity/crop/tiling, gradients). It does not explicitly differentiate itself from the sibling set_background (singular) or transform_layers, so an agent must infer the multi-layer vs single-layer split.

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

Usage Guidelines4/5

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

Gives concrete preconditions – 'Read get_project first and pass expectedRevision' – and names the sibling to call before it. It also explains the two edge-case invocations (empty array clears, null restores inherited), but stops short of stating when to choose this tool over set_background or transform_layers.

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