MCP server
Tool reference

Tool reference

Tools are what the assistant calls behind the scenes. You don't need to name them — just ask. The names help when you read logs or set tool permissions in your AI tool.

On the local server, the loyalty page and Redeem in Cart tools need @joy-loyalty/mcp 0.4.0 or later.

Read — always available

ToolWhat it returns
joy_get_loyalty_overviewStore name, domain, plan, currency, timezone and loyalty settings
joy_list_earning_rulesEvery way customers earn points, including per-tier rates
joy_list_redemption_rulesEvery way customers spend points, with costs and limits
joy_list_tiersVIP tiers with thresholds, multipliers, benefits and member counts
joy_get_referral_programWhether referrals are on, and what the referrer and friend get
joy_find_memberOne member by email or customer ID: balance, tier, stats, progress to next tier
joy_list_membersMembers sorted by points, signup or activity, filterable by tier; total count
joy_get_member_activityOne member's point history, with balance before and after
joy_get_member_rewardsCoupons a member has redeemed: code, program, status, expiry
joy_get_member_store_creditA member's Shopify store credit balance (money, not points)
joy_explain_order_pointsWhy an order did or didn't earn points, naming the rule that decided it
joy_get_loyalty_health_checkA health score out of 100 against the previous period, with flags
joy_list_activitiesWhich members earned, redeemed, expired, changed tier or joined in a period
joy_investigate_member_riskAbuse checks on one member: lookalike emails, shared device or IP, prior orders
joy_get_tier_upgrade_candidatesMembers closest to the next tier, and how little they need
joy_get_retention_risk_membersMembers whose points expire soon or who may drop a tier
joy_get_analytics_reportAny Joy Analytics report: members, tiers, points, rewards, coupons, referrals, revenue
joy_get_loyalty_revenue_reportSales, AOV and returning rate on loyalty orders, from Shopify's sales data
joy_get_tier_performance_breakdownShopify sales, AOV and orders per customer by VIP tier
joy_get_referral_performanceHow many referral coupons were used in a period
joy_get_member_referralsOne member's referral results and recent referrals
joy_get_loyalty_page_designYour loyalty page's colors, fonts and sections, and whether it's live in your theme
joy_get_loyalty_page_textYour loyalty page's text in one language
joy_check_theme_setupWhether the Joy widget, app embeds and blocks are on in your live theme
joy_scan_brand_designYour storefront's colors, fonts and button style
joy_get_widget_fieldsThe widget settings that can be changed, with current values
joy_get_redeem_in_cartYour Redeem in Cart settings and design

Changes — Full access

ToolWhat it doesSafeguard
joy_award_pointsGives points to a memberReason required; safe to retry after a timeout
joy_deduct_pointsRemoves pointsReason required; previews first over 1,000 points or below zero
joy_adjust_pointsCorrects a balance by a set amountPreviews first by default; reason required
joy_redeem_rewardSpends points on a reward and returns the coupon codeCan take up to 30 seconds; don't retry blindly
joy_refund_couponCancels a point-redeemed coupon and returns the pointsReason required; don't retry blindly
joy_set_member_tierMoves a member to a tier; may trigger that tier's rewardsReason required
joy_create_referral_inviteReturns a member's referral linkCreates a customer for a non-member email
joy_enable_analytics_v2Switches your store to the new Joy Analytics and imports historyAssistant confirms with you first
joy_update_loyalty_page_designChanges your loyalty page designDraft unless you publish; icons go live right away
joy_update_loyalty_page_textChanges your loyalty page textGoes live right away; re-translates other languages
joy_revert_loyalty_page_designUndoes the most recent loyalty page changeRestores to your draft; restored icons go live

Settings changes — local server, opt-in

All of these need a reason and are built to preview first. None of them are recorded in your activity log, and repeating one can create a duplicate.

ToolWhat it does
joy_configure_earning_programCreates or edits an earning rule (orders, sign-up, birthday, reviews, social follows…)
joy_configure_redemption_programCreates or edits a reward: amount off, % off, free shipping, free gift
joy_configure_tierCreates or edits a VIP tier
joy_configure_tier_rewardAdds or changes a tier reward
joy_configure_tier_perksReplaces a tier's list of perks
joy_configure_tier_settingsTier calculation, demotion, reset, tags and notifications
joy_configure_shop_settingsA set of shop-wide settings such as language, date format and earning limits
joy_add_translation_languageAdds a storefront language and translates your content
joy_configure_referral_programReferrer and friend rewards
joy_configure_referral_widgetThe live referral popup
joy_configure_widget_draftApplies branding to the widget; draft by default, a live save can't be undone
joy_set_widget_fieldsChanges widget settings; draft by default, a live save can't be undone
joy_configure_redeem_in_cartRedeem in Cart behavior and position
joy_configure_redeem_in_cart_designRedeem in Cart style and colors
joy_upload_imageUploads an image to your Shopify Files

Changes to tier thresholds wait until you relaunch tiers in the Joy admin. Changes to how tier progress is counted or when the program starts apply to new activity right away; existing members keep their tier points until you relaunch.