PlatformDocs
MCP server

preview_plan_change

Shows what a plan change would cost without changing anything.

View as Markdown

Preview plan change · Read-only

Shows what a plan change would cost without changing anything. Returns direction (upgrade, downgrade or flat), intervalChanged, current and new leads, newMonthlyCents, chargedNowCents (amount charged today, in cents), nextInvoiceCents and nextInvoiceDate. For a same-interval upgrade, today's charge is the extra leads at the new plan's per-lead price (newPerLeadCents), not a time-based proration. chargedNowCents is 0 for downgrades and for monthly/yearly switches. Always run this before upgrade_plan and show the user the price. Fails if the account has no active paid subscription.

ConnectionAccount-owner URL or OAuth (not a team member URL)

Parameters

ParameterTypeRequiredAcceptsDescription
leadsintegerYes1–1000000Leads per month of the new plan: a whole number from 1 to 1,000,000. Below 300 is priced as 300.
annualbooleanNoanytrue for yearly billing, false for monthly. Leave it out to keep the current billing interval; only pass a value when the user wants to switch.

Tool definition

What your assistant receives from tools/list:

{
  "name": "preview_plan_change",
  "title": "Preview plan change",
  "annotations": {
    "title": "Preview plan change",
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "leads": {
        "type": "integer",
        "minimum": 1,
        "maximum": 1000000,
        "description": "Leads per month of the new plan: a whole number from 1 to 1,000,000. Below 300 is priced as 300."
      },
      "annual": {
        "type": "boolean",
        "description": "true for yearly billing, false for monthly. Leave it out to keep the current billing interval; only pass a value when the user wants to switch."
      }
    },
    "required": [
      "leads"
    ]
  }
}

Used in

On this page