Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft site colors, fonts and spacing

plan_global_styles

AddSynapse: Prepare a DRAFT of SITE-WIDE style changes of a block theme (what Appearance → Editor → Styles saves: every page, header and footer follow them) (Undo restores the exact previous styles). Read describe_site_design (styles) first for the palette slugs, font families, sizes and current customisations. operations (1–40, in order): set {path, value} / remove {path} — paths: styles.color.text|background|gradient, styles.typography.fontFamily|fontSize|fontWeight|lineHeight|letterSpacing|textTransform|textDecoration, styles.spacing.padding|margin (object {top,right,bottom,left} or one side .top…) | blockGap, styles.border.radius|width|style|color, styles.shadow, styles.dimensions.minHeight; the same under styles.elements.<link|heading|h1…h6|button|caption|cite> (and styles.elements.link.:hover / button.:hover) and under styles.blocks.<core/button|core/navigation|core/site-title|core/post-title|…> for every block of a type; settings.layout.contentSize|wideSize. Values: CSS colors (#hex, rgb(), hsl()) or palette references (var:preset|color|), lengths (16px, 1.2rem, clamp()) or presets (var:preset|font-size|, var:preset|spacing|), font families as var:preset|font-family| of an available family. palette_color {slug, color, name?}: change a palette color everywhere it is used (existing slug) or add one (new slug). variation {title}: switch to one of the theme's style variations. css {css, block?}: custom CSS for the whole site or for every block of a type (last resort; plain CSS, no @import, url() only https). Classic themes: plan_theme_settings; Elementor global colors / fonts: plan_elementor_kit. Changes nothing by itself: a preview card with the before → after list and an Approve button appears in the chat; nothing changes on the site until the user presses Approve there, and every applied change can be undone exactly. Before calling it, say in plain words what will change and get the user's agreement. Put every edit of this request in ONE call (up to 40 operations) — the user approves them together with one click and can undo them together; never one call per item.

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": {
      "operations": "<operations>"
    },
    "name": "plan_global_styles"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteNoWhich connected site: its address or site_id from addsynapse_list_sites. Omit when the account has only one site.
operationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Beyond the annotations (readOnly=false, destructive=false, idempotent=false), the description discloses what the annotations cannot: nothing changes on the site until the user presses Approve, a preview card shows the before → after list, and undo restores the exact previous styles. It also constrains the css escape hatch (last resort, no @import, url() only https) and the 40-operation limit, which are real behavioral traits not captured in structured fields.

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?

Purpose and scope are front-loaded in the first sentence, and nearly every clause carries actionable detail. It is, however, one very long run-on paragraph dense with parentheticals; the operation grammar and value formats would read far better as a short bulleted list, and a few phrasings repeat the undo/approve guarantee.

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

Completeness5/5

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

For a tool that coordinates preview, approval, batching and an exact undo — with no output schema — the description supplies everything an agent needs: what it mutates, that it mutates nothing directly, sequencing with describe_site_design, sibling routing, value syntax and the one-call rule. No material gap remains.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Although top-level schema coverage is only 50%, the description carries the full semantics of the operations array: the five op kinds, the exhaustive path grammar for styles.color/typography/spacing/border/shadow/dimensions, elements and blocks variants, the value formats (CSS colors, lengths, var:preset|color|<slug>, var:preset|font-size|<slug>), and the shape of palette_color, variation and css. This adds substantial meaning the schema's bare enum and pattern do not convey.

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?

The description opens with a specific verb and resource — "Prepare a DRAFT of SITE-WIDE style changes of a block theme" — and immediately scopes it (every page, header and footer follow them). It explicitly contrasts with plan_theme_settings for classic themes and plan_elementor_kit for Elementor, so an agent can distinguish it from every sibling without opening a schema.

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?

It states prerequisites ("Read describe_site_design (styles) first for the palette slugs…"), names the alternatives and the condition that selects them ("Classic themes: plan_theme_settings; Elementor global colors / fonts: plan_elementor_kit"), and gives a behavioral instruction ("say in plain words what will change and get the user's agreement"). It also enforces batching: "Put every edit of this request in ONE call… never one call per item."

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