You're viewing a demo portfolio

Join the waitlist
PRSM

create_offer_rule

Active

Tool of FavCRM

declared in 1.0.0

Create an upsell/cross-sell offer rule as draft. Specify trigger type, conditions, and suggested products with optional discounts.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "name",
    "type",
    "triggerType"
  ],
  "properties": {
    "name": {
      "type": "string",
      "description": "Rule name"
    },
    "type": {
      "enum": [
        "upsell",
        "cross_sell",
        "bundle",
        "post_purchase"
      ],
      "type": "string",
      "description": "Rule type: upsell, cross_sell, bundle, or post_purchase"
    },
    "products": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "productId"
        ],
        "properties": {
          "productId": {
            "type": "number",
            "description": "Product ID to suggest"
          },
          "discountType": {
            "enum": [
              "percentage",
              "fixed_amount"
            ],
            "type": "string",
            "description": "Discount type"
          },
          "discountValue": {
            "type": "string",
            "description": "Discount value"
          }
        }
      },
      "description": "Products to suggest with optional discounts"
    },
    "description": {
      "type": "string",
      "description": "Rule description"
    },
    "triggerType": {
      "enum": [
        "product_view",
        "cart_contains",
        "cart_threshold",
        "post_order",
        "category_view"
      ],
      "type": "string",
      "description": "When the offer triggers"
    },
    "triggerConfig": {
      "type": "object",
      "description": "Trigger-specific configuration",
      "propertyNames": {
        "type": "string"
      },
      "additionalProperties": {}
    }
  }
}

What this tool wraps· 0 endpoints

min confidence0.700.50

No endpoints wrapped at confidence ≥ 0.70.

Parent server

FavCRM

https://github.com/favcrm/mcp

1/7 registries
View full server →
create_offer_rule — FavCRM — PRSM MCP