Menu

MCP: referrals

Gifts and referral rewards

Toolsetreferrals (opt-in)
Tools6
Permissions granted by weird mcp setupreferrals:read, referrals:write
With --read-onlyreferrals:read
Turn it onweird 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 somethingno (read-only)
Needs confirmed: trueno
CallsgetReferrals, 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 somethingno (read-only)
Needs confirmed: trueno
CallsgetGift

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 somethingyes
Needs confirmed: trueyes (consequential)
CallscreateGift

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 themselves
  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • idempotency_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 somethingyes
Needs confirmed: trueyes (consequential)
CallsregenerateGift

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • gift_id, string, required — the gift
  • idempotency_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
  • new_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 somethingyes
Needs confirmed: trueyes (cannot be undone)
CallsrevokeGift

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • gift_id, string, required — the gift
  • idempotency_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 somethingyes
Needs confirmed: trueyes (consequential)
CallsclaimGift

Arguments:

  • confirmed, boolean, required — must be true, and only after the user explicitly agreed to this action and its cost or consequence
  • idempotency_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
  • password, string, required — the claim password the user was given
  • token, 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.