Skip to main content
Glama

Mews MCP

by code-rabi

addLoyaltyMemberships

Adds new loyalty memberships to the Mews hospitality platform, enabling integration of customer accounts with loyalty programs, including points, tiers, and expiration details.

Instructions

Adds new loyalty memberships to the system

Input Schema

NameRequiredDescriptionDefault
ChainIdNoUnique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise.
LoyaltyMembershipsYesArray of loyalty membership objects to create

Input Schema (JSON Schema)

{ "additionalProperties": false, "properties": { "ChainId": { "description": "Unique identifier of the chain. Required when using Portfolio Access Tokens, ignored otherwise.", "type": "string" }, "LoyaltyMemberships": { "description": "Array of loyalty membership objects to create", "items": { "additionalProperties": false, "properties": { "AccountId": { "description": "Unique identifier of the account (Customer or Company)", "type": "string" }, "Code": { "description": "Code of the loyalty membership", "type": "string" }, "ExpirationDate": { "description": "Expiration date of the loyalty membership in UTC timezone in ISO 8601 format", "type": "string" }, "IsPrimary": { "description": "Whether this is the primary loyalty membership for the account", "type": "boolean" }, "LoyaltyProgramId": { "description": "Unique identifier of the loyalty program", "type": "string" }, "LoyaltyTierId": { "description": "Unique identifier of the loyalty tier", "type": "string" }, "Points": { "description": "The loyalty points the account has in this membership", "type": "number" }, "ProviderMembershipId": { "description": "Loyalty membership identifier assigned by external provider", "maxLength": 100, "type": "string" }, "State": { "description": "State of the loyalty membership", "type": "string" }, "Url": { "description": "URL of the loyalty membership", "type": "string" } }, "required": [ "AccountId", "LoyaltyProgramId" ], "type": "object" }, "maxItems": 1000, "type": "array" } }, "required": [ "LoyaltyMemberships" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/code-rabi/mews-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server