Skip to main content
Glama
WebCake Storefront MCP

WebCake Storefront MCP

by vuluu2k

publish_site

Publish an entire storefront site live by snapshotting all saved pages into the published version; use dry_run=true to preview validation and dry_run=false to publish.

Instructions

Publish the whole site live — snapshots all current page sources into the live (published) version. Note: BuilderX publishes at the SITE level, not per page; publishing makes every saved page go live. Two-step safety: dry_run=true (default) runs the preflight and describes what will happen; dry_run=false publishes. Preflight: every saved page through validate_page, site CSS/JS against the ceiling, breakpoints. Any error BLOCKS the publish (fix it first); warnings are listed. After publishing, the live homepage is fetched and checked; success is false when it is still broken (e.g. bps = []).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "publish_site"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoPreview (true) or publish for real (false)

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?

The only annotation is readOnlyHint=false, so the description carries the burden and does so thoroughly. It discloses what publishing does to page sources, what preflight checks run (validate_page, CSS/JS ceiling, breakpoints), that errors block and warnings merely list, and that the live homepage is fetched afterward with success=false if still broken. That is far more than the annotation conveys.

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?

Purpose and scope are front-loaded, and every sentence adds operational detail rather than restating the name. It is dense with parentheticals ('e.g. bps = []') and runs long for a one-parameter tool, but nothing is 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?

There is no output schema, yet the description still explains post-publish verification and the meaning of a false success, so the agent knows what to watch for. For a destructive, site-wide operation this covers scope, safety, blocking conditions, and verification without obvious gaps.

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% and the single boolean is already documented, so the baseline is 3. The description adds real meaning beyond the schema by explaining what the two modes actually do differently (preflight only vs. real publish) and that the default is the safe path, which the schema alone does not convey.

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 — 'Publish the whole site live — snapshots all current page sources into the live (published) version' — and immediately clarifies scope by noting BuilderX publishes at the SITE level, not per page. That scope statement distinguishes it from page-level tools in the sibling list such as build_page or validate_page.

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 explicit operational guidance: dry_run=true is the default preview that runs preflight, dry_run=false actually publishes, and 'Any error BLOCKS the publish (fix it first)' is a clear when-not condition. It does not name an alternative tool for the cases where publishing is inappropriate, so it falls just short of a 5.

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