# Rebalance How Customers Earn Points

> Looks at where your points really come from and adjusts the earn rules that give too much or too little.

- Job: [Affiliates & loyalty](https://storeagent.ai/mcp-recipes/job/affiliates/)
- What it does: Asks first: changes your store, only after you say yes
- Time saved: ~20 min vs doing it by hand
- Requires: StoreAgent (free plugin, MCP on every plan) + Advanced Coupons
- Works in: Claude, ChatGPT, Cursor and any MCP client connected to the store through StoreAgent MCP
- Web page: https://storeagent.ai/mcp-recipes/rebalance-earn-rules/

## The prompt

```text
Show me how many points have come from each source in my loyalty program and compare that with my current earn rules. Tell me if any rule gives away points without much benefit, like blog comments, or if a rule I care about is too small to matter. Suggest new point amounts, and which rules to turn on or off. Show me the before and after for each rule, and wait for my OK before you change anything.
```

## What happens when you paste it

You: Show me how many points have come from each source in my loyalty program and compare that with my current earn rules…

Assistant: Blog comments have given 18,400 points in total, more than product reviews at 6,200. Blog comments earn 25 points each and reviews earn 10. Calling: `advanced-coupons/get-loyalty-program-overview`, `advanced-coupons/list-loyalty-earn-rules`, `advanced-coupons/update-loyalty-earn-rule`, `advanced-coupons/toggle-loyalty-earn-rule`.

Assistant: This will make changes in WooCommerce. Do you want me to go ahead?

Assistant: Reviews now earn 50 points. Points for blog comments are now off. Purchase points and the other rules are unchanged.

## Abilities this recipe calls

- **Get loyalty program overview** (`advanced-coupons/get-loyalty-program-overview`, read only, from Advanced Coupons): Totals points issued, redeemed and outstanding, by source, with the redemption rate.
- **List points earn rules** (`advanced-coupons/list-loyalty-earn-rules`, read only, from Advanced Coupons): Lists the ways customers earn points, whether each is on, and the points given.
- **Update a points earn rule** (`advanced-coupons/update-loyalty-earn-rule`, asks first, from Advanced Coupons): Changes the points given or the email setting for an earn rule.
- **Switch an earn rule on or off** (`advanced-coupons/toggle-loyalty-earn-rule`, asks first, from Advanced Coupons): Turns any built-in points earn rule on or off.

## Variations

Add one of these to the end of the prompt. Swap anything in [brackets] for your own details.

- Turn off the customer email for [rule].
- Only show me the suggestions. Do not change anything.

## Related recipes

- [Loyalty Program Health Check](https://storeagent.ai/mcp-recipes/loyalty-health-check.md): Tells you if your points program is working: how many points are redeemed, what it costs you and where points come from.
- [Save Loyalty Points Before They Expire](https://storeagent.ai/mcp-recipes/save-expiring-points.md): Finds customers about to lose their points and gives them a small bonus that keeps their account active.
- [Reward Your Top Loyalty Members](https://storeagent.ai/mcp-recipes/reward-top-loyalty-members.md): Ranks your most loyal customers by points earned and gives them a bonus as a thank you.

---

Part of the StoreAgent WooCommerce MCP Recipes directory: https://storeagent.ai/mcp-recipes/ (index for LLMs: https://storeagent.ai/mcp-recipes/llms.txt). Get StoreAgent free: https://app.storeagent.ai/sign-up/
