Skip to main content
Glama

Yuppsy

website_builder_save_page_content

Destructive

Replace all page modules; an empty array clears them. Each module Data is a JSON-encoded string.

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": {
      "siteId": "<siteId>",
      "pageId": "<pageId>",
      "content": "<content>"
    },
    "name": "website_builder_save_page_content"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageIdYesPage ID.
siteIdYesWebsite ID.
contentYesComplete ordered array of page content modules.

Output Schema

NameRequiredDescriptionDefault
pageNoPage data, including the created page on a partial failure.
errorNo
itemsNoPage IDs that reference a page whose deletion was blocked.
catalogNoSlim component catalog returned by get_template_components.
successNo
warningNo
websiteNoComplete website structure returned by get_structure, including template/version, all pages and site-wide components.
componentNoComponent field map and content defaults returned by get_template_component.
websiteIdNoCreated website ID, including on partial creation failure.
statusCodeNo
integrityErrorsNoIntegrity errors, when returned by the checker or repair.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • addedOutput schema / properties / catalog
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Slim component catalog returned by get_template_components.",
      +  "properties": {
      +    "components": {
      +      "anyOf": [
      +        {
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "items": {
      +        "properties": {
      +          "attributes": {
      +            "anyOf": [
      +              {
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "items": {
      +              "$ref": "#/properties/page/properties/content/items/properties/templateBlockAttributesObject/items"
      +            }
      +          },
      +          "blockName": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Component type to use as blockName when saving content."
      +          },
      +          "blockParseName": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "description": "Exact compiled component identifier to use as blockParseName when saving content."
      +          },
      +          "compiledSourceName": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "name": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "thumbnail": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "templateId": {
      +      "type": "integer"
      +    },
      +    "templateVersion": {
      +      "anyOf": [
      +        {
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "properties": {
      +        "details": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "headId": {
      +          "type": "integer"
      +        },
      +        "id": {
      +          "type": "integer"
      +        },
      +        "major": {
      +          "type": "integer"
      +        },
      +        "minor": {
      +          "type": "integer"
      +        },
      +        "revision": {
      +          "type": "integer"
      +        },
      +        "templateId": {
      +          "type": "integer"
      +        }
      +      }
      +    },
      +    "websiteId": {
      +      "type": "integer"
      +    }
      +  }
      +}
    • addedOutput schema / properties / component
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Component field map and content defaults returned by get_template_component.",
      +  "properties": {
      +    "attributes": {
      +      "anyOf": [
      +        {
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "items": {
      +        "$ref": "#/properties/page/properties/content/items/properties/templateBlockAttributesObject/items"
      +      }
      +    },
      +    "blockName": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "blockParseName": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "blockTypes": {
      +      "anyOf": [
      +        {
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "items": {
      +        "type": "string"
      +      }
      +    },
      +    "defaultData": {
      +      "description": "Clean content defaults from the editor resolver. Null for editor-ignored components. Serialize this value to JSON for the page component data string."
      +    },
      +    "isDynamic": {
      +      "type": "boolean"
      +    },
      +    "isEditorIgnored": {
      +      "type": "boolean"
      +    },
      +    "isSiteComponent": {
      +      "type": "boolean"
      +    },
      +    "map": {
      +      "anyOf": [
      +        {
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "description": "Structured template field map, including nested fields and editability metadata."
      +    },
      +    "templateId": {
      +      "type": "integer"
      +    },
      +    "templateVersion": {
      +      "anyOf": [
      +        {
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "properties": {
      +        "details": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "headId": {
      +          "type": "integer"
      +        },
      +        "id": {
      +          "type": "integer"
      +        },
      +        "major": {
      +          "type": "integer"
      +        },
      +        "minor": {
      +          "type": "integer"
      +        },
      +        "revision": {
      +          "type": "integer"
      +        },
      +        "templateId": {
      +          "type": "integer"
      +        }
      +      }
      +    },
      +    "thumbnail": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "websiteId": {
      +      "type": "integer"
      +    }
      +  }
      +}
    • addedOutput schema / properties / website
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "object"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "description": "Complete website structure returned by get_structure, including template/version, all pages and site-wide components.",
      +  "properties": {
      +    "companyId": {
      +      "type": "integer"
      +    },
      +    "created": {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    "domain": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "domainId": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "footerData": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "footerParseName": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "guid": {
      +      "format": "uuid",
      +      "type": "string"
      +    },
      +    "icon": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "iconFileId": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "id": {
      +      "type": "integer"
      +    },
      +    "isDefault": {
      +      "type": "boolean"
      +    },
      +    "isDirty": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "isLive": {
      +      "anyOf": [
      +        {
      +          "type": "boolean"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "logoText": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "logoUri": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "logoUriFileId": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "menuData": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "menuParseName": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "pages": {
      +      "anyOf": [
      +        {
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "items": {
      +        "properties": {
      +          "content": {
      +            "$ref": "#/properties/page/properties/content",
      +            "items": {}
      +          },
      +          "id": {
      +            "type": "integer"
      +          },
      +          "isHidden": {
      +            "type": "boolean"
      +          },
      +          "isHome": {
      +            "type": "boolean"
      +          },
      +          "isNonClick": {
      +            "type": "boolean"
      +          },
      +          "isRef": {
      +            "type": "boolean"
      +          },
      +          "name": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "order": {
      +            "anyOf": [
      +              {
      +                "type": "integer"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "parentId": {
      +            "type": "integer"
      +          },
      +          "path": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "userSiteId": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "siteComponents": {
      +      "anyOf": [
      +        {
      +          "type": "array"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "items": {
      +        "properties": {
      +          "blockName": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "blockParseName": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "data": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "dataEdit": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "id": {
      +            "type": "integer"
      +          },
      +          "options": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "templateBlockAttributes": {
      +            "anyOf": [
      +              {
      +                "type": "string"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ]
      +          },
      +          "templateBlockAttributesObject": {
      +            "anyOf": [
      +              {
      +                "type": "array"
      +              },
      +              {
      +                "type": "null"
      +              }
      +            ],
      +            "items": {
      +              "$ref": "#/properties/page/properties/content/items/properties/templateBlockAttributesObject/items"
      +            }
      +          },
      +          "userSiteId": {
      +            "type": "integer"
      +          }
      +        },
      +        "type": "object"
      +      }
      +    },
      +    "siteType": {
      +      "enum": [
      +        "Company",
      +        "Agent",
      +        "Property"
      +      ],
      +      "type": "string"
      +    },
      +    "siteTypeData": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "subDomainId": {
      +      "anyOf": [
      +        {
      +          "type": "integer"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "subdomain": {
      +      "anyOf": [
      +        {
      +          "type": "string"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ]
      +    },
      +    "templateId": {
      +      "type": "integer"
      +    },
      +    "templateVersion": {
      +      "anyOf": [
      +        {
      +          "type": "object"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "properties": {
      +        "details": {
      +          "anyOf": [
      +            {
      +              "type": "string"
      +            },
      +            {
      +              "type": "null"
      +            }
      +          ]
      +        },
      +        "headId": {
      +          "type": "integer"
      +        },
      +        "id": {
      +          "type": "integer"
      +        },
      +        "major": {
      +          "type": "integer"
      +        },
      +        "minor": {
      +          "type": "integer"
      +        },
      +        "revision": {
      +          "type": "integer"
      +        },
      +        "templateId": {
      +          "type": "integer"
      +        }
      +      }
      +    }
      +  }
      +}
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already flag destructiveHint=true, but the description adds the important specifics: this replaces ALL existing modules rather than merging, and an empty array wipes them. It also discloses the JSON-encoded string format for module data, which is behavior/format info the annotations do not carry. It still omits permission requirements and error behavior, so not a 5.

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?

Two sentences, front-loaded with the core replace/clear semantics and no filler. The phrase 'Each module Data is a JSON-encoded string' is slightly awkward and could be clearer, but the density is excellent.

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?

The tool mutates a page's full module array with a rich nested schema whose inner object properties are undocumented in the schema. The description covers replace semantics, clearing, and the JSON-encoding of data, and an output schema exists, but it leaves the agent guessing about the remaining nested fields and the effect on page integrity.

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, but the description adds real meaning beyond it: the content array is the complete ordered set of modules (replace, not append), and each module's data field must be a JSON-encoded string rather than a plain value. It does not explain the other nested module fields (blockName, options, filter), leaving some ambiguity for constructing the payload.

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?

The description names a specific verb and resource: 'Replace all page modules', which tells an agent this is a full content overwrite of a page. It does not explicitly differentiate itself from siblings like website_builder_update_page or template_builder_save_item, so it stops short of a 5.

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?

There is one concrete usage cue: passing an empty array clears the modules, which signals the intended full-replacement semantics. However, there is no explicit when-to-use or when-not-to-use guidance vs alternatives such as website_builder_update_page, so usage must be inferred.

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