Skip to main content
Glama
cmssy-io

@cmssy/mcp-server

Official
by cmssy-io

update_cart_config

Update the workspace cart configuration: currency, tax rates, shipping methods, and stock thresholds. Partial updates alter only provided fields; arrays replace the entire list.

Instructions

Configure the workspace's commerce settings: currency, whether prices include tax, tax rates, shipping methods and stock thresholds. Only provided fields change; arrays replace the whole list.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taxRatesNo
productSourcesNoModels that act as product sources, each with its own record field mapping. Replaces the whole list.
defaultCurrencyNoISO 4217 code, e.g. EUR
shippingMethodsNo
defaultTaxRateIdNo
pricesIncludeTaxNoTrue when catalogue prices are gross (tax inside)
lowStockThresholdNo
reservationTtlMinutesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.73.1

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It usefully states that only provided fields change and that arrays replace whole lists, which is critical partial-update semantics. However, it omits other potential side effects like permission requirements or impact on existing carts or orders.

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 two concise sentences. The first states the purpose and scope, the second clarifies the update semantics. No redundant or extraneous content; the critical behavioral caveat is front-loaded.

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

Completeness3/5

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

With 8 parameters, zero annotations, and no output schema, the description needs to cover all parameters or provide enough context. It covers the main areas and partial-update behavior, but omits reservationTtlMinutes and does not explain inter-parameter relationships (e.g., taxRateId references). It is adequate but not complete for a complex config 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 only 38%, and the description partially compensates by naming the categories (currency, tax rates, shipping methods, stock thresholds) but does not explicitly map these to parameters like defaultCurrency, taxRates, lowStockThreshold, etc. It also misses reservationTtlMinutes entirely. The partial-update semantics add value but do not fully clarify the meaning of each parameter.

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 purpose: configuring workspace commerce settings, and it enumerates the specific areas (currency, tax inclusion, tax rates, shipping methods, stock thresholds). This distinguishes it from the sibling clear_cart_config, which clears the config rather than updating it.

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 implies usage when updating commerce settings but does not explicitly state when to avoid this tool or name alternatives. It lacks exclusions or conditions, leaving the agent to infer that clear_cart_config is the alternative for clearing.

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