{
  "name": "couponkhassm-noon-register",
  "title": "CouponKhassm noon register",
  "description": "Read-only MCP server over an independent register of noon’s published rules and accredited codes in Saudi Arabia, the UAE, Egypt, Kuwait, Qatar, Oman and Bahrain. Every answer is computed from the public registry file and carries the noon page and Observation Date behind it.",
  "version": "1.0.0",
  "protocolVersions": [
    "2025-06-18",
    "2025-03-26",
    "2024-11-05"
  ],
  "transport": {
    "type": "streamable-http",
    "url": "https://couponkhassm.com/noon-protocol/rpc",
    "responses": "application/json",
    "stateless": true
  },
  "authentication": {
    "required": false
  },
  "capabilities": {
    "tools": {
      "listChanged": false
    }
  },
  "tools": [
    {
      "name": "order_balance",
      "description": "Works out the Order Balance for one cart at noon in one market: the accredited code value (rate applied, cap applied), the delivery and cash-on-delivery fees, the amount due at checkout, the credit returned after delivery where the code works as credit, and the net. Returns the figures, the accredited code used, warning flags (for example cart above the cash-on-delivery ceiling), and the published rule and source behind each fixed fee. Delivery fees are not published by noon, so pass the fee shown at checkout."
    },
    {
      "name": "noon_one_break_even",
      "description": "Works out how many noon express orders a month cover the noon One membership fee in Saudi Arabia or the UAE, given the delivery fee per order seen at checkout without membership. Returns the published monthly fee, trial length and free-delivery thresholds with their sources, the break-even order count, and the monthly difference at the given order count. For every other market it returns that no membership is on record, with the register’s wording."
    },
    {
      "name": "return_check",
      "description": "Applies noon’s published return clauses to one case: market, department, days since delivery, whether the box was opened, whether the item is refurbished, and the reason. Returns a verdict (excluded, outside_window, refused_opened, depends, eligible or defect_path), the return window used, the clauses relied on and related clauses with their sources, and the market’s warranty and refund rules. It reports what the pages publish; the decision itself is noon’s."
    },
    {
      "name": "find_code",
      "description": "Looks up accredited codes. With a market it returns that market’s codes; with a department (slug or name) it returns that department’s code for Saudi Arabia and the UAE plus the market-level codes (Egypt, and Kuwait, Qatar, Oman and Bahrain). Each code comes with its Accreditation Status, markets, role, listing date, the accredited terms (rates, cap, mechanism) and the page that documents it. Only codes on the site’s accredited list are ever returned."
    },
    {
      "name": "market_rules",
      "description": "Returns the rules noon publishes for one market, optionally for one topic, each as a sentence with its source page and Observation Date, followed by the items noon’s pages do not publish for that market and topic. Topics: code-entry, code-combining, credit, bank, delivery, one, pickup, cod, pay, returns, refund, warranty, wallet, support, season, entity."
    },
    {
      "name": "list_unstated",
      "description": "Returns the Unstated Register: what noon’s observed pages do not publish (for example a free-delivery threshold without membership, or the definition of a new customer), per market, with the date up to which the pages were observed. Use it before assuming a figure exists."
    },
    {
      "name": "ask_register",
      "description": "Answers a free-text question (Arabic or English) from the register: detects the market and topics, returns the matching published rules with sources, the relevant unstated items, and an Order Balance when the question carries a cart value. It composes no text beyond the register’s own sentences and says so when nothing matches. Same engine as POST /concierge/ask."
    }
  ],
  "data": "https://couponkhassm.com/datasets/v1/registry.json",
  "documentation": "https://couponkhassm.com/en/developers/",
  "contact": "desk@couponkhassm.com",
  "license": "https://creativecommons.org/licenses/by/4.0/"
}
