# Settings

> The owner MCP's tools for the store's settings.

| Tool | What it does | Gate | Permission |
|---|---|---|---|
| [`work_summary`](https://docs.kaizenaflow.com/reference/mcp/settings#work-summary) | Work summary | none | `settings:read` |
| [`draft_workflow`](https://docs.kaizenaflow.com/reference/mcp/settings#draft-workflow) | Draft workflow | none | `settings:write` |
| [`shipping_overview`](https://docs.kaizenaflow.com/reference/mcp/settings#shipping-overview) | Shipping overview | none | `settings:read` |
| [`notification_settings`](https://docs.kaizenaflow.com/reference/mcp/settings#notification-settings) | Notification settings | none | `settings:read` |
| [`order_rules`](https://docs.kaizenaflow.com/reference/mcp/settings#order-rules) | Order rules | none | `settings:read` |
| [`search_insights`](https://docs.kaizenaflow.com/reference/mcp/settings#search-insights) | Search insights | none | `settings:read` |
| [`search_merchandising`](https://docs.kaizenaflow.com/reference/mcp/settings#search-merchandising) | Search merchandising | none | `settings:read` |
| [`save_search_synonym`](https://docs.kaizenaflow.com/reference/mcp/settings#save-search-synonym) | Save search synonym | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`save_search_rule`](https://docs.kaizenaflow.com/reference/mcp/settings#save-search-rule) | Save search rule | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`delete_search_merchandising`](https://docs.kaizenaflow.com/reference/mcp/settings#delete-search-merchandising) | Delete search merchandising | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`market_price_rules`](https://docs.kaizenaflow.com/reference/mcp/settings#market-price-rules) | Market price rules | none | `settings:read` |
| [`set_market_price_rule`](https://docs.kaizenaflow.com/reference/mcp/settings#set-market-price-rule) | Set market price rule | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`customs_duties`](https://docs.kaizenaflow.com/reference/mcp/settings#customs-duties) | Customs duties | none | `settings:read` |
| [`producer_registrations`](https://docs.kaizenaflow.com/reference/mcp/settings#producer-registrations) | Producer registrations | none | `settings:read` |
| [`save_producer_registration`](https://docs.kaizenaflow.com/reference/mcp/settings#save-producer-registration) | Save producer registration | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`set_countries`](https://docs.kaizenaflow.com/reference/mcp/settings#set-countries) | Set countries | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`set_flat_shipping`](https://docs.kaizenaflow.com/reference/mcp/settings#set-flat-shipping) | Set flat shipping | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`save_shipping_method`](https://docs.kaizenaflow.com/reference/mcp/settings#save-shipping-method) | Save shipping method | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`list_integrations`](https://docs.kaizenaflow.com/reference/mcp/settings#list-integrations) | List integrations | none | `settings:read` |
| [`price_display`](https://docs.kaizenaflow.com/reference/mcp/settings#price-display) | Price display | none | `settings:read` |
| [`set_price_display`](https://docs.kaizenaflow.com/reference/mcp/settings#set-price-display) | Set price display | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`set_quote_requests`](https://docs.kaizenaflow.com/reference/mcp/settings#set-quote-requests) | Set quote requests | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`checkout_questions`](https://docs.kaizenaflow.com/reference/mcp/settings#checkout-questions) | Checkout questions | none | `settings:read` |
| [`save_checkout_question`](https://docs.kaizenaflow.com/reference/mcp/settings#save-checkout-question) | Save checkout question | [`public`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`list_domains`](https://docs.kaizenaflow.com/reference/mcp/settings#list-domains) | List domains | none | `settings:read` |
| [`check_domain`](https://docs.kaizenaflow.com/reference/mcp/settings#check-domain) | Check domain | none | `settings:read` |
| [`list_dns_records`](https://docs.kaizenaflow.com/reference/mcp/settings#list-dns-records) | List DNS records | none | `settings:read` |
| [`work_overview`](https://docs.kaizenaflow.com/reference/mcp/settings#work-overview) | Work overview | none | `settings:read` |
| [`list_work_clients`](https://docs.kaizenaflow.com/reference/mcp/settings#list-work-clients) | List work clients | none | `settings:read` |
| [`list_work_assignments`](https://docs.kaizenaflow.com/reference/mcp/settings#list-work-assignments) | List work assignments | none | `settings:read` |
| [`log_time`](https://docs.kaizenaflow.com/reference/mcp/settings#log-time) | Log time | none | `settings:write` |
| [`issue_work_invoice`](https://docs.kaizenaflow.com/reference/mcp/settings#issue-work-invoice) | Issue work invoice | [`send`](https://docs.kaizenaflow.com/reference/mcp#gates) | `settings:write` |
| [`cancel_purchase`](https://docs.kaizenaflow.com/reference/mcp/settings#cancel-purchase) | Cancel purchase | none | `settings:write` |

## Work summary {#work-summary}

`work_summary`

What needs the person in Work across the stores this connection reaches, in one answer: overdue invoices, their own running timer, time ready to invoice, repeating invoices ready and drafts left waiting, urgent first; money per currency in minor units (never added across currencies), each store's figures, and a link to each screen in Kaizena Flow. Read only; takes no store.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#work-summary-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `input` | object | yes |   |

## Draft workflow {#draft-workflow}

`draft_workflow`

Drafts a workflow from what the owner describes (D356), saved OFF: they test it on the latest event and switch it on at Settings, Workflows. trigger: one of the store's events (order.paid, order.sent, order.cancelled, order.refunded, customer.created, subscription.started, subscription.cancelled, return.requested, withdrawal.received, product.created, product.updated, stock.low, discount.created, support.waiting, deal.created, deal.stage_changed, deal.won, deal.lost, subscriber.subscribed, subscriber.unsubscribed, conversation.ended, conversation.rated, review.published, checkout.abandoned, form.response) or schedule, with schedule { every: day or week, at: HH:MM, weekday 1 to 7 for a week }. conditions (none for a schedule): { field, op (is, is_not, contains, more_than, less_than, at_least, is_one_of with the values between commas), value } on the trigger's fields, such as order.total (in the order's currency units), order.currency, order.market, order.lines.sku, order.shipping_address.country, customer.email, product.status, stock.available, return.kind; after order.paid also order.total_main (in the store's main currency), order.first_order (yes or no), order.buyer (business or consumer), order.products (product ids), order.delivery (shipping, pickup, local or none), order.backordered, order.gift, order.source (checkout, draft, subscription or delivery), order.tags, order.seller (store or host) and order.risk (normal, elevated, highest or none); customer.segment (is or is_not, a segment's id from list_segments) after an order, customer or subscription event. actions, 1 to 10: tag_order { tag }, note_order { text } and ask_ai_manager { question } after an order event; hold_order { reason } after order.paid (staff release it on the order page); tag_customer { tag } after an order, customer or subscription event; email_staff { subject, text }; post_slack { text }; send_request { endpointId } (one of the owner's endpoints) after any event. Never an email to a customer, a refund or a price.

- **Gate:** none: it runs when called
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#draft-workflow-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `name` | string, 1 to 80 characters | yes |   |
| `trigger` | string | yes |   |
| `schedule` | object or null | no, default `null` |   |
| `schedule.every` | one of `day`, `week` | yes |   |
| `schedule.at` | string, matching `^([01]\d\|2[0-3]):[0-5]\d$` | yes |   |
| `schedule.weekday` | integer, 1 to 7 or null | no, default `null` |   |
| `conditions` | list of objects, at most 10 items | no, default `[]` |   |
| `conditions[].field` | string | yes |   |
| `conditions[].op` | one of `is`, `is_not`, `contains`, `more_than`, `less_than`, `at_least`, `is_one_of` | yes |   |
| `conditions[].value` | string, at most 2,000 characters | yes |   |
| `actions` | list of shapes, 1 to 10 items | yes |   |

**`actions[]` when `kind` is `tag_order`**

| Field | Type | Required | Description |
|---|---|---|---|
| `actions[].kind` | `"tag_order"` | yes |   |
| `actions[].tag` | string, 1 to 40 characters | yes |   |

**`actions[]` when `kind` is `note_order`**

| Field | Type | Required | Description |
|---|---|---|---|
| `actions[].kind` | `"note_order"` | yes |   |
| `actions[].text` | string, 1 to 1,000 characters | yes |   |

**`actions[]` when `kind` is `tag_customer`**

| Field | Type | Required | Description |
|---|---|---|---|
| `actions[].kind` | `"tag_customer"` | yes |   |
| `actions[].tag` | string, 1 to 40 characters | yes |   |

**`actions[]` when `kind` is `email_staff`**

| Field | Type | Required | Description |
|---|---|---|---|
| `actions[].kind` | `"email_staff"` | yes |   |
| `actions[].subject` | string, 1 to 120 characters | yes |   |
| `actions[].text` | string, 1 to 2,000 characters | yes |   |

**`actions[]` when `kind` is `post_slack`**

| Field | Type | Required | Description |
|---|---|---|---|
| `actions[].kind` | `"post_slack"` | yes |   |
| `actions[].text` | string, 1 to 2,000 characters | yes |   |

**`actions[]` when `kind` is `send_request`**

| Field | Type | Required | Description |
|---|---|---|---|
| `actions[].kind` | `"send_request"` | yes |   |
| `actions[].endpointId` | string (uuid) | yes |   |

**`actions[]` when `kind` is `ask_ai_manager`**

| Field | Type | Required | Description |
|---|---|---|---|
| `actions[].kind` | `"ask_ai_manager"` | yes |   |
| `actions[].question` | string, 1 to 400 characters | yes |   |

**`actions[]` when `kind` is `hold_order`**

| Field | Type | Required | Description |
|---|---|---|---|
| `actions[].kind` | `"hold_order"` | yes |   |
| `actions[].reason` | string, 1 to 200 characters | yes |   |

## Shipping overview {#shipping-overview}

`shipping_overview`

The store's shipping as its Shipping pages show it (D237), per country: the flat rate (the default, and what subscriptions, subscription boxes and draft orders pay), the shipping methods with their rates per zone and profile (flat, by weight or by basket value; a tier's lower bound counts and its upper bound does not), the zones (postal codes and prefixes), the shipping profiles with how many products each holds, the default weight per unit used for goods without a weight, the pickup places (price, how soon an order is usually ready) and the local delivery areas (postal codes or a radius, price, minimum basket, free above), with the page's warnings. Every amount is written by the store, VAT included, in the country's own currency: repeat it, never work one out, and never say what a particular basket pays (the cart and checkout do). Read-only: shipping is changed on the Shipping pages (open_admin_page, shipping).

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#shipping-overview-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `market` | string, matching `^[A-Za-z]{2}$` | no | One country by its two-letter code (such as NO); leave it out for every country the store sells to. |

## Notification settings {#notification-settings}

`notification_settings`

The emails customers get about orders and returns (D238), as the Notifications page lists them: each one's name, when it is sent, whether it is on, off or always sent (the order confirmation, the renewal and change confirmations, the withdrawal acknowledgement and the return decisions are required; the acknowledgement's wording is fixed), and per language whether the store wrote its own subject, heading or text or uses the standard text. It never gives the words themselves. Read-only: switching an email and editing its words, with the preview and a test email, are done on the Notifications page (open_admin_page, notifications); who on the team gets staff alerts is the owner's page (notifications.staff).

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#notification-settings-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `notification` | string, matching `^[a-z_]+\.[a-z_]+$` | no | One email by its id, such as order.sent; leave it out for all of them. |

## Order rules {#order-rules}

`order_rules`

The store's automation rules (D238), as the Automation page lists them: each rule's sentence (when an order is paid and its conditions hold, then tag it, notify staff or hold it), whether it is on, its place in the order rules run, and its last run; then the log's latest runs (newest first) with the order's number, whether the rule matched and what each condition and action came to. Amounts in a rule are in the store's main currency. Read-only: rules are made, changed, switched and deleted on the Automation page (open_admin_page, automation), and an order on hold is released on its own page.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#order-rules-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `rule` | string, 1 to 80 characters | no | One rule by its name or id; leave it out for every rule. |
| `runs` | integer, 0 to 50 | no, default `10` | How many of the latest runs to give (0–50). |
| `matched` | boolean | no | Only runs that matched (true) or did not (false). |

## Search insights {#search-insights}

`search_insights`

What shoppers searched for in the store's search, most often first, and the searches that found nothing.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#search-insights-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `days` | integer, 1 to 90 | no, default `30` |   |
| `limit` | integer, 1 to 30 | no, default `10` | How many at most (1–30). |

## Search merchandising {#search-merchandising}

`search_merchandising`

The store's search as it has been tuned on the Search page (D324): its synonyms per language (each with its id and a line: "sofa = couch" finds both ways, "jumper → sweater" one way), its search rules (each with its id and a sentence: a product put first for some searches, a product or a category or tag moved up or down, searches sent to a page), the store's languages, and the searches of the last 30 days that found nothing, most often first. Read-only. Change it with save_search_synonym, save_search_rule or delete_search_merchandising (the owner's yes first).

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#search-merchandising-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Save search synonym {#save-search-synonym}

`save_search_synonym`

Adds a group of search synonyms, or changes one by its id from search_merchandising: words shoppers use for the same thing, in one of the store's languages. `both`: every word finds the others (2 to 20 words). `one_way`: each of `words` also finds each of `means` (1 to 20 each), never the other way. A word is a word or a short phrase of letters, digits, spaces, hyphens and apostrophes. A search that found nothing is often a word the products do not use: a synonym to the word they do use fixes it. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** none

### Inputs {#save-search-synonym-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `id` | string (uuid) | no | A group's id from search_merchandising, to change it; leave it out for a new group. |
| `language` | string, 2 to 20 characters | yes | One of the store's languages from search_merchandising, such as nb-NO or en. |
| `kind` | one of `both`, `one_way` | yes |   |
| `words` | list of string, 1 to 60 characters, 1 to 20 items | yes |   |
| `means` | list of string, 1 to 60 characters, at most 20 items | no | For one_way: what the words also find. |

## Save search rule {#save-search-rule}

`save_search_rule`

Adds a search rule, or changes one by its id from search_merchandising. `pin` puts a product (its handle) first for the searches named, pins in `position` order; `boost` or `bury` moves a product, or a category or tag (its slug), up or down in the searches named, or in every search when none are named; `redirect` sends the searches named to a page of the store (`page`, a path on the store such as /category/sofas, never another website). `match` `contains`: searches holding a phrase's words in order; `exact`: only searches that are the phrase. A search that asked for an order (price, newest) keeps it. Use handles and slugs from list_products and list_categories: never invent one. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** none

### Inputs {#save-search-rule-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `id` | string (uuid) | no | A rule's id from search_merchandising, to change it; leave it out for a new rule. |
| `action` | one of `pin`, `boost`, `bury`, `redirect` | yes |   |
| `product` | string, 1 to 200 characters | no | The product's handle: for pin, boost or bury. |
| `category` | string, 1 to 200 characters | no | A category's slug: for boost or bury, instead of a product. |
| `tag` | string, 1 to 200 characters | no | A tag's slug: for boost or bury, instead of a product. |
| `page` | string, 1 to 2,000 characters | no | For redirect: the page, as a path on the store. |
| `searches` | list of string, 1 to 100 characters, at most 20 items | no, default `[]` | The searches the rule is for; pin and redirect need at least one. |
| `match` | one of `contains`, `exact` | no, default `"contains"` |   |
| `position` | integer, 0 to 1,000 | no, default `0` | For pin: lower comes first. |

## Delete search merchandising {#delete-search-merchandising}

`delete_search_merchandising`

Removes a group of search synonyms or a search rule, by its id from search_merchandising (give one of the two). Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** destructive, idempotent

### Inputs {#delete-search-merchandising-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `synonym` | string (uuid) | no | A synonym group's id. |
| `rule` | string (uuid) | no | A search rule's id. |

## Market price rules {#market-price-rules}

`market_price_rules`

How each of the store's countries gets its prices, as on the Countries page (D335): set by hand, or worked out from another country's prices by a rule (a percentage up or down, on the price before or with VAT, rounded and with an ending), and how many prices are the rule's now. A price typed by hand in a ruled country stays as typed. Read-only. Change it with set_market_price_rule (the owner's yes first).

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `countries` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#market-price-rules-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Set market price rule {#set-market-price-rule}

`set_market_price_rule`

Works out every price in a country from another country's prices, or sets them by hand again (`from` null: the prices stay as they are). The base country's prices are converted at the store's rates, changed by `percent`, and rounded; `vat` `net` takes the base country's VAT off and puts this country's back on, `gross` keeps the price with VAT as it is. Prices typed by hand in the country stay as typed. A country whose prices are worked out is never another rule's base, and the base country's prices are its own. Countries by code from market_price_rules. Needs the owner's approval: it changes many prices at once. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `countries` must be on in the store
- **Hints:** idempotent

### Inputs {#set-market-price-rule-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `country` | string, 2 characters | yes | The country whose prices are worked out, by code (SE). |
| `from` | string, 2 characters or null | yes | The country they are worked out from (NO); null to set them by hand again. |
| `percent` | number, -90 to 1,000 | no, default `0` | Up (+) or down (-), in percent: 10 is 10 % more. |
| `vat` | one of `net`, `gross` | no, default `"net"` |   |
| `round_to` | number, 0 to 1,000 | no | Round to steps of this amount in the country's currency (1 = whole units, 10 = tens); left out, not rounded. |
| `ending` | number, at least 0 | no | With round_to: the price ends with this amount below the step (round_to 10, ending 9 makes 149, 159). |

## Customs duties {#customs-duties}

`customs_duties`

Customs and duties (D343) for one of the store's countries, as on Settings, Customs and duties: where the goods are sent from, whether they cross a customs border into it, who pays duties and import VAT there (DDP: collected at checkout with the order; DAP: the recipient pays the carrier on delivery, the default), and for its products (all active ones, or those named by handle, at most 30) each one's HS code and origin and an estimate of what one of it at its current price there pays in duty and import VAT, or why there is none (missing_hs: no HS code). Read-only. Every amount is an estimate from the platform's rates table: say so, and never give a rate or an amount the tool did not.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#customs-duties-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `country` | string, 2 characters | yes | The country, by code (GB, NO, US). |
| `products` | list of string, 1 to 200 characters, at most 30 items | no | Product handles; left out, the store's active products. |

## Producer registrations {#producer-registrations}

`producer_registrations`

The store's producer responsibility (D342), as on Settings, Producer responsibility: its registrations per scheme (packaging, electrical_equipment, batteries, textiles, furniture, tyres) and country, with number, authority, valid from and to, state today and whether the number shows on product pages, or why none is needed there; what is not sold today (no registration or exemption covers a scheme the products are ticked for in that country, whether none was recorded or the one recorded ended or has not begun: the cart and checkout refuse them there, from the day after the last one ends; a demo store or starting content is never held back). Read-only. Add or change one with save_producer_registration (the owner's yes first).

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#producer-registrations-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Save producer registration {#save-producer-registration}

`save_producer_registration`

Records a producer responsibility registration the owner gave you, or that none is needed in a country (`kind` exempt, with the owner's reason), or changes one by `id`. Never make up a number, an authority or a reason: ask the owner. Days are YYYY-MM-DD; valid_to is the last day it is valid (sales stop the day after unless another follows), null for open-ended. Countries by code from producer_registrations. Needs the owner's approval: it decides what shoppers in that country can buy. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** none

### Inputs {#save-producer-registration-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `id` | string (uuid) | no | The registration to change, from producer_registrations; left out to add one. |
| `scheme` | one of `packaging`, `electrical_equipment`, `batteries`, `textiles`, `furniture`, `tyres` | yes |   |
| `country` | string, 2 characters | yes | The country, by code (NO). |
| `kind` | one of `registered`, `exempt` | no, default `"registered"` |   |
| `number` | string, at most 100 characters | no | The registration number, as the authority gave it. |
| `authority` | string, at most 200 characters | no | Who gave it: the authority or producer responsibility organisation. |
| `reason` | string, at most 300 characters | no | With kind exempt: why no registration is needed there, in the owner's words. |
| `show_number` | boolean | no | Show the number on the country's product pages; left out, as the page would start it. |
| `valid_from` | string | no | The first day it is valid (YYYY-MM-DD); left out, today. |
| `valid_to` | string or null | no | The last day it is valid (YYYY-MM-DD), null for open-ended. |

## Set countries {#set-countries}

`set_countries`

The countries the store sells to, the whole list, as on the Countries page: each gets its own currency, language and prices. A country left out is no longer offered, its prices and settings kept. A new country needs its shipping price (set_flat_shipping) and its products' prices there. Runs at once while the store is being set up; once it is open it needs the owner's approval. On a store that is open it is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** idempotent

### Inputs {#set-countries-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `countries` | list of string, matching `^[A-Za-z]{2}$`, 1 to 60 items | yes | Every country the store sells to, by two-letter code: the whole list. A country left out is no longer offered; its prices and settings are kept for when it comes back. With Several countries off (Settings, Features) it is one country. |

## Set flat shipping {#set-flat-shipping}

`set_flat_shipping`

The flat shipping rate per country, as on the Shipping page: the price every basket can pay there (with VAT, in the country's own currency) and optionally free shipping above a basket value. Every country the store sells to needs one. Runs at once while the store is being set up; once it is open it needs the owner's approval. On a store that is open it is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** idempotent

### Inputs {#set-flat-shipping-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `rates` | list of objects, 1 to 60 items | yes | The countries to change; the others keep their rate. |
| `rates[].country` | string, matching `^[A-Za-z]{2}$` | yes |   |
| `rates[].price` | string, 1 to 20 characters | yes | The shipping price, with VAT, as text in the country's own currency: "79" or "79,50"; "0" is free. |
| `rates[].free_over` | string, 1 to 20 characters or null | no | Free shipping when the basket is worth at least this, as text in the same currency; null takes it away; left out, it stays as it is. |

## Save shipping method {#save-shipping-method}

`save_shipping_method`

Makes or changes a shipping method of a country, as the method editor does: its name, transit days, free-above amount, whether it is offered, and its prices per zone and profile (one flat price, or tiers by weight or basket value). Shoppers choose among the methods that price their basket; the flat rate is charged when none does. Read shipping_overview first. Runs at once while the store is being set up; once it is open it needs the owner's approval. On a store that is open it is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** none

### Inputs {#save-shipping-method-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `method` | string, 1 to 200 characters | no | The method to change, by its name in that country or its id (shipping_overview); left out to make a new one. |
| `country` | string, matching `^[A-Za-z]{2}$` | yes | The country the method is for. |
| `name` | string, 1 to 60 characters | no | Its name as shoppers see it, in the main language, such as Home delivery. Needed for a new method. |
| `names` | map of string, 2 to 10 characters to string, at most 60 characters | no | Its name in the store's other languages, by locale. |
| `transit_days` | object or null | no | How many days delivery takes, such as {min: 1, max: 3}; null takes it away. |
| `transit_days.min` | integer, 0 to 60 | yes |   |
| `transit_days.max` | integer, 0 to 60 | yes |   |
| `free_over` | string, 1 to 20 characters or null | no | Free with this method when the basket is worth at least this, as text in the country's own currency; null takes it away. |
| `active` | boolean | no | Offered at checkout; a new method is offered unless false. |
| `rates` | list of objects, 1 to 40 items | no | Its prices, every block of them: they replace the method's. Needed for a new method; left out, a change keeps them. |
| `rates[].zone` | string, at most 200 characters or null | no | A shipping zone of the country by its name or id (shipping_overview lists them); left out or null: the rest of the country. |
| `rates[].profile` | string, at most 200 characters or null | no | A shipping profile by its name or id; left out or null: General, every product not in another profile. |
| `rates[].tiers` | list of objects, at most 10 items | yes | One flat price, or tiers that meet with no gap (the first from 0, each from where the one before ends, only the last open); \[\] is not offered there. |
| `rates[].tiers[].by` | one of `flat`, `weight`, `value` | yes | flat: one price; weight: by the parcel's weight in grams; value: by the basket's value. |
| `rates[].tiers[].from` | number or string, at most 20 characters | no | Where the tier starts: grams for weight, an amount as text for value; 0 (left out) for the first. Not for flat. |
| `rates[].tiers[].up_to` | number or string, at most 20 characters or null | no | Where it ends, in the same unit, where the next starts; left out or null for the last. Not for flat. |
| `rates[].tiers[].price` | string, 1 to 20 characters | yes | The price, with VAT, as text in the country's own currency: "79" or "79,50"; "0" is free. |

## List integrations {#list-integrations}

`list_integrations`

The store's connected services (Zapier, Make and Slack): which events each gets, and whether deliveries have failed lately.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-integrations-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Price display {#price-display}

`price_display`

How the shop shows prices and quantities (D429, D430), as on Settings, Prices and quantity: decimals on whole amounts (always, or hide_whole: 499 kr while 499,50 kr keeps them; never a rounding) for the store and each country of its own, the words before and after a product's price by language (From, /pc), and how product pages offer a quantity (buttons: − and +; box: the number; hidden); and who may request a quote (D431, Settings, Orders: off, everyone, business) with how many requests wait. Read-only. Change them with set_price_display and set_quote_requests (the owner's yes first); a product's own words and price on request are update_product's.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#price-display-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Set price display {#set-price-display}

`set_price_display`

Changes how the shop shows prices and quantities: decimals on whole amounts for the store or a country, the store's words before and after a product's price in a language, and the quantity chooser on product pages. Only what is given changes. Words are short and plain: no percentage, no claims such as best price or only today (they are checked and refused with the reason). Never make words up: use the owner's. Needs the owner's approval: every price shoppers see follows. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** idempotent

### Inputs {#set-price-display-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `decimals` | one of `always`, `hide_whole` | no | always: every price with its decimals (499,00 kr); hide_whole: whole amounts without them (499 kr), others keep them (499,50 kr). Never a rounding. |
| `countries` | list of objects, at most 40 items | no | Countries that show decimals differently from the store; only the countries given change. |
| `countries[].country` | string, 2 characters | yes | One of the store's countries, by code (SE). |
| `countries[].decimals` | one of `store`, `always`, `hide_whole` | yes | store: as the store; always or hide_whole: this country's own. |
| `words` | list of objects, at most 20 items | no | The store's words before and after a product's price, by language; only the languages given change. |
| `words[].language` | string, 2 to 10 characters | yes | One of the store's languages, by code (nb, sv, en) or locale (nb-NO). |
| `words[].before` | string, at most 96 characters | no, default `""` | Shown before the price, such as From or Only (at most 24 characters); "" for none. |
| `words[].after` | string, at most 96 characters | no, default `""` | Shown after the price, such as /pc, per person or ,- (at most 24 characters); "" for none. |
| `quantity_chooser` | one of `buttons`, `box`, `hidden` | no | How product pages offer a quantity: buttons (− and + around a number), box (the number alone) or hidden (no chooser; Add to cart adds the least allowed). |

## Set quote requests {#set-quote-requests}

`set_quote_requests`

Chooses who may request a quote on products that show their price (D431): off, everyone (beside Add to cart and in the cart), or business buyers only. A product priced on request always offers it. Requests arrive as drafts marked `quote` (list_draft_orders). Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** idempotent

### Inputs {#set-quote-requests-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `who` | one of `off`, `everyone`, `business` | yes | off: no Request a quote on products that show their price; everyone: beside Add to cart and in the cart for every shopper; business: only for business buyers. A product priced on request offers it whatever this says. |

## Checkout questions {#checkout-questions}

`checkout_questions`

The questions the store's checkout asks (D357), as on Settings, Checkout rules: each one's place (1 is asked first), its words in the main language and the others, text or tick box, required or not, its help line, and whether it is on; how many a store may have. Shoppers' answers are not here: they are on each order's page. Read-only. Add, change, switch or move one with save_checkout_question (the owner's yes first).

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** read-only, idempotent

### Inputs {#checkout-questions-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Save checkout question {#save-checkout-question}

`save_checkout_question`

Adds a question the checkout asks (in the owner's words; never make one up), or changes one by `id` from checkout_questions: its words in any of the store's languages, text or tick box, required, its help line, on or off, and its place (1 first; the others keep their order). Only what is given changes. Ask only what the order needs: nothing about health, beliefs or other sensitive matters unless the owner says the sale cannot be made without it (GDPR article 9). A store with a question on loses express checkout. Deleting one is done on the page. Needs the owner's approval: shoppers are asked it. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`public`](https://docs.kaizenaflow.com/reference/mcp#gates): Changes what the site shows
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Feature:** `shop` must be on in the store
- **Hints:** none

### Inputs {#save-checkout-question-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `id` | string (uuid) | no | The question to change, from checkout_questions; left out to add one. |
| `kind` | one of `text`, `checkbox` | no | text: a line the shopper types (at most 500 characters); checkbox: a tick box. Adding: text unless given. |
| `required` | boolean | no | Must be answered before the order is placed (a tick box: ticked). Adding: optional unless given. |
| `question` | string, 1 to 80 characters | no | The question in the store's main language, in the owner's words. Needed when adding. |
| `question_in` | list of objects, at most 20 items | no | The question in the store's other languages; only the languages given change. |
| `question_in[].language` | string, 2 to 10 characters | yes | One of the store's languages, by code (nb, sv, en) or locale (nb-NO). |
| `question_in[].text` | string, at most 80 characters | yes | The words in that language; "" takes them away there. |
| `help` | string, at most 200 characters or null | no | A line under the question in the main language; "" or null takes it away. |
| `help_in` | list of objects, at most 20 items | no | The help line in the store's other languages; only the languages given change. |
| `help_in[].language` | string, 2 to 10 characters | yes | One of the store's languages, by code (nb, sv, en) or locale (nb-NO). |
| `help_in[].text` | string, at most 200 characters | yes | The words in that language; "" takes them away there. |
| `on` | boolean | no | Asked at checkout (true) or kept but not asked (false). Adding: on unless given. |
| `place` | integer, at least 1 | no | Where it is asked, 1 being first; the others keep their order. A place past the end is the end. |

## List domains {#list-domains}

`list_domains`

The store's domains (D315): each one's address, whether it is the store's address or still waiting for its DNS, which language it is for, who it is registered with and when it expires, whether Kaizena Flow keeps its DNS, and its health in one line with how many findings need the owner. Every fact is read by code (the store's checks, public DNS, the registry's RDAP record); repeat them, never guess one. Read-only. For the findings of one domain call check_domain.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-domains-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Check domain {#check-domain}

`check_domain`

Checks one of the store's domains now (D315) and gives each finding with how serious it is and what fixes it: the DNS not pointing at the store, the proof record missing, an expiry close with no renewal, an unconfirmed registrant email, a CAA record that stops the certificate, two SPF records, email without SPF or DMARC. The findings are made in code: repeat them in their own words, never add one. A fix names a tool (once it exists for this store) or the place on the Domains page; where the DNS is kept elsewhere, the owner changes it there, and the page shows the records.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent, open world

### Inputs {#check-domain-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `domain` | string, 3 to 253 characters | yes | The domain, such as example.no, as list_domains gives it. |

## List DNS records {#list-dns-records}

`list_dns_records`

The DNS records of one of the store's domains whose DNS Kaizena Flow keeps (D315), read live: each record's type, name and value, which are kept for the store (never changed by you), and the latest changes with their ids for undo_dns_change. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent, open world

### Inputs {#list-dns-records-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `domain` | string, 3 to 253 characters | yes | The domain, as list_domains gives it. |

## Work overview {#work-overview}

`work_overview`

The store's Work (clients, time and invoices): unbilled time by client with its amount, overdue invoices, drafts, recurring invoices ready, and running timers; amounts in each client's currency. Read-only; refused when Work is not on.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#work-overview-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## List work clients {#list-work-clients}

`list_work_clients`

Work's clients: each one's name, currency, active assignments and unbilled time. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-work-clients-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## List work assignments {#list-work-assignments}

`list_work_assignments`

Work's open assignments (id, client, name, how it is billed, its draft invoice) and the draft invoices with their totals. Read-only.

- **Gate:** none: it runs when called
- **Permission:** `settings:read`
- **Scope:** [`settings:read`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** read-only, idempotent

### Inputs {#list-work-assignments-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |

## Log time {#log-time}

`log_time`

Logs time on a Work assignment in the person's name, on today's date in the store's time zone unless given.

- **Gate:** none: it runs when called
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** none

### Inputs {#log-time-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `assignment` | string, 1 to 200 characters | yes | The assignment's id, or its name (with the client's name before it when two share a name). |
| `minutes` | integer, 1 to 1,440 | yes | How long, in minutes (90 for an hour and a half). |
| `date` | string, matching `^\d{4}-\d{2}-\d{2}$` | no | The day the work was done, YYYY-MM-DD; leave out for today. |
| `billable` | boolean | no, default `true` |   |
| `note` | string, at most 500 characters | no | What was done. |

## Issue work invoice {#issue-work-invoice}

`issue_work_invoice`

Issues a Work draft invoice today, with the next number of the store's series, and emails it to the client unless said. An issued invoice is a legal document: it cannot be changed, only credited. Needs the owner's approval. It is not done from here: it is kept for the owner to approve in Kaizena Flow's admin.

- **Gate:** [`send`](https://docs.kaizenaflow.com/reference/mcp#gates): Sends something in the store's name
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** open world

### Inputs {#issue-work-invoice-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `invoice` | string, 1 to 200 characters | yes | The draft's id, or the client's name when it has one draft. |
| `email` | boolean | no, default `true` | Email it to the client's billing address. |

## Cancel purchase {#cancel-purchase}

`cancel_purchase`

Calls off a purchase the owner approved that is still open: its card is closed at once (a purchase already charged keeps its charge; only the card closes). Give its id from list_purchases.

- **Gate:** none: it runs when called
- **Permission:** `settings:write`
- **Scope:** [`settings:write`](https://docs.kaizenaflow.com/reference/scopes#mcp)
- **Hints:** destructive, idempotent, open world

### Inputs {#cancel-purchase-inputs}

| Field | Type | Required | Description |
|---|---|---|---|
| `store` | string | yes | The store, by its slug from list_stores. |
| `purchase` | string (uuid) | yes |   |

---

https://docs.kaizenaflow.com/reference/mcp/settings · made from the API contract 1.57
