Skip to main content
Glama

Checkout Promo Codes

checkout_active_promo_code_finder
Read-only

Coupon code candidates published in the homepage metadata of a shop, with the source text. Codes are not verified at checkout. $0.01 per non-empty result. Useful for collecting possible discounts before checkout; prices and stock: universal_product_url_to_json. Does not apply coupons or place an order.

Input Schema

NameRequiredDescriptionDefault
domainYesPublic domain without scheme, path or port.
contextNoOptional. A few words on why you are calling this tool. Recorded without your identity to improve the tools; leave out personal data.
product_categoryNoOptional category context for the supplied store; does not guarantee category-specific or checkout-verified coupons.

Output Schema

NameRequiredDescriptionDefault
codeNo
domainNo
statusNo
sandboxNo
limitationsNo
active_codesNo
error_reasonNo
promos_foundNo
sources_checkedNo
best_offer_summaryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • removedOutput schema / anyOf
      Removed value: -[
      -  {
      -    "description": "Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null.",
      -    "properties": {
      -      "active_codes": {
      -        "items": {
      -          "properties": {
      -            "checkout_verified": {
      -              "type": "boolean"
      -            },
      -            "code": {
      -              "type": "string"
      -            },
      -            "confidence": {
      -              "maximum": 1,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "discount_description": {
      -              "type": "string"
      -            },
      -            "promo_landing_url": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "enum": [
      -                "seo_meta"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "code",
      -            "discount_description",
      -            "source",
      -            "promo_landing_url",
      -            "confidence",
      -            "checkout_verified"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "best_offer_summary": {
      -        "type": "string"
      -      },
      -      "domain": {
      -        "type": "string"
      -      },
      -      "error_reason": {
      -        "type": "string"
      -      },
      -      "limitations": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "promos_found": {
      -        "type": "boolean"
      -      },
      -      "sandbox": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "demo_domain": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "note": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "demo_domain",
      -          "note"
      -        ],
      -        "type": "object"
      -      },
      -      "sources_checked": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "status": {
      -        "enum": [
      -          "ok",
      -          "no_data",
      -          "unreachable"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "domain",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "code": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "status": {
      -        "maximum": 599,
      -        "minimum": 400,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "code"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / description
      Added value: +"Fields only; full schema in GET /v1/catalog."
    • addedOutput schema / properties
      Added value: +{
      +  "active_codes": {},
      +  "best_offer_summary": {},
      +  "code": {},
      +  "domain": {},
      +  "error_reason": {},
      +  "limitations": {},
      +  "promos_found": {},
      +  "sandbox": {},
      +  "sources_checked": {},
      +  "status": {}
      +}
  2. Changed3 schema fields changed
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "description": "Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null.",
      +    "properties": {
      +      "active_codes": {
      +        "items": {
      +          "properties": {
      +            "checkout_verified": {
      +              "type": "boolean"
      +            },
      +            "code": {
      +              "type": "string"
      +            },
      +            "confidence": {
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "discount_description": {
      +              "type": "string"
      +            },
      +            "promo_landing_url": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "enum": [
      +                "seo_meta"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "discount_description",
      +            "source",
      +            "promo_landing_url",
      +            "confidence",
      +            "checkout_verified"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "best_offer_summary": {
      +        "type": "string"
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "error_reason": {
      +        "type": "string"
      +      },
      +      "limitations": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "promos_found": {
      +        "type": "boolean"
      +      },
      +      "sandbox": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "demo_domain": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "note": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "demo_domain",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "sources_checked": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "status": {
      +        "enum": [
      +          "ok",
      +          "no_data",
      +          "unreachable"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "domain",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "status": {
      +        "maximum": 599,
      +        "minimum": 400,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "code"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / description
      Removed value: -"Fields only; full schema in GET /v1/catalog."
    • removedOutput schema / properties
      Removed value: -{
      -  "active_codes": {},
      -  "best_offer_summary": {},
      -  "code": {},
      -  "domain": {},
      -  "error_reason": {},
      -  "limitations": {},
      -  "promos_found": {},
      -  "sandbox": {},
      -  "sources_checked": {},
      -  "status": {}
      -}
  3. Changed3 schema fields changed
    • removedOutput schema / anyOf
      Removed value: -[
      -  {
      -    "description": "Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null.",
      -    "properties": {
      -      "active_codes": {
      -        "items": {
      -          "properties": {
      -            "checkout_verified": {
      -              "type": "boolean"
      -            },
      -            "code": {
      -              "type": "string"
      -            },
      -            "confidence": {
      -              "maximum": 1,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "discount_description": {
      -              "type": "string"
      -            },
      -            "promo_landing_url": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "enum": [
      -                "seo_meta"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "code",
      -            "discount_description",
      -            "source",
      -            "promo_landing_url",
      -            "confidence",
      -            "checkout_verified"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "best_offer_summary": {
      -        "type": "string"
      -      },
      -      "domain": {
      -        "type": "string"
      -      },
      -      "error_reason": {
      -        "type": "string"
      -      },
      -      "limitations": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "promos_found": {
      -        "type": "boolean"
      -      },
      -      "sandbox": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "demo_domain": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "note": {
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "demo_domain",
      -          "note"
      -        ],
      -        "type": "object"
      -      },
      -      "sources_checked": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "status": {
      -        "enum": [
      -          "ok",
      -          "no_data",
      -          "unreachable"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "domain",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "code": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "status": {
      -        "maximum": 599,
      -        "minimum": 400,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "code"
      -    ],
      -    "type": "object"
      -  }
      -]
    • addedOutput schema / description
      Added value: +"Fields only; full schema in GET /v1/catalog."
    • addedOutput schema / properties
      Added value: +{
      +  "active_codes": {},
      +  "best_offer_summary": {},
      +  "code": {},
      +  "domain": {},
      +  "error_reason": {},
      +  "limitations": {},
      +  "promos_found": {},
      +  "sandbox": {},
      +  "sources_checked": {},
      +  "status": {}
      +}
  4. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "description": "Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null.",
      -    "properties": {
      -      "active_codes": {
      -        "items": {
      -          "properties": {
      -            "checkout_verified": {
      -              "type": "boolean"
      -            },
      -            "code": {
      -              "type": "string"
      -            },
      -            "confidence": {
      -              "maximum": 1,
      -              "minimum": 0,
      -              "type": "number"
      -            },
      -            "discount_description": {
      -              "type": "string"
      -            },
      -            "promo_landing_url": {
      -              "type": "string"
      -            },
      -            "source": {
      -              "enum": [
      -                "seo_meta"
      -              ],
      -              "type": "string"
      -            }
      -          },
      -          "required": [
      -            "code",
      -            "discount_description",
      -            "source",
      -            "promo_landing_url",
      -            "confidence",
      -            "checkout_verified"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "best_offer_summary": {
      -        "type": "string"
      -      },
      -      "domain": {
      -        "type": "string"
      -      },
      -      "error_reason": {
      -        "type": "string"
      -      },
      -      "limitations": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "promos_found": {
      -        "type": "boolean"
      -      },
      -      "sources_checked": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "status": {
      -        "enum": [
      -          "ok",
      -          "no_data",
      -          "unreachable"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "domain",
      -      "status"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": true,
      -    "properties": {
      -      "code": {
      -        "minLength": 1,
      -        "type": "string"
      -      },
      -      "status": {
      -        "maximum": 599,
      -        "minimum": 400,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "code"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "description": "Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null.",
      +    "properties": {
      +      "active_codes": {
      +        "items": {
      +          "properties": {
      +            "checkout_verified": {
      +              "type": "boolean"
      +            },
      +            "code": {
      +              "type": "string"
      +            },
      +            "confidence": {
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "discount_description": {
      +              "type": "string"
      +            },
      +            "promo_landing_url": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "enum": [
      +                "seo_meta"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "discount_description",
      +            "source",
      +            "promo_landing_url",
      +            "confidence",
      +            "checkout_verified"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "best_offer_summary": {
      +        "type": "string"
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "error_reason": {
      +        "type": "string"
      +      },
      +      "limitations": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "promos_found": {
      +        "type": "boolean"
      +      },
      +      "sandbox": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "demo_domain": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "note": {
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "demo_domain",
      +          "note"
      +        ],
      +        "type": "object"
      +      },
      +      "sources_checked": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "status": {
      +        "enum": [
      +          "ok",
      +          "no_data",
      +          "unreachable"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "domain",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "status": {
      +        "maximum": 599,
      +        "minimum": 400,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "code"
      +    ],
      +    "type": "object"
      +  }
      +]
  5. Changed1 schema field changed
    • changedInput schema / properties / domain / examples
      Previous value: -[
      -  "example.com"
      -]New value: +[
      +  "allbirds.com"
      +]
  6. Changed1 schema field changed
    • addedInput schema / properties / context
      Added value: +{
      +  "description": "Optional. A few words on why you are calling this tool. Recorded without your identity to improve the tools; leave out personal data.",
      +  "type": "string"
      +}
  7. Changed4 schema fields changed
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "description": "Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null.",
      +    "properties": {
      +      "active_codes": {
      +        "items": {
      +          "properties": {
      +            "checkout_verified": {
      +              "type": "boolean"
      +            },
      +            "code": {
      +              "type": "string"
      +            },
      +            "confidence": {
      +              "maximum": 1,
      +              "minimum": 0,
      +              "type": "number"
      +            },
      +            "discount_description": {
      +              "type": "string"
      +            },
      +            "promo_landing_url": {
      +              "type": "string"
      +            },
      +            "source": {
      +              "enum": [
      +                "seo_meta"
      +              ],
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "code",
      +            "discount_description",
      +            "source",
      +            "promo_landing_url",
      +            "confidence",
      +            "checkout_verified"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "best_offer_summary": {
      +        "type": "string"
      +      },
      +      "domain": {
      +        "type": "string"
      +      },
      +      "error_reason": {
      +        "type": "string"
      +      },
      +      "limitations": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "promos_found": {
      +        "type": "boolean"
      +      },
      +      "sources_checked": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "status": {
      +        "enum": [
      +          "ok",
      +          "no_data",
      +          "unreachable"
      +        ],
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "domain",
      +      "status"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "code": {
      +        "minLength": 1,
      +        "type": "string"
      +      },
      +      "status": {
      +        "maximum": 599,
      +        "minimum": 400,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "code"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / description
      Removed value: -"Only status=ok is charged. Diagnostic results may omit result fields; unknown facts are null."
    • removedOutput schema / properties
      Removed value: -{
      -  "active_codes": {
      -    "items": {
      -      "properties": {
      -        "checkout_verified": {
      -          "type": "boolean"
      -        },
      -        "code": {
      -          "type": "string"
      -        },
      -        "confidence": {
      -          "maximum": 1,
      -          "minimum": 0,
      -          "type": "number"
      -        },
      -        "discount_description": {
      -          "type": "string"
      -        },
      -        "promo_landing_url": {
      -          "type": "string"
      -        },
      -        "source": {
      -          "enum": [
      -            "seo_meta"
      -          ],
      -          "type": "string"
      -        }
      -      },
      -      "required": [
      -        "code",
      -        "discount_description",
      -        "source",
      -        "promo_landing_url",
      -        "confidence",
      -        "checkout_verified"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "best_offer_summary": {
      -    "type": "string"
      -  },
      -  "domain": {
      -    "type": "string"
      -  },
      -  "error_reason": {
      -    "type": "string"
      -  },
      -  "limitations": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "promos_found": {
      -    "type": "boolean"
      -  },
      -  "sources_checked": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "status": {
      -    "enum": [
      -      "ok",
      -      "no_data",
      -      "unreachable"
      -    ],
      -    "type": "string"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "domain",
      -  "status"
      -]
  8. Changed1 schema field changed
    • addedInput schema / properties / product_category / description
      Added value: +"Optional category context for the supplied store; does not guarantee category-specific or checkout-verified coupons."
  9. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the description adds genuine context on top: results are unverified, the source text is returned, nothing is applied or ordered, and there is a metered cost of $0.01 per non-empty result. The pricing disclosure is particularly valuable for agent decision-making; only rate-limit or failure-mode details are absent.

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-loaded with what is returned, then caveats, cost, alternative, and exclusions in tight telegraphic clauses. Dense but every clause carries information; the fragments are slightly abrupt but not wasteful.

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

Completeness4/5

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

With an output schema present, return values need not be explained, and the description covers the key unknowns: verification status, cost model, and non-mutation. A 1-parameter read tool is nearly fully specified; only the reliability of homepage metadata mining is left implicit.

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

Parameters3/5

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

Schema description coverage is 100%, so domain, context, and product_category are fully documented at the parameter level, and the description adds only the implicit domain targeting. It contributes nothing beyond schema for the optional parameters, which is acceptable at baseline but not additive.

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 precise verb+resource: extracts coupon code candidates from a shop's homepage metadata, including the source text. It also scopes the result quality ('not verified at checkout') and explicitly separates itself from universal_product_url_to_json, so an agent can distinguish it from siblings without opening the schema.

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 usage context ('collecting possible discounts before checkout') and routes price/stock needs to universal_product_url_to_json. It also states a boundary ('does not apply coupons or place an order'), though it doesn't say when the tool would be a poor choice (e.g., stores with no homepage metadata).

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.

Resources