Skip to main content
Glama
vuluu2k

WebCake Storefront MCP

by vuluu2k

update_global_source

Replace the complete configuration of a global source. Safeguards prevent size reductions below 50% of the original, ensuring safe updates.

Instructions

Replace full source of a global source. IMPORTANT: Before calling this tool, you MUST:

  1. Read existing source with get_global_source_detail first

  2. Show the user what will change and get explicit confirmation

  3. NEVER call without user approval — this replaces the ENTIRE source Safeguarded: blocks if new source is <50% of existing size. For element-level changes, prefer update_global_source_element instead.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoNew source configuration (JSON object)
global_source_idYesGlobal source ID
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 behavioral disclosure. It clearly states this replaces the ENTIRE source, requires user approval, and includes a safeguard that blocks the update if the new source is less than 50% of the existing size. This goes beyond typical descriptions, though it does not mention return values or post-conditions.

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 well-organized with a clear main statement, numbered prerequisites, and a final safeguard/alternative note. Every sentence serves a purpose, and the numbered list makes the instructions easy to follow.

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?

Despite lacking an output schema and annotations, the description provides all necessary context: purpose, required pre-steps, destructive nature, safety guard, and an alternative tool. This is highly complete for a destructive mutation tool.

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% for both parameters, so the schema already documents them fully. The description does not add extra semantic meaning beyond what is in the schema, but it does reinforce that 'source' is a full replacement.

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 tool's function: 'Replace full source of a global source.' It also distinguishes itself from siblings by explicitly noting 'For element-level changes, prefer update_global_source_element instead.'

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 explicit when-to-use guidance: it mandates reading existing source first, showing changes to the user, and obtaining explicit confirmation before calling. It also names an alternative tool for element-level changes.

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