Skip to main content
Glama

Checkout link for a list (older name)

create_checkout

Mint a hosted Stripe Checkout link for a list you shaped — the same code as checkout_list.

Creating the link costs nothing and charges nobody — payment only happens
if a human opens the returned `checkout_url` and completes it on Stripe's
hosted page; the purchase is complete only when that person finishes
payment.

The dedicated buying journey is: `interpret_list` (the
buyer's words → a shape) or `list_starters` (ready-made lists with live
counts) → `quote_list` (graded counts + the price) → `checkout_list`
(this link). This tool keeps accepting a list for compatibility — the
list path is the same code as `checkout_list`.

What you can buy: a list — `list_id` (a saved list, `#browse?list=<id>`) or the
inline shape `filters` + `states` (omit `states` for every live state:
CO, CT, FL, IN, NY, OR, PA, TX, VA), with a `lane` (`all` / `best` / `contact`) and an optional `cap`
(`{"type": "count|budget", "value"}` — records for count, cents for budget).
The list is quoted through the same summary code path `browse_leads(summary=True)`
uses, then checkout is opened against exactly that quote — if the price
rule or the count moved in between, the server answers 409 with the
fresh quote and nothing is minted. **Billing base is `sellable` (a
matching record whose filing names a person), never `matching`.**
name and address $0.25 per record · plus one verified phone or email $0.50 · plus both $0.70 (price rule v1; live prices always come from the summary call's `prices` block). The selected records are frozen when the link is minted, so
what is billed is what is delivered.

`product_id` buys nothing: fixed-price shelf products were replaced by
starter lists with live counts. Passing one returns an error that names
the next calls — `list_starters` (or `interpret_list`), `quote_list`,
`checkout_list`. Every purchase is one-time; a standing order is set up
from a paid order's receipt, paid up front for the run (each delivery
draws on it).

`delivery`: `file` (the customer workbook — CSV / Excel / JSON, durable
re-download), `crm` (push into `crm_connection_id`), or `connector`
(the file ships today and `connector_crm_name` is recorded as a request
for that CRM). Delivery fires automatically on payment, typically within
a minute.

Returns: `checkout_url`, `order_id`, `session_id`, `records`,
`total_cents`, `currency`, `lines` (one per grade), `lane`, `cap`,
`price_rule_version`, `quote_valid_until` (counts refresh tomorrow
morning; the quote holds until then — and the frozen selection holds for
the life of the checkout session), `computed_at`, `exact`, `counts`
(`matching`, `sellable`, `verified_one`, `verified_both`, `no_channel`, `unnamed`), and `saved_list` (`id`, `url`, `name`, and the one-time
`claim_token` when this call saved an inline shape as a list).
Nothing is charged until a person completes checkout; the file arrives about a minute after they pay; if we find a phone or email on the records after that, the updated file replaces it on the order's receipt page within a few hours and the receipt shows what was found and billed. A hard bounce, a disconnected phone or the wrong person is replaced within 30 days; what you buy is yours to re-download any time.

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": "create_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
capNo
laneNobest
statesNo
filtersNo
list_idNo
deliveryNofile
offer_codeNo
product_idNo
customer_emailNo
crm_connection_idNo
connector_crm_nameNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / offer_code
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Offer Code"
      +}
  2. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only say this is a non-read-only, non-idempotent, non-destructive local operation; the description adds substantially more — no charge occurs until a human completes Stripe checkout, a stale quote returns 409 with the fresh quote and nothing is minted, the selection is frozen at mint time, and billing is based on `sellable` rather than `matching`. It also discloses delivery timing and the 30-day replacement policy, none of which is inferable from structured fields.

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

Conciseness3/5

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

The purpose is front-loaded and most sentences carry real information, but there is redundancy — "the same code as `checkout_list`" is stated twice within the first two paragraphs. It also enumerates the full return payload despite an output schema existing, which is repetition rather than added value.

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?

For an 11-parameter purchase tool with pricing, quoting, and delivery semantics, this is unusually complete: pricing rule, quote invalidation, delivery modes, and post-purchase behavior are all covered. The only shortfall is the two undocumented optional parameters, `offer_code` and `customer_email`, which an agent may otherwise pass blindly.

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?

With 0% schema description coverage, the description carries the burden and mostly does: it defines `list_id` (including the `#browse?list=<id>` form), `filters`/`states` (with the enumerated live states), `lane` values, `cap` shape and units (records vs. cents), `delivery` modes with their dependent params, and why `product_id` should not be used. It leaves `offer_code` and `customer_email` entirely undefined, which is the only meaningful gap.

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?

The opening sentence gives a specific verb and resource ("Mint a hosted Stripe Checkout link for a list you shaped") and immediately positions it against its sibling by naming `checkout_list` as the same code path. An agent can tell what this does and how it differs from the alias 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 Guidelines5/5

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

It spells out the full buying journey with named alternatives: `interpret_list` or `list_starters` → `quote_list` → `checkout_list` (this link). It also gives an explicit when-not: `product_id` buys nothing and returns an error naming the next calls, so the agent is redirected rather than left to guess.

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