Home / Servers / Square API / accumulate_loyalty_points
AccumulateLoyaltyPoints
An MCP tool from the Square API server, hosted on mcp.hjlabs.in.
AccumulateLoyaltyPoints Adds points earned from a purchase to a loyalty account. - If you are using the Orders API to manage orders, provide the order_id. Square reads the order to compute the points earned from both the… [POST /v2/loyalty/accounts/{account_id}/accumulate]
Name on the gateway: square_api__accumulate_loyalty_points · may change things.
Parameters
| Name | Type | Description |
|---|---|---|
account_id required | string | The ID of the target loyalty account. |
accumulate_points required | object | The points to add to the account. If you are using the Orders API to manage… |
idempotency_key required | string | A unique string that identifies the AccumulateLoyaltyPoints request. Keys can… |
location_id required | string | The location where the purchase was made. |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "square_api__accumulate_loyalty_points",
"arguments": {
"account_id": "…",
"accumulate_points": "…",
"idempotency_key": "…",
"location_id": "…"
}
}Or connect the Square API server directly, which lists 308 tools including this one:
claude mcp add --transport http hj-square-api https://mcp.hjlabs.in/mcp/square-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the accumulateloyaltypoints tool with account_id set to ….