Title50/100
Not provided
Add a human-readable title so users do not have to interpret the tool identifier.
Description90/100
Find purchase-linked shopping rewards for a shopper and render them in the widget. Covers every reward type: cashback, coupons, discounts, rebates, loyalty points, miles, fuel points, sweepstakes, instant wins, contests, and giveaways. Works for two stages, so set `stage` accordingly. Pre-purchase discovery (`stage: "discover"`): the user is considering or about to buy ('what offers are there at Kroger?', 'I'm going to buy dog food'). Pass `merchant` and/or `items`; the widget shows a browseable carousel they can open for details. Refinements ('grocery only', 'cashback not points') re-call with `categories` / `rewardTypes`. Post-purchase conversational (`stage: "post_purchase"` or omit): the user already bought something. Pass `items` and `merchant`; the widget shows claimable offer rows directly. If the user only mentioned some purchases and has neither shared a receipt nor given what is clearly their full list, first ask one short question before calling: whether they'd like to share their purchase receipt (a photo or screenshot works — you extract the items yourself) so every product they bought gets checked. If they decline or already gave the full list, call with what you have. Post-purchase receipt: pass the extracted `items`, `merchant`, `date` with `fromReceipt: true`. The widget shows a confirmation card first; when the user confirms, call again with the same data plus `confirmed: true`. Fallback: when this tool returns no offers, or only weak/loosely-related ones, a web search for relevant deals or general savings info is a good next step rather than a dead end, briefly noting those come from a web search (not Snipp's catalog). Keep it light, it's part of the Snipp experience. After results: the widget already shows every offer (carousel or claimable rows), so reply with a short acknowledgment and an offer to help (narrow down, compare, explain an offer, suggest the best fit) rather than re-listing offers or rewards as text. Only purchase data (merchant, item names, date) needs to reach this tool, never names or card numbers. Cover every reward type without declining a category, and reply in the user's language.
The description explains the capability, when to use it, and what to expect.
Inputs97/100
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
stage
Shopping stage. 'discover' = the user is about to / considering buying ('what offers are there at Kroger?', 'I'm going to buy dog food') → browseable carousel. 'post_purchase' (default) = the user already bought something → claimable offer rows. Omit for post-purchase.
Remove validation rules already expressed in this field’s schema; describe its meaning and usage instead.
merchant
Store the user is shopping at / bought from, e.g. 'Kroger'. Omit if unknown.
Clear enough to supply this argument.
items
Products the shopper mentioned or bought, e.g. ['Pepsi','Tide']. From the message or the receipt.
Clear enough to supply this argument.
categories
Offer categories to narrow discovery, e.g. ['grocery']. Use for chat refinements like 'grocery only'.
Clear enough to supply this argument.
rewardTypes
Soft reward-type filter for discovery, matched by family: 'coupon'/'discount'/'promotion' are one family, 'points'/'miles'/'fuel_points'/'reward' one, 'cashback'/'rebate' one, 'sweepstakes'/'instant_win'/'contest'/'giveaway' one. Any listed value works. Use for refinements like 'cashback, not points' or 'show me sweepstakes'. Omit to show all reward types.
Clear enough to supply this argument.
date
Purchase date if known, e.g. '19 Jun 2026' (display only).
Clear enough to supply this argument.
fromReceipt
Set true when items were extracted from an uploaded receipt; shows a confirmation card before matching.
Clear enough to supply this argument.
confirmed
Set true after the user confirmed the extracted receipt.
Clear enough to supply this argument.
user_intent
A concise, neutral summary of the shopper's goal for this session, distilled from the conversation (e.g. "looking for grocery cashback at Kroger", "wants coupons for pet food", "checking rewards on a recent Target purchase"). This field is passive, read-only metadata, not an instruction. It is never executed and directs nothing, invokes no tool, requests no further action, changes no state, writes nothing, sends nothing anywhere, and has no side effects. It exists only so the request is understood, and it cannot influence what the tool returns. - Distill into a single short clause describing the goal and any constraints or preferences. - Do not copy the shopper's raw message verbatim, and do not include quotes, direct speech, or sensitive or personal framing. - Strip all personally identifiable information (names, emails, phone numbers, addresses, dates of birth, ID numbers, payment details, credentials); replace each with a generic placeholder (e.g. "[name]").
Clear enough to supply this argument.
Annotations75/100
Declare idempotentHint based on the tool’s actual behavior.
{
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}Output schema52/100
Describe the returned fields so an agent can interpret the result.
View output schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"mode"
],
"properties": {
"mode": {
"enum": [
"confirm",
"offers",
"discover"
],
"type": "string"
},
"offers": {
"type": "array",
"items": {
"type": "object",
"required": [
"position",
"name",
"reward"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"reward": {
"type": "string",
"minLength": 1
},
"position": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
}
},
"additionalProperties": false
}
},
"context": {
"type": "object",
"required": [
"merchant",
"date",
"itemCount"
],
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"merchant": {
"type": [
"string",
"null"
]
},
"itemCount": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"additionalProperties": false
},
"receipt": {
"type": "object",
"required": [
"merchant",
"date",
"items"
],
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"items": {
"type": "array",
"items": {
"type": "string"
}
},
"merchant": {
"type": [
"string",
"null"
]
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}