Skip to main content
Glama

Checkbox: subscription auto-renewal law checks

Get the dates each required notice must be sent

get_notice_schedule
Read-onlyIdempotent

For a plan (price, interval, trial) and a sign-up date: every required notice with send date, window, jurisdictions, citations; kinds NOT required and why. minimum_per_state + state: one state's notices. Example: {"terms":{"price":99,"interval":"year","trial_days":30}}.

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_notice_schedule"
  }
}

Input Schema

NameRequiredDescriptionDefault
planNoWith site: plan name or price_…
siteNosite_… (its plans, jurisdictions)
as_ofNoEvaluate the law as of this date, YYYY-MM-DD (default today).
stateNo
termsNoThe plan: price (or amount), interval, interval_count, trial_days (or site + plan).
cyclesNoHow many renewals to plan (default one year).
verboseNo
scheduleNo
start_dateNoSign-up date, YYYY-MM-DD (default today).
price_changeNoA planned price change to schedule the notice for.
jurisdictionsNoWhere the business sells: "all" (default) or state codes like ["US-CA","US-NY"] ("CA" works too). Federal law is always included.
payment_methodsNoPayment methods offered (debit/ACH add notice duties).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / schedule
      Added value: +{
      +  "enum": [
      +    "simple",
      +    "minimum_per_state"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / state
      Added value: +{
      +  "maxLength": 10,
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / verbose
      Added value: +{
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • changedInput schema / additionalProperties
      Previous value: -falseNew value: +true
  4. Changed10 schema fields changed
    • addedInput schema / properties / plan
      Added value: +{
      +  "description": "With site: plan name or price_…",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • addedInput schema / properties / site
      Added value: +{
      +  "description": "site_… (its plans, jurisdictions)",
      +  "maxLength": 100,
      +  "type": "string"
      +}
    • changedInput schema / properties / terms / description
      Previous value: -"The plan: price (or amount), interval, interval_count, trial_days."New value: +"The plan: price (or amount), interval, interval_count, trial_days (or site + plan)."
    • changedInput schema / properties / terms / properties / amount / description
      Previous value: -"Recurring price in MINOR units, Stripe style: 1999 = $19.99."New value: +"Or minor units (1999 = $19.99)."
    • addedInput schema / properties / terms / properties / brand_name
      Added value: +{
      +  "description": "Alias of merchant_name.",
      +  "maxLength": 200,
      +  "type": "string"
      +}
    • changedInput schema / properties / terms / properties / cancel_url / description
      Previous value: -"https URL where subscribers cancel online. Strongly recommended: generated text uses it."New value: +"https URL where subscribers cancel online (used in generated text)."
    • changedInput schema / properties / terms / properties / interval / description
      Previous value: -"Billing interval: \"day\", \"week\", \"month\" or \"year\"."New value: +"Billing interval: day, week, month or year."
    • changedInput schema / properties / terms / properties / interval_count / description
      Previous value: -"Intervals between charges (default 1; 3 + month = quarterly)."New value: +"Default 1; 3 + month = quarterly."
    • changedInput schema / properties / terms / properties / price / description
      Previous value: -"Recurring price in MAJOR units, e.g. 19.99. Or give amount."New value: +"Recurring price, major units (19.99)."
    • removedInput schema / required
      Removed value: -[
      -  "terms"
      -]
  5. Changed3 schema fields changed
    • addedInput schema / properties / terms / properties / intro_percent_off
      Added value: +{
      +  "description": "Or the promo as % off (coupon percent_off).",
      +  "exclusiveMaximum": 100,
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / terms / properties / intro_periods
      Added value: +{
      +  "description": "Billing periods the promo lasts (default 1).",
      +  "maximum": 36,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / terms / properties / intro_price
      Added value: +{
      +  "description": "Promo first-period price, major units ($8 → 8).",
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
  6. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds real value beyond that by disclosing the return contents: send dates, windows, jurisdictions, citations, plus a 'kinds NOT required and why' section. That is meaningful behavioral context since there is no output schema.

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?

The text is front-loaded and dense, leading with the scope and return payload before the variant note and example. Phrasing is telegraphic ('kinds NOT required and why') but every clause carries information; nothing is padded.

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

Completeness3/5

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

For a 12-parameter tool with nested objects and no output schema, the description covers the core computation and the per-state variant well. It says nothing about as_of/start_date defaults, cycles, price_change, payment_methods, or verbose, leaving several behaviorally significant parameters to the schema alone.

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 75% schema coverage the schema already documents most fields, but the description adds cross-parameter meaning the schema lacks: the plan/terms relationship ('price, interval, trial'), the interplay of schedule=minimum_per_state with state, and an inline JSON example showing terms shape.

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 names a specific verb and resource ('every required notice with send date, window, jurisdictions, citations') and pins the scope to 'a plan... and a sign-up date', which separates it from listing actual due notices. It never names a sibling such as list_due_notices or plan_notices, so the differentiation is implied by scope rather than stated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The opening 'For a plan (price, interval, trial) and a sign-up date' establishes when the tool applies, and the 'minimum_per_state + state' sentence clarifies a variant. There is no explicit when-not-to-use guidance and no named alternative for precomputed-but-not-yet-due notices.

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.