Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft theme settings, logo, widgets or CSS

plan_theme_settings

AddSynapse: Prepare a DRAFT of changes to the THEME SETTINGS of the site (Undo restores the exact previous values). Read describe_site_design first (sections customizer, widgets, css). operations (1–30): set {setting, value}: any option the theme / plugins register in the Customizer, by its id from describe_site_design → customizer (header / footer layout, colors, typography, buttons, logo width…; ids like storefront_header_background_color or astra-settings[header-bg-obj-responsive]); values as the setting expects (colors #hex, numbers, choices from choices, objects for responsive settings shaped like their current value). Core settings: blogname (site title), blogdescription (tagline), custom_logo and site_icon (a media library image id from find_media; 0 removes the logo), background_color, header_textcolor. Widgets of classic themes: add_widget {sidebar (widget area id), blocks | text | markup, position?} (blocks = structured blocks like plan_blocks_edit: [{name: core/paragraph|heading|list|buttons|image…, text, url, image_id, attrs, inner}]), update_widget {widget_id (block-N), blocks | text | markup}, remove_widget {widget_id}, move_widget {widget_id, sidebar, position}. Additional CSS — LAST RESORT, only when no setting, block attribute or site style does it: add_css {label, css} / replace_css {label, css} / remove_css {label}: the CSS is kept in a block named by its label (say what it does, e.g. "Hide header search on mobile"), use specific selectors scoped to what should change, plain CSS only (no @import, url() only https). Block themes: site colors / fonts are plan_global_styles and header / footer are plan_blocks_edit; site title, tagline, logo and Additional CSS still work here. 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 30 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_theme_settings"
  }
}

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.3/5.0
Behavior3/5

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

Rich behavioral context beyond annotations: changes nothing by itself, a preview card with before → after list and Approve button appears, and undo restores exact previous values. These clarify the draft/approval/undo mechanics. However, annotations already signal non-destructive, non-read-only behavior, and the description doesn't cover operational limits like what happens to an approved changeset when a second plan is drafted or how long a draft persists.

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 with purpose and routing, but the remainder is a dense single block mixing set semantics, widgets, CSS, and block-theme exclusions without lists or headings. Every sentence largely earns its place for a complex tool, but the wall-of-text format makes it hard to scan the 30 op types.

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 with nested operations, multiple op types, and no output schema, the description covers all operations, value shapes, widget structures, CSS safeguards (plain CSS, no @import, https url()), core settings like blogname/custom_logo (0 removes the logo), and the preview/approve flow. An agent has everything needed to construct a valid call and understand the effect.

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

Parameters4/5

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

Schema coverage is only 50% and the schema itself is largely structural (an op enum with generic value/text/blocks fields), so the description carries the semantic load. It explains each op's meaning (set by Customizer id, add_widget with blocks/text/markup, add_css/replace_css/remove_css by label), value formats (colors #hex, numeric, choices, responsive objects), and CSS constraints. The site parameter is only lightly covered ('address or site_id … omit when one site'), which the schema also documents.

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: prepare a DRAFT of changes to the THEME SETTINGS of the site. It immediately distinguishes the tool from plan_global_styles and plan_blocks_edit by naming what those cover (block theme colors/fonts, header/footer) and what this handles (logo, widgets, CSS, classic Customizer settings).

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?

Explicit routing: 'Read describe_site_design first', 'add_css — LAST RESORT, only when no setting, block attribute or site style does it', and for block themes use plan_global_styles and plan_blocks_edit. It also gives procedural guidance: say in plain words what will change, get the user's agreement, and put every edit in ONE call rather than 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