Menu
MCP: referrals
Gifts and referral rewards
| Toolset | referrals (opt-in) |
| Tools | 6 |
Permissions granted by weird mcp setup | referrals:read, referrals:write |
With --read-only | referrals:read |
| Turn it on | weird mcp setup --add referrals |
weird_referrals#
Gifts and rewards. Show the gifts the user gave and claimed and the referral rewards earned, or (what promotion) the gift amounts and rewards on offer. Free.
| Changes something | no (read-only) |
Needs confirmed: true | no |
| Calls | getReferrals, getReferralPromotion |
Arguments:
what, string — status (default: the user's gifts and rewards) or promotion (the gift amounts and rewards on offer)
weird_gift#
One gift. Show one gift; once paid, the giver's view carries its claim link. Free.
| Changes something | no (read-only) |
Needs confirmed: true | no |
| Calls | getGift |
Arguments:
gift_id, string, required — the gift
weird_gift_create#
Start buying a gift. Start buying a gift of credits for someone: it answers a checkout address for the USER to open and pay (VAT on top); never open or pay it yourself. Free. The user pays the checkout themselves. Then weird_gift shows the claim link to send with the password.
| Changes something | yes |
Needs confirmed: true | yes (consequential) |
| Calls | createGift |
Arguments:
amount, integer — whole credits within the promotion's range (default: the standard amount)claim_password, string, required — a password of at least 6 characters the user chooses and gives the recipient themselvesconfirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequenceidempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
weird_gift_regenerate#
New claim link. Make a new claim link for a paid, unclaimed gift (and a new password if given); the old link stops working at once. Free.
| Changes something | yes |
Needs confirmed: true | yes (consequential) |
| Calls | regenerateGift |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencegift_id, string, required — the giftidempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key usednew_password, string — also a new claim password the user chose
weird_gift_revoke#
Take a gift back. Take back a gift not claimed yet: an unpaid one is cancelled, a paid one's credits go to the user's own account. Free. Irreversible: the claim link stops working for good.
| Changes something | yes |
Needs confirmed: true | yes (cannot be undone) |
| Calls | revokeGift |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequencegift_id, string, required — the giftidempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key used
weird_gift_claim#
Claim a gift. Claim a gift the user received, with its link's token and password; the credits arrive once the user's profile is complete. Free. A claim cannot be undone.
| Changes something | yes |
Needs confirmed: true | yes (consequential) |
| Calls | claimGift |
Arguments:
confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequenceidempotency_key, string — optional, for an action that costs credits: pass the same value again if you retry this exact action; a repeat never creates or bills a second one. Leave it out the first time: the answer returns the key usedpassword, string, required — the claim password the user was giventoken, string, required — the token of the claim link the user received
This page is generated from the weird CLI; it changes when the CLI does.