Skip to main content
Glama

AppScreenDesign 3D Screenshot Studio

set_shared_image

DestructiveIdempotent

Place or update one image across two adjacent independent panels in one atomic revision. Give the image box in first-panel units; it must cross x=1. The second slice is calculated automatically. Reapply this tool to move or resize both slices; individual edits do not stay linked. For connected hero panels, edit their single shared scene instead.

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>",
      "family": "<family>",
      "startPosition": "<startPosition>",
      "expectedRevision": "<expectedRevision>",
      "image": "<image>"
    },
    "name": "set_shared_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageYesImage layer JSON with type image, id, src, fit and box. Box uses the first panel as x=0..1 and crosses x=1.
familyYes
localeNo
projectIdYes
startPositionYes
expectedRevisionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / startPosition / maximum
      Previous value: -39New value: +189
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and closed-world, and the description meaningfully adds to that: the operation is atomic across two panels, the second slice is derived automatically, and individual slice edits break the linkage. It does not cover what happens on an expectedRevision mismatch or that an existing image at that position is replaced, so the mutation risk is only partly spelled out.

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?

Four short sentences, front-loaded with the action and the cross-x=1 constraint, then the recalculation note, the reapply rule, and the exclusion. No filler and no repeated content.

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?

For a destructive, revision-guarded mutation with a nested image object and no output schema, the description covers the geometry constraint and atomicity but omits concurrency-failure behavior and the meaning of family/startPosition. It is adequate to attempt a call but not to predict its edge cases.

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 only 17%, so the description carries most of the burden, yet it explains only the image box (first-panel units, must cross x=1) — which the schema already states. It says nothing about family, startPosition, expectedRevision or locale, leaving four of six parameters without meaning beyond their names.

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 ('Place or update one image') plus a precise scope: two adjacent independent panels, one atomic revision. The closing sentence distinguishes it from the connected/hero-panel case, so an agent can separate this from set_layer or a shared-scene edit 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 Guidelines4/5

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

Gives clear when-to-use (two adjacent independent panels, box must cross x=1) and when-not (connected hero panels should be edited via their shared scene), plus the reapplication rule for moving or resizing. It loses the top mark because the alternative path is described but no sibling tool is named, leaving the agent to guess which tool edits the shared scene.

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