Skip to main content
Glama

push_draft_to_board

Push draft layouts, color palettes, prompt profiles, or critique suggestions to the Atelier Board, updating only supplied fields while preserving existing values.

Instructions

Push draft layout (MOSS JSON or elements in absolute pixels), a color palette, prompt profile, or Critique diagnostic suggestions. Omitted fields retain their current values. Palette or profile updates alone keep the current mode. Suggestions alone open Critique unless keepMode is true. 推送草案布局(MOSS JSON 或绝对像素元素)、色板、提示词配置或评审诊断建议。省略字段保留原值。仅更新色板或提示词配置时保持当前模式。仅推送建议时切入评审模式,keepMode 为 true 时保持当前模式。

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "push_draft_to_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
cameraNoOptional camera framing, depth of field, focus element index, horizon line, and 1-point vanishing point.
canvasNo
paletteNoOptional color palette swatches (up to 5) and value/saturation tone.
summaryNo
vectorsNoOptional composition arrows for key light, gaze, or direction. Both endpoints are [x, y] in pixels with a top-left origin.
elementsNoSupply either mossJson or elements. If both are supplied, elements overrides the imported element list.
keepModeNoKeep the current mode when true. Palette or prompt-profile updates alone also keep the current mode. Suggestions alone open Critique. Draft content opens Draft Layout. 为 true 时保持当前模式。仅更新色板或提示词配置也保持当前模式。仅推送建议时切入评审模式,推送草案内容时切入草案模式。
mossJsonNoSupply either mossJson or elements. If both are supplied, elements overrides the imported element list.
sketchesNoOptional freehand flow curves or contour sketches.
outputIntentNo
promptProfileNoOptional target image model preset and prompt language preference.
critiqueSuggestionsNoOptional AI diagnostic suggestions for Critique mode. Shown separately until the user accepts or dismisses them.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the two behaviors that matter most for a mutation tool: this is a partial merge (omitted fields keep current values) and it has mode side effects that depend on payload category. It stops short of stating prerequisites (open board, auth), failure behavior, or whether a push is reversible.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded and logically ordered — capability list, then merge semantics, then mode rules. However, the entire text is duplicated verbatim in Chinese, roughly doubling length with no additional information, which dilutes an otherwise tight two-to-three sentence definition.

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 12-parameter, nested, unannotated mutation tool the description covers the highest-risk semantics (merge behavior, mode transitions, keepMode escape hatch). It leaves unresolved the genuine overlap with sync_prompt_to_board on prompt-profile updates and says nothing about prerequisites or return shape, and no output schema exists to fill that gap.

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 75% with extensive inline field descriptions, so the baseline is 3. The description adds meaning mainly for keepMode and the payload-category-to-mode mapping; the other top-level parameters (camera, canvas, vectors, sketches, summary, outputIntent) get no elaboration here, though the schema documents them well.

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?

Opens with a specific verb ("Push") and enumerates the exact resource categories it accepts: draft layout via MOSS JSON or absolute-pixel elements, color palette, prompt profile, or Critique suggestions. An agent can tell what payload types are in scope. It does not, however, distinguish itself from siblings like sync_prompt_to_board, which appears to overlap on the prompt-profile surface.

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?

Gives real conditional rules: omitted fields retain current values, palette-only or profile-only updates preserve the current mode, and suggestions-only opens Critique unless keepMode is true. What is missing is routing guidance against alternatives — when to call this instead of sync_prompt_to_board or get_board_state, and whether a board must already be open.

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