Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

save_panel

DestructiveIdempotent

Atomically save the edited SceneDoc from get_panel and return its image immediately by default. Supports every editor property and any number of layer edits in one revision; connected hero slices update together. Send expectedRevision from get_panel. Preserve canvas, family and panorama metadata. Missing copy uses neutral draft defaults, matching gallery and editor; explicitly empty strings stay empty. Complete or omit missing text with set_copy before export. A preview failure is returned as previewError after a successful save; do not repeat the write. preview:false saves without rendering. Final export still uses export_project and preview_render.

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>",
      "expectedRevision": "<expectedRevision>",
      "scene": "<scene>"
    },
    "name": "save_panel"
  }
}

Input Schema

NameRequiredDescriptionDefault
sceneYesComplete SceneDoc JSON returned by get_panel: version, canvas, background, layers and optional backgroundLayers, studio, panorama. Edit layers in place; preserve bindings and metadata. Full editor validation applies.
familyNoiphone
localeNoOmit for the project’s main localization.
maxSideNo
previewNo
positionYes
projectIdYes
expectedRevisionYes

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

A4.3/5.0
Behavior4/5

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

Annotations already declare destructive=true and idempotent=true, but the description adds real behavioral context: atomic multi-layer revisions, connected hero slices updating together, metadata preservation, neutral draft defaults for missing copy versus preserved empty strings, and previewError semantics after a successful write. It stops short of saying what a save overwrites (prior revision) or how conflicts on a stale expectedRevision fail, which for a destructive mutation would be valuable.

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?

Front-loaded with the core action and return, then organized as discrete rules per concern. It is dense and slightly long, but nearly every clause carries operative information; only the gallery/editor-matching phrasing borders on redundant.

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

Completeness4/5

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

With no output schema, the description usefully explains the return value (image by default, previewError on render failure) and the revision/preview interplay. The remaining gap is the four undocumented scalar parameters (family, locale, maxSide, position) in a nested, mutation-heavy tool with destructive semantics.

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 only 25% across 8 parameters, and the description compensates for some: preview behavior, expectedRevision sourcing, and the scene/canvas/family/panorama content of the payload. However, family, locale, maxSide, and position are never explained in either schema or description, so the compensation is partial.

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 specific verb and resource ("Atomically save the edited SceneDoc from get_panel") plus the default return ("return its image immediately by default"), and implicitly separates itself from export_project and preview_render, which are named as the right tools for final output.

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 prep instructions ("Complete or omit missing text with set_copy before export"), a concurrency requirement ("Send expectedRevision from get_panel"), a failure-handling rule ("A preview failure is returned as previewError after a successful save; do not repeat the write"), and an alternative path ("preview:false saves without rendering"). When-to-use versus export_project/preview_render is stated directly.

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