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

NameTypeDescription
account_id requiredstringThe ID of the target loyalty account.
accumulate_points requiredobjectThe points to add to the account. If you are using the Orders API to manage…
idempotency_key requiredstringA unique string that identifies the AccumulateLoyaltyPoints request. Keys can…
location_id requiredstringThe 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:

call_tool arguments
{
  "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:

Run in your terminal
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 ….

More from Square API