Skip to main content
Glama

McClipFace

Report whether a coupon code worked

report_coupon_result

Records whether a coupon code or no-code deal worked at checkout, as the shopper confirmed or as seen with checkout tools they authorized; not a lookup. Community mode only, which is off until the shopper says Yes. Stores the store (domain) and code, or an offer_id for a no-code deal, plus the outcome (codes: worked or rejected; no-code deals: worked, didnt_work or not_found) and an optional reason; no amounts, carts, totals or personal data. McClipFace can't verify consent, only the caller's statement of it.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "outcome": "<outcome>"
    },
    "name": "report_coupon_result"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeNoThe code tried. Required for a code report; a no-code deal has no code and is identified by offer_id.
reasonNoOptional short note (at most 200 characters), e.g. why a deal didn't apply.
outcomeYesCodes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code McClipFace didn't list: merchant and code with worked or rejected and no offer_id (kept for review; once reported working it is offered to other shoppers, for a store we don't list with merchant as its domain). store_not_covered: merchant only, when the store has no match in McClipFace. Every outcome is sent only in Community mode; Private mode, or no mode chosen yet, sends nothing.
merchantNoStore name or domain, e.g. "Tommy John". Required with code; optional with offer_id.
offer_idNoOffer id of a listed offer. Required for no-code deal reports; for codes, used instead of merchant and code when set.
eligibilityNoeligible: the store said the code itself is invalid or expired; ineligible: the cart, product or account didn't qualify, or it can't stack with another promotion; unknown: can't tell. Only an eligible rejection counts against a code.unknown

Output Schema

NameRequiredDescriptionDefault
statusYes
offer_idNo
disclosureYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • changedInput schema / properties / code / description
      Previous value: -"The code tried. Required for a code report; for a no-code deal omit it and pass offer_id."New value: +"The code tried. Required for a code report; a no-code deal has no code and is identified by offer_id."
    • changedInput schema / properties / eligibility / description
      Previous value: -"eligible: the store said the code itself is invalid or expired; ineligible: the cart, product or account didn't qualify, or it can't stack with another promotion (say so in reason); unknown: can't tell. Only an eligible rejection counts against a code. Don't report inconclusive tests or a code accepted that saved nothing extra."New value: +"eligible: the store said the code itself is invalid or expired; ineligible: the cart, product or account didn't qualify, or it can't stack with another promotion; unknown: can't tell. Only an eligible rejection counts against a code."
    • changedInput schema / properties / merchant / description
      Previous value: -"Store name as used with find_coupons, e.g. \"Tommy John\". Required with code; optional with offer_id."New value: +"Store name or domain, e.g. \"Tommy John\". Required with code; optional with offer_id."
    • changedInput schema / properties / offer_id / description
      Previous value: -"Offer id from find_coupons. Required for no-code deal reports; for codes, used instead of merchant and code when set."New value: +"Offer id of a listed offer. Required for no-code deal reports; for codes, used instead of merchant and code when set."
    • changedInput schema / properties / outcome / description
      Previous value: -"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code find_coupons didn't list: merchant and code with worked or rejected and no offer_id (kept for review; once reported working it is offered to other shoppers, for a store we don't list with merchant as its domain). store_not_covered: merchant only, when find_coupons found no match. Every outcome is sent only in Community mode; Private mode, or no mode chosen yet, sends nothing."New value: +"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code McClipFace didn't list: merchant and code with worked or rejected and no offer_id (kept for review; once reported working it is offered to other shoppers, for a store we don't list with merchant as its domain). store_not_covered: merchant only, when the store has no match in McClipFace. Every outcome is sent only in Community mode; Private mode, or no mode chosen yet, sends nothing."
    • changedInput schema / properties / reason / description
      Previous value: -"Optional short note (at most 200 characters), e.g. why a deal didn't apply. Never cart, price, total or personal data."New value: +"Optional short note (at most 200 characters), e.g. why a deal didn't apply."
  2. Changed4 schema fields changed
    • removedOutput schema / properties / disclosure / description
      Removed value: -"Commission disclosure, in every result. Offers with tracked=true (link_type \"affiliate\" in the text) are the affiliate links it refers to."
    • removedOutput schema / properties / queue
      Removed value: -{
      -  "description": "review: a code or store we don't list, kept for review; a code with worked reports is offered to other shoppers as a shopper-found code.",
      -  "enum": [
      -    "review"
      -  ],
      -  "type": "string"
      -}
    • removedOutput schema / properties / reason
      Removed value: -{
      -  "type": "string"
      -}
    • removedOutput schema / properties / status / enum
      Removed value: -[
      -  "stored",
      -  "duplicate",
      -  "limited",
      -  "test",
      -  "invalid_arguments",
      -  "unavailable"
      -]
  3. Changed1 schema field changed
    • changedInput schema / properties / outcome / description
      Previous value: -"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code find_coupons didn't list: merchant and code with worked or rejected and no offer_id (kept for review; once reported working it is offered to other shoppers, for a store we don't list with merchant as its domain). store_not_covered: merchant only, when find_coupons found no match. Every outcome is sent only in Community mode or with a just-this-once yes for that checkout; Private mode, or no mode chosen yet, sends nothing without that yes."New value: +"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code find_coupons didn't list: merchant and code with worked or rejected and no offer_id (kept for review; once reported working it is offered to other shoppers, for a store we don't list with merchant as its domain). store_not_covered: merchant only, when find_coupons found no match. Every outcome is sent only in Community mode; Private mode, or no mode chosen yet, sends nothing."
  4. Changed2 schema fields changed
    • changedInput schema / properties / outcome / description
      Previous value: -"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code find_coupons didn't list: merchant and code with worked or rejected and no offer_id (kept for review, never published). store_not_covered: merchant only, when find_coupons found no match. Every outcome is sent only in Community mode or with a just-this-once yes for that checkout; Private mode, or no mode chosen yet, sends nothing without that yes."New value: +"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code find_coupons didn't list: merchant and code with worked or rejected and no offer_id (kept for review; once reported working it is offered to other shoppers, for a store we don't list with merchant as its domain). store_not_covered: merchant only, when find_coupons found no match. Every outcome is sent only in Community mode or with a just-this-once yes for that checkout; Private mode, or no mode chosen yet, sends nothing without that yes."
    • changedOutput schema / properties / queue / description
      Previous value: -"review: a code or store we don't list, kept for review and never published."New value: +"review: a code or store we don't list, kept for review; a code with worked reports is offered to other shoppers as a shopper-found code."
  5. Changed1 schema field changed
    • changedInput schema / properties / outcome / description
      Previous value: -"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code find_coupons didn't list: merchant and code with worked or rejected and no offer_id (kept for review, never published). store_not_covered: merchant only, when find_coupons found no match. Every outcome is sent only in Community mode or when the shopper says yes to reporting that single result; Private mode, or no mode chosen yet, sends nothing without that yes."New value: +"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code find_coupons didn't list: merchant and code with worked or rejected and no offer_id (kept for review, never published). store_not_covered: merchant only, when find_coupons found no match. Every outcome is sent only in Community mode or with a just-this-once yes for that checkout; Private mode, or no mode chosen yet, sends nothing without that yes."
  6. Changed1 schema field changed
    • changedInput schema / properties / eligibility / description
      Previous value: -"eligible: the offer's known terms were met; ineligible: they weren't (an ineligible rejection doesn't count against the offer)."New value: +"eligible: the store said the code itself is invalid or expired; ineligible: the cart, product or account didn't qualify, or it can't stack with another promotion (say so in reason); unknown: can't tell. Only an eligible rejection counts against a code. Don't report inconclusive tests or a code accepted that saved nothing extra."
  7. Changed6 schema fields changed
    • changedInput schema / properties / code / description
      Previous value: -"The code that was tried. Required for a coupon report; omit for a no-code deal and pass offer_id instead."New value: +"The code tried. Required for a code report; for a no-code deal omit it and pass offer_id."
    • changedInput schema / properties / eligibility / description
      Previous value: -"eligible only when the code's or deal's known terms were met; ineligible when they were not (an ineligible rejection does not count against the offer)."New value: +"eligible: the offer's known terms were met; ineligible: they weren't (an ineligible rejection doesn't count against the offer)."
    • changedInput schema / properties / merchant / description
      Previous value: -"Store name as used with find_coupons, e.g. \"Tommy John\". Required with code for a coupon report; optional when offer_id is set for a no-code deal."New value: +"Store name as used with find_coupons, e.g. \"Tommy John\". Required with code; optional with offer_id."
    • changedInput schema / properties / offer_id / description
      Previous value: -"Offer id from find_coupons. Required for no-code deal reports (didnt_work / not_found); optional for codes (used instead of merchant and code when set)."New value: +"Offer id from find_coupons. Required for no-code deal reports; for codes, used instead of merchant and code when set."
    • changedInput schema / properties / outcome / description
      Previous value: -"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (dead offer link). No-code deals: worked, didnt_work (deal did not apply at checkout) or not_found (deal was not present on the store account or page). A code find_coupons didn't list (the store had no match, or the code wasn't in the results): merchant and code with worked or rejected and no offer_id; it goes to a review queue and is never published. store_not_covered: merchant only, when the lookup found no match for the store. Every outcome is sent only in Community mode or when the shopper says yes to reporting that single result; Private mode, or no mode chosen yet, sends nothing without that yes."New value: +"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (the offer link ended on an error page or never reached the store; never counts against the code). No-code deals: worked, didnt_work (didn't apply at checkout) or not_found (not on the store page or account). A code find_coupons didn't list: merchant and code with worked or rejected and no offer_id (kept for review, never published). store_not_covered: merchant only, when find_coupons found no match. Every outcome is sent only in Community mode or when the shopper says yes to reporting that single result; Private mode, or no mode chosen yet, sends nothing without that yes."
    • changedInput schema / properties / reason / description
      Previous value: -"Optional short plain note (at most 200 characters), e.g. why a deal did not apply. Never cart, price, total or personal data."New value: +"Optional short note (at most 200 characters), e.g. why a deal didn't apply. Never cart, price, total or personal data."
  8. Changed1 schema field changed
    • changedInput schema / properties / outcome / description
      Previous value: -"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (dead offer link). No-code deals: worked, didnt_work (deal did not apply at checkout) or not_found (deal was not present on the store account or page). A code find_coupons didn't list (the store had no match, or the code wasn't in the results): merchant and code with worked or rejected and no offer_id; it goes to a review queue and is never published. store_not_covered: merchant only, when the lookup found no match for the store. Every outcome is Community mode only; Private mode, or no mode chosen yet, sends no reports."New value: +"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (dead offer link). No-code deals: worked, didnt_work (deal did not apply at checkout) or not_found (deal was not present on the store account or page). A code find_coupons didn't list (the store had no match, or the code wasn't in the results): merchant and code with worked or rejected and no offer_id; it goes to a review queue and is never published. store_not_covered: merchant only, when the lookup found no match for the store. Every outcome is sent only in Community mode or when the shopper says yes to reporting that single result; Private mode, or no mode chosen yet, sends nothing without that yes."
  9. Changed1 schema field changed
    • changedInput schema / properties / outcome / description
      Previous value: -"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (dead offer link). No-code deals: worked, didnt_work (deal did not apply at checkout) or not_found (deal was not present on the store account or page). A code find_coupons didn't list (the store had no match, or the code wasn't in the results): merchant and code with worked or rejected and no offer_id; it goes to a review queue and is never published. store_not_covered: merchant only, when the lookup found no match for the store."New value: +"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (dead offer link). No-code deals: worked, didnt_work (deal did not apply at checkout) or not_found (deal was not present on the store account or page). A code find_coupons didn't list (the store had no match, or the code wasn't in the results): merchant and code with worked or rejected and no offer_id; it goes to a review queue and is never published. store_not_covered: merchant only, when the lookup found no match for the store. Every outcome is Community mode only; Private mode, or no mode chosen yet, sends no reports."
  10. Changed9 schema fields changed
    • changedInput schema / properties / code / description
      Previous value: -"The code that was tried."New value: +"The code that was tried. Required for a coupon report; omit for a no-code deal and pass offer_id instead."
    • changedInput schema / properties / eligibility / description
      Previous value: -"eligible only when the code's known terms were met; ineligible when they were not (an ineligible rejection does not count against the code)."New value: +"eligible only when the code's or deal's known terms were met; ineligible when they were not (an ineligible rejection does not count against the offer)."
    • changedInput schema / properties / merchant / description
      Previous value: -"Store name as used with find_coupons, e.g. \"Tommy John\"."New value: +"Store name as used with find_coupons, e.g. \"Tommy John\". Required with code for a coupon report; optional when offer_id is set for a no-code deal."
    • changedInput schema / properties / offer_id / description
      Previous value: -"Optional: the offer id from find_coupons; used instead of merchant and code."New value: +"Offer id from find_coupons. Required for no-code deal reports (didnt_work / not_found); optional for codes (used instead of merchant and code when set)."
    • changedInput schema / properties / outcome / description
      Previous value: -"worked: checkout accepted it and the total went down. rejected (or failed): the store refused it. link_broken: the offer's link ended on an error page or never reached the store."New value: +"Codes: worked (checkout accepted it and the total went down), rejected or failed (the store refused it), link_broken (dead offer link). No-code deals: worked, didnt_work (deal did not apply at checkout) or not_found (deal was not present on the store account or page). A code find_coupons didn't list (the store had no match, or the code wasn't in the results): merchant and code with worked or rejected and no offer_id; it goes to a review queue and is never published. store_not_covered: merchant only, when the lookup found no match for the store."
    • changedInput schema / properties / outcome / enum
      Previous value: -[
      -  "worked",
      -  "rejected",
      -  "failed",
      -  "link_broken"
      -]New value: +[
      +  "worked",
      +  "rejected",
      +  "failed",
      +  "link_broken",
      +  "didnt_work",
      +  "not_found",
      +  "store_not_covered"
      +]
    • addedInput schema / properties / reason
      Added value: +{
      +  "description": "Optional short plain note (at most 200 characters), e.g. why a deal did not apply. Never cart, price, total or personal data.",
      +  "maxLength": 200,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "merchant",
      -  "code",
      -  "outcome"
      -]New value: +[
      +  "outcome"
      +]
    • addedOutput schema / properties / queue
      Added value: +{
      +  "description": "review: a code or store we don't list, kept for review and never published.",
      +  "enum": [
      +    "review"
      +  ],
      +  "type": "string"
      +}
  11. Changed5 schema fields changed
    • removedInput schema / properties / saved_amount
      Removed value: -{
      -  "description": "Optional, worked only: amount saved. Only whether it is above 0 is stored, never the amount.",
      -  "minimum": 0,
      -  "type": "number"
      -}
    • addedOutput schema / properties / disclosure
      Added value: +{
      +  "description": "Commission disclosure, in every result. Offers with tracked=true (link_type \"affiliate\" in the text) are the affiliate links it refers to.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / reason
      Added value: +{
      +  "type": "string"
      +}
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "stored",
      -  "duplicate",
      -  "limited",
      -  "test"
      -]New value: +[
      +  "stored",
      +  "duplicate",
      +  "limited",
      +  "test",
      +  "invalid_arguments",
      +  "unavailable"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "status"
      -]New value: +[
      +  "status",
      +  "disclosure"
      +]
  12. Changed2 schema fields changed
    • changedInput schema / properties / outcome / description
      Previous value: -"worked: checkout accepted it and the total went down. rejected (or failed): the store refused it."New value: +"worked: checkout accepted it and the total went down. rejected (or failed): the store refused it. link_broken: the offer's link ended on an error page or never reached the store."
    • changedInput schema / properties / outcome / enum
      Previous value: -[
      -  "worked",
      -  "rejected",
      -  "failed"
      -]New value: +[
      +  "worked",
      +  "rejected",
      +  "failed",
      +  "link_broken"
      +]
  13. Changed3 schema fields changed
    • changedInput schema / properties / outcome / description
      Previous value: -"worked: checkout accepted it. rejected: the store refused it."New value: +"worked: checkout accepted it and the total went down. rejected (or failed): the store refused it."
    • changedInput schema / properties / outcome / enum
      Previous value: -[
      -  "worked",
      -  "rejected"
      -]New value: +[
      +  "worked",
      +  "rejected",
      +  "failed"
      +]
    • changedOutput schema / properties / status / enum
      Previous value: -[
      -  "stored",
      -  "duplicate",
      -  "limited"
      -]New value: +[
      +  "stored",
      +  "duplicate",
      +  "limited",
      +  "test"
      +]
  14. Added

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds substantial context beyond the annotations: the Community-mode gate, the data boundary (no amounts, carts, totals or personal data), the consent caveat that McClipFace can't verify consent, and the downstream effect that a working code is later offered to other shoppers — which explains the idempotentHint=false behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loads the core action and the lookup exclusion, then packs constraints into compact semicolon-delimited clauses. It is dense and the long middle sentence is effortful to parse, but little of it is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for a write-shaped reporting tool: mode gating, allowed data, consent limits and downstream reuse are all covered, and return values are handled by the output schema.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3; the description adds meaning by pairing outcome vocabularies with report types (codes vs no-code deals), noting merchant may be a domain, and clarifying offer_id substitutes for merchant+code on codes.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource — records a coupon/no-code deal outcome at checkout — and explicitly negates the nearest wrong reading with "not a lookup," separating it from find_coupons and find_product_coupons.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear conditions: report only what the shopper confirmed or what was seen via authorized checkout tools, and only in Community mode (off until the shopper says Yes). It does not name specific sibling tools as alternatives, but the "not a lookup" exclusion covers the main confusion.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.