Skip to main content
Glama

Store Manager for WooCommerce

AddSynapse: draft an Elementor page edit

plan_elementor_edit

AddSynapse: Prepare a DRAFT of changes to ONE document built with Elementor — a page (page_id or front_page), a saved template, or an Elementor Theme Builder header / footer / single / archive template (page_id = its id from describe_site_design, elementor.theme_builder; a header or footer shows on every page it applies to) — (Undo restores the exact previous version; Elementor's CSS is regenerated). Read the document with describe_blocks first and use its element ids. operations (1–20, in order): set_settings {element, settings{key: value|null}}: Elementor settings of any element, e.g. heading title, header_size (h1–h6), align, title_color, typography_typography "custom" + typography_font_family / typography_font_size {unit, size} / typography_font_weight; text-editor editor (HTML), text_color; button text, link {url}, button_text_color, background_color, border_radius {unit, top, right, bottom, left, isLinked}, size (xs|sm|md|lg|xl); image image {id}, width {unit, size}; container / section background_background "classic" + background_color, padding / margin {unit, top, right, bottom, left, isLinked}, min_height {unit, size}, flex_direction, flex_justify_content, flex_align_items, content_width; hide_desktop / hide_tablet / hide_mobile "hidden-desktop"…; link a color to a global color with globals {"title_color": "globals/colors?id=primary"} (global ids from describe_site_design elementor.colors / fonts). set_text {element, text}: heading / text-editor (inline HTML) / button / icon-box / image-box / testimonial main text. set_link {element, url}. set_image {element, image_id (media library), alt}: image / image-box widgets or a container / section / column background. insert {where before|after|inside_first|inside_last|top|bottom, anchor (element id; not for top/bottom), elements [{elType container|widget (a page built with sections: send a section with columns, or a container — it becomes a section with columns; inside an existing block, anchor = its column), widgetType heading|text-editor|button|image|icon-list|spacer|divider|icon|icon-box|image-box|testimonial|star-rating|video|html, settings, elements[]}]} — a widget at top / bottom is wrapped in a container automatically. move {element, where, anchor}. duplicate {element}. remove {element}. Code (Store Assistant 1.3.14+, needs a WordPress user allowed to post unfiltered HTML): custom_css of an element (Elementor Pro only; write selector{…} for the element itself), the html widget (widgetType html, settings html: HTML without script / style / on* attributes; iframe only https YouTube / Vimeo embeds; images only from this site), _attributes "name|value" one per line (Elementor Pro only), link.custom_attributes. Scripts and shortcodes stay closed. Without Elementor Pro, site-wide or page CSS goes to plan_theme_settings Additional CSS (e.g. .page-id-N …). describe_blocks with block= gives the full current value. Images only from the media library. Global colors and 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 20 operations on this document) — 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_elementor_edit"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / operations / items / properties / elements / items / properties / widgetType / enum
      Previous value: -[
      -  "heading",
      -  "text-editor",
      -  "button",
      -  "image",
      -  "icon-list",
      -  "spacer",
      -  "divider",
      -  "icon",
      -  "icon-box",
      -  "image-box",
      -  "testimonial",
      -  "star-rating",
      -  "video"
      -]New value: +[
      +  "heading",
      +  "text-editor",
      +  "button",
      +  "image",
      +  "icon-list",
      +  "spacer",
      +  "divider",
      +  "icon",
      +  "icon-box",
      +  "image-box",
      +  "testimonial",
      +  "star-rating",
      +  "video",
      +  "html"
      +]
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations, the description explains the preview/Approve workflow, that no site change occurs until approval, exact undo behavior, CSS regeneration, media-library restrictions, and the WordPress permission needed for code operations. It also discloses Elementor Pro limitations and that scripts and shortcodes stay closed.

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?

The information is useful but packed into one very dense paragraph with repeated approval and undo points. The purpose is front-loaded, but the middle becomes a run-on dump of operation details that would benefit from clearer structure.

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 complex, multi-operation planning tool with no output schema, the description covers the approval lifecycle, undo guarantees, document discovery requirements, operation semantics, and important limitations. An agent has enough context to call it correctly and safely.

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?

Schema description coverage is low, but the description compensates extensively by explaining operation types, settings keys, insert placement semantics, anchor rules, image handling, global color linking, and per-operation constraints. It adds substantial meaning beyond the bare schema for nearly all operation fields.

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 states a specific verb and resource: preparing a DRAFT of Elementor document edits for a page, template, or Theme Builder document. It clearly distinguishes the scope from broader document editing and names relevant sibling tools such as describe_blocks, plan_elementor_kit, and plan_theme_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?

It gives explicit preconditions: read the document with describe_blocks first and use its element ids. It also routes related work elsewhere, including global colors and fonts to plan_elementor_kit and non-Pro CSS to plan_theme_settings Additional CSS.

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