Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

delete_global_section

Delete a global section and remove its node from all pages. Use dry-run to preview affected pages before applying the atomic save.

Instructions

Delete a global section (Header/Footer/block) and remove its node from every page source. Two-step safety: dry_run=true (default) shows which pages would change; dry_run=false performs the atomic save.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dry_runNoPreview (true) or perform the delete + page cleanup (false).
section_idYesThe global section's section_id (the section node id) — from list_global_sections.
Behavior4/5

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

With no annotations provided, the description carries the full burden of disclosing behavior. It clearly indicates the destructive nature ('Delete', 'remove... from every page source') and adds safety context (two-step dry_run, atomic save). It does not mention irreversibility or auth requirements, but the dry_run safety mechanism is a significant transparency win.

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?

Two concise sentences: the first states the core action and scope, the second explains the safety workflow. No filler or redundant phrasing. All information is necessary and front-loaded.

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?

The tool is a destructive mutation with no annotations or output schema. The description covers what it does, the affected scope, and the safety flag. It does not describe the return value or error behavior, but for a delete tool with a dry run, this is reasonably complete.

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 description coverage is 100%, so the schema already documents both parameters well. The description names the parameters (dry_run, section_id) and explains the dry_run flow, but this adds little beyond what the schema provides. 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 clearly states the verb 'Delete' and specific resource 'global section (Header/Footer/block)', further specifying that it removes the node from every page source. This distinguishes it from sibling tools like delete_global_source and delete_page, making the purpose unambiguous.

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

Usage Guidelines3/5

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

The description provides clear context on how to use the dry_run parameter (preview vs. perform), but it does not explicitly state when to use this tool versus alternatives like delete_page or delete_global_source. No exclusions or alternative recommendations are given, so it's adequate but not explicit.

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