Skip to main content
Glama
vuluu2k

WebCake Landing MCP

by vuluu2k

validate_page

Read-only

Validate a landing page source against schema and semantic rules, auto-fix layout defects, and return errors and warnings.

Instructions

Validates a page source against the schema + semantic rules (unique ids, dangling event targets, children only on containers, missing field_name, top-level types) plus form-data bindings (duplicate field_name within one form, dangling option-event promoId / connectedSurvey / connectedForm / set_field_value targets). FIRST auto-fixes the layout defects that can be resolved deterministically (off-canvas boxes pulled on-canvas; elements below wrapped text pushed down to clear the spill — the same corrections create_page/add_section apply on save) and reports them in auto_fixed. Then returns errors (blocking — fix before persisting) and warnings (visible design defects — fix these too and re-validate to an empty list; only a demonstrably false positive may remain).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pageNoThe page source object { page:[...], settings:{} } OR a JSON string of it.
Behavior4/5

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

Automatically fixes layout defects deterministically and returns auto_fixed, errors, and warnings. This adds behavioral context beyond readOnlyHint annotation, though persistence side effects are not detailed.

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 description is lengthy and dense, listing many validation rules in a single paragraph. It could be more structured (e.g., bullet points) for readability, though it is front-loaded with the main action.

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?

Explains return structure (auto_fixed, errors, warnings) but lacks detailed output format (e.g., error object fields). Given no output schema, more completeness would be beneficial.

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?

Schema coverage is 100% and describes the 'page' parameter adequately. The tool description adds behavioral context but does not enhance parameter-specific meaning beyond what the schema provides.

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 clearly states the tool validates a page source against schema, semantic rules, and form-data bindings, with auto-fix behavior. It distinguishes itself from sibling tools like get_page_schema and create_page.

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?

The description implies usage during page creation/editing but lacks explicit guidance on when to use versus alternatives like update_page or patch_page. No 'when-not' or direct comparison.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vuluu2k/webcake-landing-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server