You're viewing a demo portfolio

Join the waitlist
PRSM

create_service_package

Active

Tool of FavCRM

declared in 1.0.0

Create a service package/prepaid session bundle. Use applicableType=SELECTED with applicableItems to limit the package to specific booking services or events.

Parameters schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "required": [
    "name",
    "sessionCount",
    "price",
    "validDays"
  ],
  "properties": {
    "name": {
      "type": "string",
      "maxLength": 200,
      "minLength": 1,
      "description": "Package name"
    },
    "price": {
      "type": "number",
      "minimum": 0,
      "description": "Package price"
    },
    "status": {
      "enum": [
        "ACTIVE",
        "INACTIVE"
      ],
      "type": "string",
      "description": "Default ACTIVE"
    },
    "validDays": {
      "type": "integer",
      "maximum": 3650,
      "minimum": 1,
      "description": "Validity window after purchase, in days"
    },
    "description": {
      "type": "string",
      "description": "Description"
    },
    "sessionCount": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "Number of included sessions"
    },
    "applicableType": {
      "enum": [
        "ALL",
        "ALL_BOOKINGS",
        "ALL_EVENTS",
        "SELECTED"
      ],
      "type": "string",
      "description": "Default ALL"
    },
    "applicableItems": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "itemType",
          "itemId"
        ],
        "properties": {
          "itemId": {
            "type": "string"
          },
          "itemType": {
            "enum": [
              "booking_service",
              "event"
            ],
            "type": "string"
          }
        }
      },
      "description": "Items used when applicableType=SELECTED"
    }
  }
}

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 →