Skip to main content
Glama

Update Shopify Store Settings

set_shopify_store_settings
DestructiveIdempotent

Update a Shopify store's sync configuration with preserve-on-omit semantics: only the arguments you pass change; everything else (including location mappings) is kept exactly as configured. orderStatusRules merges per key — keys you omit keep their current mapping. Validation matches the Spark settings screen exactly (same service seam). Returns the store's fresh configuration after the save. Requires an operator (unpinned) org token with write access.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_shopify_store_settings"
  }
}

Input Schema

NameRequiredDescriptionDefault
pullInventoryNoStore-level switch: pull Shopify inventory into Spark.
pushInventoryNoStore-level switch: push Spark inventory to Shopify.
pushSalesOrdersNoStore-level switch: push order status write-back (fulfillments/tracking) Spark → Shopify.
shopifyStoreUrlNoThe store to update (e.g. 'my-store.myshopify.com'). Optional when exactly one store is configured.
orderStatusRulesNoPartial payment-status → Spark-status map to merge, e.g. {"paid": "approved", "pending": "doNotImport"}. Keys: paid, pending, authorized, partiallyPaid, partiallyRefunded, refunded, voided, expired, cancelled. Values: a Spark order status, or 'doNotImport' to skip orders in that payment status. Omitted keys keep their current mapping.
orderHistoryMonthsNoHow many months of pre-connect-date order history the historical backfill should import. One of: 3, 6, 12, 24, 36, or omit/null for all available history. Applied when the backfill is triggered.
fulfilledImportStatusNoHow Shopify-fulfilled orders import: 'autoFulfill' (default behavior — import and auto-fulfill to shipped) or a Spark order status (e.g. 'issued') to import at that working status and let Spark perform fulfillment.
pickupExcludedOrderTagsNoShopify order tags that mark orders never collected at a store (e.g. 'employee', 'custom'). A tagged order is not classified as pickup: it stays off the Pickup Monitor queue and sends no pickup notifications, while still importing against its fulfillment location's store. Replaces the whole list; pass [] to clear; omit to keep it.
rebalanceInventoryOnStoreTransferNoOpt-in: correct Shopify per-location inventory when an order transfers between stores in Spark (writes to the merchant's live Shopify stock).

Output Schema

NameRequiredDescriptionDefault
locationsNo
pullInventoryNo
pushInventoryNo
pushSalesOrdersNo
shopifyStoreUrlNo
orderStatusRulesNo
orderHistoryMonthsNo
fulfilledImportStatusNo
pickupExcludedOrderTagsNo
rebalanceInventoryOnStoreTransferNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and idempotentHint=true, and the description adds meaningful context beyond them: the write is partially destructive because unspecified fields are preserved rather than cleared, orderStatusRules merges per key so omitted keys retain current mappings, validation runs through the same seam as the Spark settings UI, and the fresh configuration is returned. The auth requirement is also spelled out, which no annotation covers.

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 with the most decision-relevant fact (preserve-on-omit), then merge behavior, validation, return value, and auth in a compact progression. The parenthetical "same service seam" is internal jargon that contributes little to an agent's decision, a minor blemish on an otherwise tight description.

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 9-parameter mutation tool with an output schema and strong annotations, this covers everything an agent needs: partial-update semantics, nested merge behavior, auth scope, and what comes back. Return-value documentation is minimal but unnecessary given the output schema.

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 the baseline is 3, and the description goes beyond it by defining the tool-wide omit-vs-null contract ("only the arguments you pass change; everything else ... is kept") plus the per-key merge rule for orderStatusRules. It adds cross-parameter meaning rather than restating individual field docs.

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+resource combination: "Update a Shopify store's sync configuration." An agent can immediately tell this is the write counterpart to get_shopify_store_settings. It does not explicitly distinguish itself from closer siblings such as set_shopify_location_sync_mode, though the mention of preserved location mappings hints at the boundary.

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 clear operating context: preserve-on-omit partial update, an optional shopifyStoreUrl when only one store exists, and an explicit prerequisite (operator/unpinned org token with write access). It never states when another tool should be preferred, e.g. set_shopify_location_sync_mode for per-location mode or the getter to read current state first.

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