earn_loyalty_points
ActiveTool of FavCRM
declared in 1.0.0
Credit loyalty points or stamps to a member. Use field="points" for points, "stamps" for stamps. Server records a transaction with the reason as audit context.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"accountId",
"field",
"amount"
],
"properties": {
"field": {
"enum": [
"points",
"stamps"
],
"type": "string",
"description": "Which loyalty unit to credit"
},
"amount": {
"type": "integer",
"maximum": 9007199254740991,
"description": "Positive integer amount to credit",
"exclusiveMinimum": 0
},
"reason": {
"type": "string",
"description": "Audit-trail reason (e.g. \"Booking completed\", \"Manual adjustment\")"
},
"accountId": {
"type": "string",
"description": "The member/account ID"
}
}
}Parent server
FavCRM
https://github.com/favcrm/mcp
1/7 registries