Generate a disclosure that passes the checks for given terms
get_compliant_disclosureGenerates the locked, engine-verified automatic-renewal disclosure for a plan: disclosure_text (ends with the consent sentence; keep your button label; a checkbox only if the result says so), consent_label, html. Terms: price or amount, interval, trial_days, cancel_url, merchant_name, promo (intro_price or intro_percent_off, intro_periods). Example: {"merchant_name":"Acme","price":19.99,"interval":"month","trial_days":14,"cancel_url":"https://acme.example/cancel"}. With site (and a key that may create disclosures), it also returns the Elements snippet (script tag, , React usage) that records each consent.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_compliant_disclosure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | ||
| site | No | Site id (site_…) to also get the Elements snippet for. | |
| price | No | Recurring price, major units (19.99). | |
| amount | No | Or minor units (1999 = $19.99). | |
| verbose | No | ||
| currency | No | ISO currency, default "usd". | |
| interval | No | Billing interval. | |
| merchant | No | ||
| brand_name | No | Alias of merchant_name. | |
| cancel_url | No | https URL where subscribers cancel online (used in generated text). | |
| trial_days | No | Free-trial days (0 or absent = no trial). | |
| intro_price | No | Promo first-period price, major units ($8 → 8). | |
| cancel_timing | No | When a cancellation takes effect (default period_end). | |
| intro_periods | No | Billing periods the promo lasts (default 1). | |
| jurisdictions | No | Where the business sells: "all" (default) or state codes like ["US-CA","US-NY"] ("CA" works too). Federal law is always included. | |
| merchant_name | No | Brand shown to subscribers, e.g. "Acme". | |
| interval_count | No | Default 1; 3 + month = quarterly. | |
| intro_percent_off | No | Or the promo as % off (coupon percent_off). |