Skip to main content
Glama
ApparelHub-AI

apparelhub-mcp

Official

update_store_settings

Idempotent

Update a store's fulfillment workflow and notification settings, changing only the fields you pass to control automation, guardrails, and order routing.

Instructions

Update a store's fulfillment workflow / notification settings. Only the fields you pass are changed. fulfillment_mode: "auto" (auto-pilot: paid -> draft -> auto-confirm -> production), "confirm" (auto-draft, you confirm each order), "review" (held before submission for approval). The hold_* guardrails escalate an otherwise-auto/confirm order to a pre-submission review. Set hold_orders_above_amount / hold_below_margin_pct to null to disable that guardrail. hold_channel_risk_review is ON by default and OVERRIDES fulfillment_mode (including "auto"): an order the sales channel is reviewing is never sent to fulfillment while it may still be voided.

[#fe3014]

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
workspaceNoWorkspace uuid to scope to (agency accounts). Omit for the Default workspace.
store_uuidYesThe store uuid to update.
fulfillment_modeNoAutomation level: auto (auto-pilot), confirm (you confirm each), review (approve before submit).
approval_authorityNoWho decides when a review is required: human (UI queue), agent (API/callback), rules (auto unless a guardrail trips).
notify_on_shipmentNoSend a notification when an order ships.
notify_on_new_orderNoSend a notification when a new order arrives.
auto_reconcile_ordersNoPeriodically re-sync open sales-channel orders with their channel (manual reconcile always works regardless).
hold_below_margin_pctNoAuto-hold orders below this profit-margin percent. null disables the guardrail.
auto_fulfill_on_paymentNoAuto-submit to the provider once payment clears.
hold_on_negative_marginNoAuto-hold orders that would lose money.
hold_channel_risk_reviewNoON by default. Hold an order the SALES CHANNEL has flagged as under its own risk review, so it is never sent to fulfillment while the channel may still void it. Unlike the other guardrails this one OVERRIDES fulfillment_mode, including "auto". Turning it off restores the chosen workflow for those orders.
hold_first_time_customerNoAuto-hold the first order from a new customer.
hold_orders_above_amountNoAuto-hold orders whose total exceeds this amount. null disables the guardrail.
require_payment_before_fulfillNoBlock fulfillment until the order is paid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.15.2

TDQS

A4.1/5.0
Behavior4/5

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

Goes beyond the idempotentHint/openWorldHint annotations by disclosing real workflow behavior: guardrails 'escalate an otherwise-auto/confirm order to a pre-submission review', null explicitly disables a guardrail, and hold_channel_risk_review is ON by default and OVERRIDES fulfillment_mode including 'auto'. That override hierarchy is the kind of consequence an agent cannot get from structured fields. It still omits permission/authority requirements and whether changes apply to in-flight orders, keeping it shy of a 5.

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?

Front-loaded and front-loaded with the highest-value fact ('Only the fields you pass are changed'), then structured mode-by-mode. Dense but every sentence carries semantics for a 14-parameter tool. The trailing '[#fe3014]' artifact is stray noise that should not be there.

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 14-parameter mutation tool with no output schema and 100% schema coverage, this covers the non-obvious semantics: partial update, mode pipeline, guardrail escalation, and the default-on override. What is missing is peripheral but relevant context – required permissions/authority to change these settings, and whether changes affect already-open orders.

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 100%, so the baseline is 3, but the description genuinely adds meaning the schema does not: the fulfillment_mode pipeline ('paid -> draft -> auto-confirm -> production'), the interaction between hold_* guardrails and the chosen mode, and the null-to-disable convention. That is substantive disambiguation of an enum plus 7 guardrail booleans rather than repetition.

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?

Specific verb+resource ('Update a store's fulfillment workflow / notification settings') that immediately separates it from the sibling read tool get_store_settings and from set_channel_settings. It also states the scope of what is editable rather than leaving the agent to infer it from the schema.

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?

It gives partial-update semantics ('Only the fields you pass are changed') and explains what each mode/guardrail means, which implies when to reach for it, but it never names an alternative or a when-not condition (e.g. use get_store_settings first to inspect current values, or set_channel_settings for channel-side config). Usage is implied rather than stated.

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

Deploy Server

Other Tools