Skip to main content
Glama

Yuppsy

website_builder_fix_website_errors

Destructive

Attempt to repair website integrity errors and return any remaining errors.

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>"
    },
    "name": "website_builder_fix_website_errors"
  }
}

Input Schema

NameRequiredDescriptionDefault
siteIdYesWebsite ID.

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

B3.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation and risk profile is known. The description adds genuine value with "Attempt" (best-effort, may not fully succeed) and "return any remaining errors" (post-repair state is reported), but it never says what is actually modified, whether repairs are reversible, or what happens if repair fails partway.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence, front-loaded with the action and ending with the outcome, with zero filler. Nothing could be removed without losing information.

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?

An output schema exists, so the "remaining errors" return payload need not be explained. However, for a destructive, open-ended remediation tool, the description omits what the repair actually touches and whether it should be preceded by website_builder_check_site_integrity, leaving meaningful gaps.

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

Parameters3/5

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

There is a single parameter with 100% schema description coverage, so the schema fully documents siteId. The description adds no meaning beyond that — it does not clarify scope (whole site vs. specific pages) or any site-state preconditions.

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?

States a specific verb+resource pair ("repair website integrity errors") and a clear best-effort qualifier ("Attempt to"), so the agent knows this is a remediation action, not a read. It does not explicitly name the sibling diagnostic tool (website_builder_check_site_integrity), so the boundary between detecting and fixing errors is left implicit.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use statement, no prerequisite such as running the integrity check first, and no exclusion or alternative named. The only guidance is implied by the word "repair" — an agent must infer that this should follow error discovery.

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