Skip to main content
Glama
cmssy-io

@cmssy/mcp-server

Official
by cmssy-io

clear_cart_config

Remove a workspace's commerce settings entirely, resetting the cart to never-configured. Requires explicit user confirmation; refuses if orders or carts exist unless forced.

Instructions

Remove the workspace's commerce settings entirely, putting the cart back to never-configured. Only call after the user explicitly confirms. A workspace with orders or carts is refused: report that back to the user and retry with force: true only once they confirm. To change individual settings rather than remove them, use update_cart_config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
forceNoClear even when the workspace has orders or carts. Without it, a workspace with either is refused and the error names which one is in the way.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.73.1

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It discloses the destructive scope, the refusal on orders/carts, and the effect of force, while adding a safety confirmation requirement. It stops short of stating irreversibility explicitly or listing exactly which settings are removed, but the core behavior is well covered.

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?

Three purpose-driven sentences structure the description: what it does, when it may be called, and how to handle the blocked case. Every sentence adds information without repetition or fluff.

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?

For a destructive config-clearing tool with no annotations and no output schema, the description covers purpose, safety, error behavior, and alternatives. The main residual gap is the lack of a success-response description and a slightly broad reference to 'commerce settings' relative to the tool's cart-config name.

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?

The single parameter is 100% documented in the input schema, including the refusal condition and the fact that force overrides it. The description reinforces that with retry guidance, but does not add substantial new parameter semantics beyond the schema's own description.

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 names a clear verb ('Remove') and resource ('workspace's commerce settings'), with a concrete end state ('back to never-configured'). It also distinguishes itself from the sibling update_cart_config by stating that tool handles individual settings changes.

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?

It explicitly instructs to call only after explicit user confirmation, and provides a concrete retry path for the refused case ('retry with force: true only once they confirm'). It also names the alternative for partial changes, leaving no ambiguity about when to choose this tool.

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