Skip to main content
Glama

mcp_update_elementor_element

Update a single Elementor element's settings by merging or replacing them, or swap the widget type in place while keeping the same ID, position and parent, e.g. converting placeholders into working widgets.

Instructions

Update settings on a single Elementor element (merge by default). With widget_type, replaces the widget in place (same id, position and parent), e.g. turn a V4 placeholder into a V3 html widget; the type must be registered with Elementor. Give settings, widget_type, or both.

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": {
      "site": "<site>",
      "id": "<id>",
      "element_id": "<element_id>"
    },
    "name": "mcp_update_elementor_element"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPost/page ID
siteYesSite id (see list_sites)
settingsNoSettings to merge into (or, with settings_mode replace, to become) the element's settings. Optional when widget_type is given.
element_idYesElementor element ID (hex, usually 7-8 chars)
widget_typeNoReplace the widget type in place (cvrt-mcp-endpoints 1.13.0+). Widgets only, not containers.
settings_modeNomerge (default): top-level keys are merged into the current settings; replace: settings become the element's complete settings

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changedv3.14.0
    • changedInput schema / properties / element_id / description
      Previous value: -"Elementor element ID"New value: +"Elementor element ID (hex, usually 7-8 chars)"
    • addedInput schema / properties / element_id / pattern
      Added value: +"^[a-fA-F0-9]+$"
    • changedInput schema / properties / id / type
      Previous value: -"number"New value: +"integer"
    • changedInput schema / properties / settings / description
      Previous value: -"Settings to merge into (or, with settings_mode replace, to become) the element's settings"New value: +"Settings to merge into (or, with settings_mode replace, to become) the element's settings. Optional when widget_type is given."
    • changedInput schema / properties / settings_mode / description
      Previous value: -"merge (default) or replace: settings become the element's complete settings"New value: +"merge (default): top-level keys are merged into the current settings; replace: settings become the element's complete settings"
    • changedInput schema / required
      Previous value: -[
      -  "site",
      -  "id",
      -  "element_id",
      -  "settings"
      -]New value: +[
      +  "site",
      +  "id",
      +  "element_id"
      +]
  2. Changed5 schema fields changedv3.4.0
    • changedInput schema / properties / settings / description
      Previous value: -"Settings to merge into the element"New value: +"Settings to merge into (or, with settings_mode replace, to become) the element's settings"
    • addedInput schema / properties / settings_mode
      Added value: +{
      +  "description": "merge (default) or replace: settings become the element's complete settings",
      +  "enum": [
      +    "merge",
      +    "replace"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "Site id (see list_sites)",
      +  "type": "string"
      +}
    • addedInput schema / properties / widget_type
      Added value: +{
      +  "description": "Replace the widget type in place (cvrt-mcp-endpoints 1.13.0+). Widgets only, not containers.",
      +  "pattern": "^[a-z0-9][a-z0-9_-]*$",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "id",
      -  "element_id",
      -  "settings"
      -]New value: +[
      +  "site",
      +  "id",
      +  "element_id",
      +  "settings"
      +]
  3. First observedv2.0.0

TDQS

A4.3/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden; it does disclose the key mutation traits: merge-by-default semantics and, for widget swaps, that id, position, and parent are preserved. It omits permissions requirements, reversibility, and error behavior, which leaves some gaps for a mutation tool with zero annotation coverage.

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?

Three tight sentences, front-loaded with the primary action and the default behavior before the special case. The trailing fragment 'Give settings, widget_type, or both.' is efficient but slightly telegraphic, and '(merge by default)' partly repeats the settings_mode schema description.

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

Completeness4/5

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

For a six-parameter mutation tool with nested settings and no annotations, the description covers both operating modes and their effects on element state. With no output schema present, it is silent on what is returned after the update, which is the main remaining gap.

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 100%, so the baseline is 3; the description adds genuine value beyond it by clarifying that at least one of settings/widget_type is needed (neither is marked required in the schema) and that widget_type is constrained to registered Elementor types. It does not elaborate on element_id format or site selection, but those are fully documented in the schema.

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?

Names a specific verb and resource ('Update settings on a single Elementor element') and goes further to describe a distinct second mode ('With widget_type, replaces the widget in place'). The 'single element' scoping plus the widget-swap mode clearly separates it from page-settings, kit, and widget-level siblings without needing to name them.

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?

States the parameter combination rule directly ('Give settings, widget_type, or both') and a hard prerequisite ('the type must be registered with Elementor'). It does not route the agent elsewhere for page-level or kit-level changes, so there is clear context but no explicit exclusions.

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

Deploy Server

Other Tools