Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

create_site_from_template

Create a new storefront by cloning a marketplace template's pages, global sections, styles, and fonts, then switch to it for immediate editing and publishing.

Instructions

Create a NEW site from a marketplace TEMPLATE (the dedicated "use this template" API). Clones the template's pages, global sections, cart, popups, styles and fonts into a fresh site. Pick a template with semantic_search_themes / list_template_themes, then pass its theme_id here. Switches to the new site so you can immediately edit layout/content with update_page_element(s), colours/fonts via the site-style tools, then publish_site.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName for the new site
slugNoURL-safe slug for the new site (auto-generated if omitted)
theme_idYesMarketplace theme id (from semantic_search_themes / list_template_themes)
switch_toNoSwitch the session to the new site after creating it (saved for next session)
Behavior4/5

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

With no annotations, the description carries the behavioral burden. It discloses that the tool clones the template's pages, global sections, cart, popups, styles and fonts, and that it switches the session to the new site—a key side effect. It implies the new site is not yet published by directing next steps to publish_site, which is useful disclosure, though return values and error cases are not mentioned.

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?

The description is three sentences, each earning its place: what it does, what it clones, and how to use it next. It is front-loaded with the core purpose and avoids filler.

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?

Even without annotations or an output schema, the description provides a complete operational picture: prerequisites, cloned content, session switching, and next steps for editing and publishing. This is sufficient for an agent to select and invoke the tool correctly.

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?

All four parameters are already described in the schema (100% coverage), so the baseline is 3. The description adds meaningful workflow context by explaining where theme_id comes from (semantic_search_themes/list_template_themes) and confirming the switch_to behavior, which helps an agent correctly construct the invocation.

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 opening sentence states a specific action ('Create a NEW site from a marketplace TEMPLATE') and designates it as the dedicated API, distinguishing it from the sibling create_site. It also names the cloned resources (pages, global sections, cart, popups, styles, fonts), making the tool's role unmistakable.

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

Usage Guidelines5/5

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

The description provides a concrete workflow: pick a template with semantic_search_themes/list_template_themes, pass its theme_id, then edit with update_page_element(s)/site-style tools and publish_site. This explicitly frames the prerequisite and follow-up actions, and the 'dedicated API' wording subtly distinguishes it from create_site.

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-storefront-mcp'

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