Skip to main content
Glama

update_commerce_settings

Destructive

Update store settings, most importantly the default currency for new products.

Payment gateway credentials cannot be set through this tool — connect a gateway in the Grigora dashboard. Existing connections are preserved.

Args: project_id: The project ID. store_name: Store display name. currency: Default ISO currency code for new products, e.g. USD. support_email: Buyer-facing support address. notification_email: Address that receives new-order notifications. payment_provider: Which connected gateway checkout uses: external, razorpay, stripe, paypal, paddle, gumroad, or manual. storefront_base_url: Overrides the base URL used to build product and collection links. checkout_mode: Checkout strategy. Default external_first. appearance: JSON object {theme_preset, accent_color, background_color, text_color, button_style, product_layout, media_fit}. seo_defaults: JSON object of fallback SEO for product and collection pages. shipping: JSON object of shipping rates and zones. tax: JSON object of tax rules. invoice: JSON object of invoice/receipt configuration.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taxNo
invoiceNo
currencyNo
shippingNo
appearanceNo
project_idYes
store_nameNo
seo_defaultsNo
checkout_modeNo
support_emailNo
payment_providerNo
notification_emailNo
storefront_base_urlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the bar is lower; the description adds the useful promise that existing gateway connections are preserved. However, for a 13-parameter destructive mutation where every schema default is an empty string, it never says whether omitted args clear existing settings or leave them untouched.

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?

Purpose and the gateway caveat are front-loaded in the first two sentences, and the args block is dense with meaning rather than repetition. The parameter list is long, but virtually every line adds semantics the bare schema lacks.

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?

An output schema exists, so return values need no explanation, and the annotations plus the preservation note cover the safety profile. The remaining omission is the update semantics for unset fields on a destructive, all-optional-but-one tool — an agent cannot tell from this definition whether a partial call is safe.

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%, so the description carries the full burden and does document all 13 parameters, including the accepted payment_provider values and the external_first default for checkout_mode. The JSON-object params (seo_defaults, shipping, tax, invoice) are only described generically, and only 'appearance' gets its inner keys enumerated, so the coverage is good but not complete.

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 verb and resource ('Update store settings') and calls out the most consequential field (default currency for new products). It implicitly distinguishes itself from product/variant-level tools in the sibling list by scoping to store-wide settings, but never names a sibling explicitly.

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

Usage Guidelines4/5

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

Gives an explicit when-not with an alternative channel: payment gateway credentials can't be set here and must be connected in the Grigora dashboard. It stops short of telling the agent it should call get_commerce_settings first to read current values before overwriting.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources