Skip to main content
Glama
apparelhub-mcp

apparelhub-mcp

Official

Update store settings

update_store_settings
DestructiveIdempotent

Updates a store's fulfillment workflow and notification settings, changing only the fields you pass, including automation mode, hold guardrails, and order alerts.

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.

[#095099]

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "store_uuid": "<store_uuid>"
    },
    "name": "update_store_settings"
  }
}

Input 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.
notify_on_tracked_ordersNoAlso notify about orders for the merchant's own products (not made in ApparelHub, fulfilled by their store). Off by default; the orders are recorded either way.
require_payment_before_fulfillNoBlock fulfillment until the order is paid.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.19.0
    • addedInput schema / properties / notify_on_tracked_orders
      Added value: +{
      +  "description": "Also notify about orders for the merchant's own products (not made in ApparelHub, fulfilled by their store). Off by default; the orders are recorded either way.",
      +  "type": "boolean"
      +}
  2. First observedv0.15.2

TDQS

A4/5.0
Behavior4/5

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

Strong disclosure beyond the annotations: partial-update semantics, the auto/confirm/review workflow consequences, that null disables specific guardrails, per-field defaults ('ON by default', 'Off by default'), and the critical precedence rule that hold_channel_risk_review overrides fulfillment_mode including 'auto'. The annotations already cover destructive/idempotent status, so the remaining gap is operational (permissions, whether changes take effect on in-flight orders) rather than a contradiction.

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?

Front-loaded purpose sentence, then the partial-update contract, then the mode definitions and guardrail interactions in a compact, scannable order with no redundant restatement of schema fields.

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?

For a 15-parameter mutation tool with no output schema, the description covers exactly what an agent cannot infer: mode semantics, guardrail precedence, disable-by-null, and defaults. Remaining omissions (permissions, response shape) are minor relative to what it does establish, and annotations carry the safety profile.

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 coverage is 100%, so baseline is 3; the description earns extra by explaining cross-parameter interactions the schema lists only in isolation — how hold_* guardrails escalate an auto/confirm order to pre-submission review and that hold_channel_risk_review wins over fulfillment_mode. It still leaves approval_authority ('human' vs 'agent') and auto_reconcile_orders mostly to the schema text.

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?

The description names a specific verb and resource ('Update a store's fulfillment workflow / notification settings') and adds the partial-update nuance ('Only the fields you pass are changed'), which is a meaningful distinction from a full replace. It does not explicitly contrast with the read counterpart get_store_settings, but the write scope is unambiguous.

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?

Usage context is implied by the content (tuning automation, notifications, guardrails) but there is no explicit when-to-use/when-not guidance, no mention of required permissions or who may set approval_authority, and no reference to the read tool that should precede a change. The fulfillment_mode and guardrail explanation effectively tells the agent when each setting applies, which lifts it above a bare 2.

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