Skip to main content
Glama

hac_storefront_cms_scaffold

Scaffold, customize, and publish CMS layout components for Composable Storefront (Spartacus), then sync staged content online and clear cache for immediate storefront updates.

Instructions

Scaffolds, customizes, and publishes CMS layout components for Composable Storefront (Spartacus).

Args: content_catalog: Target CMS Content Catalog (default 'powertools-spaContentCatalog') product_catalog: Target Product Catalog (default 'powertoolsProductCatalog') hero_title: Title text for the Hero announcement featured_products: List of product SKUs for the 'What's New' product carousel bestseller_products: List of product SKUs for the 'Bestsellers' product carousel banner_configs: List of banner dicts, each with 'uid', 'imageUrl', and optional 'urlLink' sync_online: If True, triggers synchronization from Staged to Online catalog (default True) clear_cache: If True, flushes Region Cache so changes reflect on storefront immediately (default True) lang: Output language ('zh' or 'en')

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
langNozh
hero_titleNo
clear_cacheNo
sync_onlineNo
banner_configsNo
content_catalogNopowertools-spaContentCatalog
product_catalogNopowertoolsProductCatalog
featured_productsNo
bestseller_productsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It does disclose meaningful behavioral traits: sync_online triggers Staged→Online synchronization and clear_cache flushes Region Cache, which is exactly the kind of side-effect detail an agent needs for a mutating tool. However it omits whether the operation is destructive/overwriting, what auth is required, and whether it is reversible.

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?

Front-loaded verb clause followed by a dense Args block; each line earns its place and there is little filler. Slightly list-heavy but appropriate given 9 undocumented params.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given an output schema exists, the description needn't explain return values, and it covers all parameters plus the key side-effects (sync, cache flush). The main gap is the absence of any usage/selection guidance against the crowded sibling set and any statement of destructive impact.

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 description coverage is 0% with 9 parameters, so the description must compensate. It documents every parameter's purpose including defaults and the shape of banner_configs (uid, imageUrl, optional urlLink). This is strong compensation, though a few parameters (lang values) are only partially explained and type constraints live only in the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific triple of verbs (scaffolds, customizes, publishes) plus the resource (CMS layout components for Composable Storefront/Spartacus). This distinguishes it reasonably from siblings like hac_storefront_autofix or hac_storefront_app_config, though the three-verb chaining makes it slightly diffuse.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of alternatives among the many sibling storefront tools (hac_storefront_autofix, hac_storefront_app_config, hac_scaffold_greenfield_site). The Args list substitutes for guidance but does not tell an agent when this tool is the right choice.

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