Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

create_site

Create a blank storefront site for the current account, switch to it by default, and remove sample data so you can compose pages from elements.

Instructions

Create a brand-new storefront site for the current account, then (by default) switch to it and return an EMPTY, CLEAN site (no sample products/categories) ready for element composition. The backend auto-seeds off-theme sample products + categories (and a sample blog); by default this tool DELETES that seed right after creating the site (keep the non-deletable default "All" category) so you start from a blank, on-theme store. Pass keep_seed:true to keep the sample data. The site has NO pages — after this, compose a homepage from elements: get_build_guide → new_section/new_element → build_page (type:'main', is_homepage:true). Note: free accounts are limited to 4 sites (creation fails with a quota error past that).

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name of the new site, e.g. 'My Coffee Shop'
slugYesURL-safe site slug (lowercase letters, digits, hyphens), e.g. 'my-coffee-shop'. Becomes the preview subdomain and must be unique.
keep_seedNoKeep the backend's sample products/categories/blog instead of auto-deleting them. Default false = start from a clean, empty site.
switch_toNoSwitch the session to the new site after creating it (saved for next session). Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.31.8

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description goes well beyond by disclosing the backend auto-seed of sample products/categories/blog, the default deletion of that seed (retaining the non-deletable 'All' category), the session switch behavior, the absence of any pages, and the free-account 4-site quota failure. This is exactly the non-obvious behavior an agent needs.

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?

Reasonably front-loaded, leading with the create-and-switch action before the seeding nuance. It is information-dense and most sentences earn their place, though the parenthetical about the 'All' category and the step-by-step workflow add length that could be tightened.

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?

No output schema exists, yet the description explicitly states what is returned (an EMPTY, CLEAN site with no pages) and what the caller must do next to make it usable. For a creation tool with four parameters, nothing an agent needs to invoke it correctly is missing.

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 baseline is 3, but the description adds real meaning: it explains the consequence of keep_seed:true (keep sample data) versus the default deletion, rather than merely restating the flag. It does not expand on name/slug syntax beyond what the schema already documents.

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?

States a specific verb and resource ('Create a brand-new storefront site for the current account') and immediately scopes it as an empty/clean site rather than a template-based one, which distinguishes it from the sibling create_site_from_template. An agent knows exactly what this produces without opening the schema.

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?

Gives clear context for use (start from a blank on-theme store) and an explicit follow-on workflow (get_build_guide → new_section/new_element → build_page). It does not explicitly name create_site_from_template as the alternative for pre-populated sites, so the sibling routing is left partly to inference.

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