Skip to main content
Glama

Checkbox: subscription auto-renewal law checks

Report what you learned or changed during setup

update_setup
Idempotent

Tell Checkbox facts you found in the codebase or changes you made: site_url, checkout_url, policy URLs (Checkbox fetches and checks the Terms, refund and cancellation policies), billing_platform, plans and prices, project.layout_file, where checkout sessions are created, and which file got the snippet. Facts decide which laws apply (free trials, annual terms, physical goods). Only send what you know; omit the rest. Returns the updated checklist with next_action. Typical next step: get_setup_status with verify=true.

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

Input Schema

NameRequiredDescriptionDefault
plansNoPlans and prices in the code, e.g. [{"name":"Pro","amount":1900,"interval":"month","trial_days":14}]; a promo adds intro_percent_off and intro_periods. They decide which laws apply.
projectNoFacts about the codebase that help Checkbox point tasks at exact files.
verboseNo
site_urlNoPublic URL of the site (production or a preview), e.g. "https://acme.example".
live_siteNoLive-mode site id (site_…) if you created one with a live key.
terms_urlNoTerms of service URL. Checkbox fetches and checks it.
refund_urlNoRefund policy URL.
account_urlNoAccount page where subscribers manage / cancel (null clears a URL).
env_writtenNoFile you wrote the keys to, e.g. ".env.local".
privacy_urlNoPrivacy policy URL.
checkout_urlNoPricing or checkout page.
merchant_nameNoThe brand subscribers know (names the seller in generated disclosures), e.g. from the <title> or package.json Default: the host name, which the plan asks you to replace.
setup_sessionNoSetup session id (setup_…). Default: the newest one.
support_emailNoSupport address for subscribers.
billing_platformNoBilling platform.
cancellation_urlNoSeparate cancellation policy page, if not in the Terms. Not where people cancel (account_url).
refetch_policiesNoFetch the policy pages again even if their URLs did not change (after editing them).
snippet_installed_inNoFile(s) you added the Checkbox snippet tag to, e.g. "app/layout.tsx".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / verbose
      Added value: +{
      +  "type": "boolean"
      +}
  2. Changed5 schema fields changed
    • changedInput schema / properties / plans / description
      Previous value: -"Plans and prices found in the code, e.g. [{\"name\":\"Pro\",\"amount\":1900,\"currency\":\"usd\",\"interval\":\"month\",\"trial_days\":14}]; a promo adds intro_percent_off and intro_periods. They decide which laws apply."New value: +"Plans and prices in the code, e.g. [{\"name\":\"Pro\",\"amount\":1900,\"interval\":\"month\",\"trial_days\":14}]; a promo adds intro_percent_off and intro_periods. They decide which laws apply."
    • addedInput schema / properties / plans / items / properties / price / anyOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "maxLength": 40,
      +    "type": "string"
      +  }
      +]
    • changedInput schema / properties / plans / items / properties / price / description
      Previous value: -"Or major units (19 = $19)."New value: +"Major units, or \"$19/mo\"."
    • removedInput schema / properties / plans / items / properties / price / exclusiveMinimum
      Removed value: -0
    • removedInput schema / properties / plans / items / properties / price / type
      Removed value: -"number"
  3. Changed1 schema field changed
    • changedInput schema / properties / cancellation_url / description
      Previous value: -"Cancellation policy URL, if separate from the Terms."New value: +"Separate cancellation policy page, if not in the Terms. Not where people cancel (account_url)."
  4. Changed5 schema fields changed
    • changedInput schema / properties / checkout_url / description
      Previous value: -"Page where customers subscribe (pricing or checkout page)."New value: +"Pricing or checkout page."
    • changedInput schema / properties / merchant_name / description
      Previous value: -"The brand subscribers know (names the seller in generated disclosures), e.g. from the <title> or package.json (also accepted as \"brand\"). Default: the host name, which the plan then asks you to replace."New value: +"The brand subscribers know (names the seller in generated disclosures), e.g. from the <title> or package.json Default: the host name, which the plan asks you to replace."
    • changedInput schema / properties / plans / description
      Previous value: -"Plans and prices found in the code, e.g. [{\"name\":\"Pro\",\"amount\":1900,\"currency\":\"usd\",\"interval\":\"month\",\"trial_days\":14}]; a promo adds intro_percent_off and intro_periods. They decide which laws apply and what generated copy states."New value: +"Plans and prices found in the code, e.g. [{\"name\":\"Pro\",\"amount\":1900,\"currency\":\"usd\",\"interval\":\"month\",\"trial_days\":14}]; a promo adds intro_percent_off and intro_periods. They decide which laws apply."
    • addedInput schema / properties / plans / items / properties / price
      Added value: +{
      +  "description": "Or major units (19 = $19).",
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
    • changedInput schema / properties / site_url / description
      Previous value: -"Public URL of the site (production, or a preview deployment), e.g. \"https://acme.example\"."New value: +"Public URL of the site (production or a preview), e.g. \"https://acme.example\"."
  5. Changed4 schema fields changed
    • addedInput schema / properties / snippet_installed_in / anyOf
      Added value: +[
      +  {
      +    "maxLength": 500,
      +    "type": "string"
      +  },
      +  {
      +    "items": {
      +      "maxLength": 300,
      +      "type": "string"
      +    },
      +    "maxItems": 20,
      +    "type": "array"
      +  }
      +]
    • changedInput schema / properties / snippet_installed_in / description
      Previous value: -"File you added the Checkbox snippet tag to, e.g. \"app/layout.tsx\"."New value: +"File(s) you added the Checkbox snippet tag to, e.g. \"app/layout.tsx\"."
    • removedInput schema / properties / snippet_installed_in / maxLength
      Removed value: -500
    • removedInput schema / properties / snippet_installed_in / type
      Removed value: -"string"
  6. Changed3 schema fields changed
    • changedInput schema / properties / billing_platform / description
      Previous value: -"Billing platform the code uses."New value: +"Billing platform."
    • changedInput schema / properties / billing_platform / enum
      Previous value: -[
      -  "stripe",
      -  "shopify",
      -  "recharge",
      -  "chargebee",
      -  "recurly",
      -  "paddle",
      -  "woocommerce",
      -  "custom"
      -]New value: +[
      +  "stripe",
      +  "shopify",
      +  "recharge",
      +  "chargebee",
      +  "recurly",
      +  "paddle",
      +  "lemon_squeezy",
      +  "woocommerce",
      +  "custom"
      +]
    • changedInput schema / properties / support_email / description
      Previous value: -"Support address subscribers can write to."New value: +"Support address for subscribers."
  7. Changed6 schema fields changed
    • changedInput schema / properties / plans / description
      Previous value: -"Plans and prices found in the code, e.g. [{\"name\":\"Pro\",\"amount\":1900,\"currency\":\"usd\",\"interval\":\"month\",\"trial_days\":14}]. They decide which laws apply (trials, annual terms)."New value: +"Plans and prices found in the code, e.g. [{\"name\":\"Pro\",\"amount\":1900,\"currency\":\"usd\",\"interval\":\"month\",\"trial_days\":14}]; a promo adds intro_percent_off and intro_periods. They decide which laws apply and what generated copy states."
    • addedInput schema / properties / plans / items / properties / intro_amount
      Added value: +{
      +  "description": "Promo first-period price, minor units.",
      +  "minimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / plans / items / properties / intro_amount_off
      Added value: +{
      +  "exclusiveMinimum": 0,
      +  "type": "integer"
      +}
    • addedInput schema / properties / plans / items / properties / intro_percent_off
      Added value: +{
      +  "exclusiveMaximum": 100,
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / plans / items / properties / intro_periods
      Added value: +{
      +  "maximum": 36,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / plans / items / properties / price_id
      Added value: +{
      +  "description": "Stripe Price id.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
  8. Changed16 schema fields changed
    • addedInput schema / properties / account_url / anyOf
      Added value: +[
      +  {
      +    "maxLength": 2048,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedInput schema / properties / account_url / description
      Previous value: -"Account page where subscribers manage / cancel."New value: +"Account page where subscribers manage / cancel (null clears a URL)."
    • removedInput schema / properties / account_url / maxLength
      Removed value: -2048
    • removedInput schema / properties / account_url / type
      Removed value: -"string"
    • addedInput schema / properties / cancellation_url / anyOf
      Added value: +[
      +  {
      +    "maxLength": 2048,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / cancellation_url / maxLength
      Removed value: -2048
    • removedInput schema / properties / cancellation_url / type
      Removed value: -"string"
    • addedInput schema / properties / privacy_url / anyOf
      Added value: +[
      +  {
      +    "maxLength": 2048,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / privacy_url / maxLength
      Removed value: -2048
    • removedInput schema / properties / privacy_url / type
      Removed value: -"string"
    • addedInput schema / properties / refund_url / anyOf
      Added value: +[
      +  {
      +    "maxLength": 2048,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / refund_url / maxLength
      Removed value: -2048
    • removedInput schema / properties / refund_url / type
      Removed value: -"string"
    • addedInput schema / properties / terms_url / anyOf
      Added value: +[
      +  {
      +    "maxLength": 2048,
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedInput schema / properties / terms_url / maxLength
      Removed value: -2048
    • removedInput schema / properties / terms_url / type
      Removed value: -"string"
  9. Changed2 schema fields changed
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +true
    • changedInput schema / properties / merchant_name / description
      Previous value: -"The brand subscribers know (names the seller in generated disclosures), e.g. from the <title> or package.json. Default: the host name, which the plan then asks you to replace."New value: +"The brand subscribers know (names the seller in generated disclosures), e.g. from the <title> or package.json (also accepted as \"brand\"). Default: the host name, which the plan then asks you to replace."
  10. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare idempotent=true, destructive=false and openWorld=true, so the safety profile is covered. The description adds real value beyond them: Checkbox actively fetches and checks the supplied policy URLs (a network side effect), and the call returns the updated checklist with next_action – useful since no output schema exists. It still doesn't say what happens to previously reported facts that are omitted from a later call.

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?

Three sentences, front-loaded with the core instruction, then a scope limiter, then the return value and next step. The field list is dense but each item is a genuine hint about what matters; nothing reads as filler.

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 18-parameter tool with nested objects and no output schema, the description covers the purpose, the sending policy, the side effect on policy URLs, and the return value plus next step. Parameters it omits (verbose, setup_session, live_site, env_written) are self-documented at 94% schema coverage, so the gap is minor.

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 94%, so the schema already documents nearly every parameter in depth (including enum values, units for prices, and the null-clears-a-URL convention). The description only names a subset of high-signal fields, adding emphasis rather than new meaning, which is the baseline-3 case.

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

Purpose4/5

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

The description opens with a specific verb+resource pairing: tell Checkbox facts found in the codebase or changes made. It enumerates exactly which fields are reportable (site_url, checkout_url, policy URLs, billing_platform, plans, project.layout_file, checkout code location, snippet file), which makes the tool's scope concrete. It stops short of explicitly distinguishing itself from near-siblings like update_site or complete_setup.

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?

It gives an explicit selection rule for what to send ("Only send what you know; omit the rest") and an explicit next step (get_setup_status with verify=true). It doesn't state when to prefer this tool over update_site or complete_setup, so the alternative-selection guidance is incomplete.

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.