Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

start_page_draft

Start a page draft to build large or multi-section pages. Cache each section, then commit incrementally with resumable persistence on timeout.

Instructions

Start a page draft (no network). Build a multi-section page safely: cache each section with add_draft_section, then commit_page_draft persists it to the backend INCREMENTALLY (resumable on timeout). Use this instead of build_page for large/multi-section pages. The draft cache is DISPOSABLE (Redis on the remote server when REDIS_URL is set, in-memory otherwise; sliding ~2h TTL) — if a draft is ever lost, just re-send the sections, never a failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
seoNoSEO for this page → settings.seo (applied on commit).
nameYesPage name
slugYesURL slug WITHOUT a leading slash, e.g. 'about', 'collections', 'cart'. A leading '/' is stripped automatically (the storefront matches the bare path segment, so '/cart' would 404). Store pages MUST use: category='collections', product='products', cart='cart', checkout='checkout', thank-you='complete'. Homepage needs no slug (is_homepage:true).
typeNoPage kind. SPECIAL pages need a site data-source enabled on commit: store→use_store, member→use_member, blog→use_blog, error→use_error, maintain→use_maintain. 'main'/'custom' need nothing.
is_homepageNoSet as the site homepage on commit
Behavior5/5

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

With no annotations, the description carries the full burden and delivers: it discloses the no-network behavior, the incremental resumable commit, and the disposable cache with Redis/in-memory sliding ~2h TTL. It also sets expectations about draft loss and recovery ('never a failure'). This goes well beyond the schema.

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 dense but front-loaded with the core purpose, followed by workflow, usage alternative, and cache behavior. Each sentence contributes distinct value and there is no redundancy or 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?

The description fully covers the draft lifecycle: start, add sections, incremental commit, cache disposability, and failure recovery. It explains the relationship to build_page and the resumability on timeout, making it complete for a workflow-oriented tool with no output schema.

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 parameter descriptions already provide detailed semantics (e.g., slug leading slash, type prerequisites, SEO mapping). The tool description does not add parameter-level insight, but none is needed given the schema's completeness. Baseline 3 is appropriate.

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 states a specific action ('Start a page draft') and resource, clarifies it makes no network call, and contrasts with build_page for large/multi-section pages. This clearly distinguishes it from siblings like create_page and add_draft_section.

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?

Explicitly says 'Use this instead of build_page for large/multi-section pages', providing a direct alternative. It also outlines the intended workflow with add_draft_section and commit_page_draft, and notes the resumable-on-timeout benefit, giving clear usage context.

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