{
 "name": "AnnuityVoice",
 "description": "Filed US annuity contract terms (variable annuities and RILAs) with page citations, contract rules computed in code, mortality math and plain-language second opinions. Read-only. Education, not advice. Not a recommendation to buy, keep, exchange or surrender any annuity.",
 "endpoint": "https://mcp.annuityvoice.com/mcp",
 "transport": "MCP streamable HTTP (stateless, JSON responses), JSON-RPC 2.0",
 "protocol_version": "2025-06-18",
 "server_version": "0.1.0",
 "authentication": {
  "none": "Anonymous use is open: 60 tool calls an hour per network.",
  "test_key": "Optional free test key from https://annuityvoice.com/developers: send it as X-API-Key: avt_... (300 tool calls an hour, 1,000 a UTC day, 90 days).",
  "usage": "https://mcp.annuityvoice.com/developer/usage"
 },
 "documentation": "https://annuityvoice.com/developers",
 "contact": "kai@annuityvoice.com",
 "instructions": "AnnuityVoice answers questions about US annuities (variable annuities and RILAs with lifetime-income riders): what a specific contract's filed terms say, the arithmetic its rules produce, life expectancy and annuity factors, and plain-language second opinions. Audience: if it is unclear who you are talking to and it matters for the answer, ask once: \"Are you the annuity owner, or an advisor?\" For an owner (policyholder): plain words, short sentences, explain each term the first time, dollar amounts are fine, and end with questions they can ask their insurer or agent. For an advisor: contract terms, the filed rule and the citation (document, page). Keep-or-exit (keep, surrender, exchange, 1035, buy) is never answered as advice for anyone: give what would be given up and the questions to ask, and route the decision to a licensed financial professional. Every result opens with basis_summary and verification: quote basis_summary and the verification label in the answer, and do not describe terms as verified unless verification.level is verified. If confirm_with_user is set, follow it before anything else. The issue date (for some contracts the application sign date) sets the cohort and therefore the rates: ask for it whenever a contract has cohorts and it was not given. Rates in the tools are decimals (6% is 0.06). Do not compute withdrawal rates, charges, survival or annuity values in chat: call the tools and show their steps when asked how a number was derived. Mortality improvement is uncapped unless the user sets a cap (improvement_cap_years): say so. The person behind the method is described only as \"a credentialed actuary\"; do not use credential abbreviations or names. Never repeat account or contract numbers. Include \"Education, not advice.\" in every report.",
 "tool_count": 17,
 "tools": [
  {
   "name": "find_contract",
   "title": "Find a contract",
   "description": "Finds the contract_id for an annuity from a product or carrier name (query, carrier), from text\ncopied from a statement or contract page (statement_text), or from a statement PDF with a text layer\n(statement_pdf_base64; scanned images are not read). Returns candidates, each with contract_id,\ncarrier, product_name, product type, cohorts, sale status, whether filed rules are on file, and its\nverification block. With a statement it also returns the fields read by pattern matching (values,\nissue date, tax status, carrier, ages, income details; owner names, dates of birth and contract\nnumbers are left out), what could not be read, and the numbers still missing for a second\nopinion (missing: field, question, where to find it). issue_date (YYYY-MM-DD) narrows dated\ncohorts; without it, one full date written in query is read as the issue date and said so. A candidate\ncarries rider_option_hint (a withdrawal_rate rider_option) when query names one of its rider options. application_date (YYYY-MM-DD, the date the application was signed) names, for contracts whose\nrates come from dated rate sheets, the sheet that date points to. The statement is not stored, logged or\nechoed. Works without sign-in.",
   "inputSchema": {
    "type": "object",
    "properties": {
     "query": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Query"
     },
     "statement_text": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Statement Text"
     },
     "carrier": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Carrier"
     },
     "issue_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Issue Date"
     },
     "statement_pdf_base64": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Statement Pdf Base64"
     },
     "application_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Application Date"
     }
    },
    "title": "find_contractArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "find_contractDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "contract_facts",
   "title": "Contract facts from the filing",
   "description": "Returns the filed terms of one contract with a citation and source tier on each value: key_terms\n(surrender schedule, free withdrawal, rider fee, withdrawal percentages at ages 65 and 70 single and\njoint), discrepancies between the AnnuityData record and the evidence card (the card's value is the\none used), and the record's sale status and data confidence. topic (e.g. surrender, fees, income,\nrollup, step up, death benefit, crediting, rmd, 1035) adds every matching value from the card and the\nrecord, plus the closest library question-and-answer. issue_date (YYYY-MM-DD) selects the cohort;\nwithout it, cohort-dependent terms are shown for each cohort. application_date (YYYY-MM-DD, the date the\napplication was signed) selects dated rate sheets keyed by it. Tier A = carrier, SEC or DFIN filing;\nB = aggregator; C = distributor.",
   "inputSchema": {
    "type": "object",
    "properties": {
     "contract_id": {
      "title": "Contract Id",
      "type": "string"
     },
     "issue_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Issue Date"
     },
     "topic": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Topic"
     },
     "application_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Application Date"
     },
     "state": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "State"
     }
    },
    "required": [
     "contract_id"
    ],
    "title": "contract_factsArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "contract_factsDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "compare_contracts",
   "title": "Compare contracts",
   "description": "Lays 2 to 5 contracts side by side: for each, the key terms from contract_facts (surrender\nschedule, free withdrawal, rider fee, sample withdrawal percentages) and its verification block, plus\nthe AnnuityData field table (fees, surrender schedule, riders, segments, data confidence) for those\nwith a record. Columns follow the order given; nothing is scored or ranked. issue_date applies to\nevery contract.",
   "inputSchema": {
    "type": "object",
    "properties": {
     "contract_ids": {
      "items": {
       "type": "string"
      },
      "title": "Contract Ids",
      "type": "array"
     },
     "issue_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Issue Date"
     }
    },
    "required": [
     "contract_ids"
    ],
    "title": "compare_contractsArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "compare_contractsDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "rate_history",
   "title": "Withdrawal-rate history",
   "description": "Returns the dated crediting-rate changes recorded for one RILA (date, segment, field, previous and\nnew value, source url). RILAs with an AnnuityData record only.",
   "inputSchema": {
    "type": "object",
    "properties": {
     "contract_id": {
      "title": "Contract Id",
      "type": "string"
     }
    },
    "required": [
     "contract_id"
    ],
    "title": "rate_historyArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "rate_historyDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "coverage",
   "title": "What is covered",
   "description": "Returns what is on file: the number of contracts (by product type and verification level), the\ncontracts with filed rules (rules available, library question count), the AnnuityData coverage counts\n(records, segments, riders, ratings, rate histories, carriers), the mortality tables available, and\nthe contracts the second opinion can fill with filed terms.",
   "inputSchema": {
    "type": "object",
    "properties": {},
    "title": "coverageArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "coverageDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "withdrawal_rate",
   "title": "Lifetime withdrawal rate",
   "description": "Returns the filed lifetime withdrawal (income) percentage for one contract, age and payout\n(single or joint), with the source used, the steps and the citation. The percentage applies to the\nrider's benefit base, or for riders without one (age_basis \"issue\") to the account value when income\nstarts, plus deferral_credit_per_year for each year deferred; it is not a dollar amount. Source: the evidence card's filed rules when the\ncard holds the rate, else the AnnuityData record's rider table. issue_date (YYYY-MM-DD) selects the\ncohort; election_date selects a dated rate window where rates changed by rider election date;\nstart_year = the contract year in which income starts (needed where the rate also depends on it);\nrider_option = the rider version or option (the result lists the choices on file). application_date =\nthe date the application was signed: dated rate sheets are keyed by it (with only issue_date, the issue\ndate stands in and the result says so). Age is the age the filing names (often the age at first\nwithdrawal; for joint, the filing says which life).",
   "inputSchema": {
    "type": "object",
    "properties": {
     "contract_id": {
      "title": "Contract Id",
      "type": "string"
     },
     "age": {
      "title": "Age",
      "type": "integer"
     },
     "payout": {
      "default": "single",
      "title": "Payout",
      "type": "string"
     },
     "issue_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Issue Date"
     },
     "rider_option": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rider Option"
     },
     "start_year": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Start Year"
     },
     "election_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Election Date"
     },
     "application_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Application Date"
     },
     "state": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "State"
     }
    },
    "required": [
     "contract_id",
     "age"
    ],
    "title": "withdrawal_rateArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "withdrawal_rateDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "compute_rule",
   "title": "Compute a filed rule",
   "description": "Applies one of the contract's filed rules to the numbers given: deterministic code, no projection\nand no model. rule = withdrawal_charge, free_amount, withdrawal_rate, excess_withdrawal, anniversary,\nrmd, term_withdrawal, rate_lookup, deferred_income, income_reset, annual_credit, base_adjustment or\ncohort (each contract supports a subset). Without rule, returns the rules this contract supports and\nthe inputs each takes. inputs = the rule's named inputs, e.g. {\"amount\": 50000,\n\"complete_years_since_issue\": 2} for withdrawal_charge; rider_option and payout (single | joint) are\naccepted in place of variation / option / joint. Returns the result, the arithmetic steps, the cited\nfiled parameters used and what the calculation excludes. application_date (the date the application was\nsigned) selects dated rate sheets keyed by it for rate_lookup; inputs may also carry election_date (a\nbenefit elected after issue). withdrawal_charge takes the contract's charge-free amount off; when an\ninput it needs is missing, result.status is needs_input, result.charge is null, result.needs names the\ninputs that settle it (any one), and result.charge_if_no_free_amount is only an upper bound, not the\ncharge. annual_credit takes later_contributions = [{amount, day_received}] (a contribution received\nduring the contract year, prorated as filed; where filed, a contribution in the first 90 days of\ncontract year 1 counts in full, years_since_period_start 1); deferred_income takes additional_payments\n= [{variable_account_value, income_percentage}] (purchase payments added after income terms were set,\nblended by value on the Index Anniversary at income start, as in the filed example; a payment in an\nearlier Index Year is blended sooner and is not computed); each is refused where the contract files\nno such rule. Contracts with filed rules\nonly.",
   "inputSchema": {
    "type": "object",
    "properties": {
     "contract_id": {
      "title": "Contract Id",
      "type": "string"
     },
     "rule": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rule"
     },
     "inputs": {
      "anyOf": [
       {
        "additionalProperties": true,
        "type": "object"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Inputs"
     },
     "issue_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Issue Date"
     },
     "application_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Application Date"
     }
    },
    "required": [
     "contract_id"
    ],
    "title": "compute_ruleArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "compute_ruleDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "life_expectancy",
   "title": "Life expectancy",
   "description": "Returns life expectancy for each life (curtate and complete e_x, expected age at death, median and\npercentiles, chance of reaching 80/90/100) from a Society of Actuaries mortality table; the default is\nthe 2012 Individual Annuity Mortality Basic table with Projection Scale G2, generational from\ncalendar_year (default this year). For payout joint it also returns the expected years until the\nsecond death (last survivor, curtate). improvement_cap_years = years after the start year after which\nmortality improvement stops (default none = uncapped). table = a table id (coverage lists them).\nResults describe a population of annuity buyers, not one person.",
   "inputSchema": {
    "type": "object",
    "$defs": {
     "Life": {
      "description": "One covered person.",
      "properties": {
       "age": {
        "description": "Age in whole years (the table's age basis for mortality tools)",
        "title": "Age",
        "type": "integer"
       },
       "sex": {
        "description": "male or female (blend is also accepted by life_expectancy and annuity_factor)",
        "title": "Sex",
        "type": "string"
       }
      },
      "required": [
       "age",
       "sex"
      ],
      "title": "Life",
      "type": "object"
     }
    },
    "properties": {
     "lives": {
      "items": {
       "$ref": "#/$defs/Life"
      },
      "title": "Lives",
      "type": "array"
     },
     "payout": {
      "default": "single",
      "title": "Payout",
      "type": "string"
     },
     "calendar_year": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Calendar Year"
     },
     "table": {
      "default": "2012iam_basic_g2_v2",
      "title": "Table",
      "type": "string"
     },
     "improvement_cap_years": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Improvement Cap Years"
     },
     "projection": {
      "default": "generational",
      "title": "Projection",
      "type": "string"
     },
     "multiplier": {
      "default": 1.0,
      "title": "Multiplier",
      "type": "number"
     }
    },
    "required": [
     "lives"
    ],
    "title": "life_expectancyArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "life_expectancyDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "annuity_factor",
   "title": "Annuity factor",
   "description": "Returns the present value of a life annuity of 1 per year (annuity-due: first payment now;\nannuity-immediate: first payment one period later) on a Society of Actuaries mortality table, with\nsteps, formula and assumptions. Exactly one of interest_rate (flat effective annual rate, 0.04 = 4%)\nor rates_by_year (rates_by_year[k-1] applies to year k; the last rate extends flat). payout joint pays\nwhile either life is alive (joint_status last_survivor, default) or while both are alive (joint_status\nboth_alive). deferral_years = years before the first payment; payments_per_year = 1, 2, 4 or 12.\nMortality inputs work as in life_expectancy. Certain periods, temporary annuities and contingent\n(pension joint-and-survivor percentage) forms are not supported.",
   "inputSchema": {
    "type": "object",
    "$defs": {
     "Life": {
      "description": "One covered person.",
      "properties": {
       "age": {
        "description": "Age in whole years (the table's age basis for mortality tools)",
        "title": "Age",
        "type": "integer"
       },
       "sex": {
        "description": "male or female (blend is also accepted by life_expectancy and annuity_factor)",
        "title": "Sex",
        "type": "string"
       }
      },
      "required": [
       "age",
       "sex"
      ],
      "title": "Life",
      "type": "object"
     }
    },
    "properties": {
     "lives": {
      "items": {
       "$ref": "#/$defs/Life"
      },
      "title": "Lives",
      "type": "array"
     },
     "payout": {
      "default": "single",
      "title": "Payout",
      "type": "string"
     },
     "interest_rate": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Interest Rate"
     },
     "rates_by_year": {
      "anyOf": [
       {
        "items": {
         "type": "number"
        },
        "type": "array"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rates By Year"
     },
     "deferral_years": {
      "default": 0,
      "title": "Deferral Years",
      "type": "integer"
     },
     "payments_per_year": {
      "default": 1,
      "title": "Payments Per Year",
      "type": "integer"
     },
     "joint_status": {
      "default": "last_survivor",
      "title": "Joint Status",
      "type": "string"
     },
     "calendar_year": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Calendar Year"
     },
     "table": {
      "default": "2012iam_basic_g2_v2",
      "title": "Table",
      "type": "string"
     },
     "improvement_cap_years": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Improvement Cap Years"
     },
     "projection": {
      "default": "generational",
      "title": "Projection",
      "type": "string"
     },
     "multiplier": {
      "default": 1.0,
      "title": "Multiplier",
      "type": "number"
     },
     "include_rows": {
      "default": false,
      "title": "Include Rows",
      "type": "boolean"
     }
    },
    "required": [
     "lives"
    ],
    "title": "annuity_factorArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "annuity_factorDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "income_options",
   "title": "Income start options",
   "description": "Returns the yearly and monthly lifetime income if income starts at each age from today up to\nmax_start_age (at most 120, where the mortality table ends), and the ages at which waiting catches up\nwith starting earlier, under a market\noutlook (weak, middle or strong; none is a prediction). Applies before income has started. Returns\nplain-language text, the numbers, the assumptions and the questions to ask; or, when numbers are\nmissing, the missing fields with a plain question and where to find each.",
   "inputSchema": {
    "type": "object",
    "$defs": {
     "Policy": {
      "description": "What is known about the contract owner's annuity. Every field is optional; the result lists what is\nstill missing. With contract_id the filed rider terms are filled in where the second-opinion engine\nsupports that contract; otherwise the numbers entered here are used.",
      "properties": {
       "contract_id": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "contract_id from find_contract",
        "title": "Contract Id"
       },
       "issue_date": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The date the contract was issued. It is on the first page of the contract or the statement. It decides which version of the rider rules applies. Format 2025-06-01.",
        "title": "Issue Date"
       },
       "rider_option": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The rider version, for example 'Market Growth' or 'Market Growth with Rollup'. It is on your rider page.",
        "title": "Rider Option"
       },
       "lives": {
        "anyOf": [
         {
          "items": {
           "$ref": "#/$defs/PolicyLife"
          },
          "type": "array"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The owner first; the spouse second for joint income",
        "title": "Lives"
       },
       "payout": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "single or joint (income for two lives). Default single.",
        "title": "Payout"
       },
       "contract_year": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Which year of the contract you are in now. Year 1 is the first 12 months after issue.",
        "title": "Contract Year"
       },
       "product_type": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Variable annuity (you pick funds), RILA (buffer and cap on an index), or fixed indexed (a cap, no losses). The first page of your contract says which. Values: variable, rila, fixed_indexed.",
        "title": "Product Type"
       },
       "account_value": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Also called contract value or accumulation value. It is the cash value on the first page of your latest statement.",
        "title": "Account Value"
       },
       "benefit_base": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Also called income base, guaranteed withdrawal base or GLWB base. It is on the rider section of your statement. It is not cash you can take out.",
        "title": "Benefit Base"
       },
       "withdrawal_rate_now": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The percentage of the benefit base you can take each year. Look for 'withdrawal rate', 'annual benefit percentage' or 'lifetime income percentage' on your statement or rider page. Decimal: 6% is 0.06.",
        "title": "Withdrawal Rate Now"
       },
       "withdrawal_rates_by_start_age": {
        "anyOf": [
         {
          "additionalProperties": {
           "type": "number"
          },
          "type": "object"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Your rider page often has a table of withdrawal percentages by the age you start income. Enter each age and percentage.",
        "title": "Withdrawal Rates By Start Age"
       },
       "rider_fee_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Look under 'charges', 'rider fee' or 'living benefit charge' on your statement or contract data page. Often 1% to 1.5% a year. Decimal.",
        "title": "Rider Fee Rate"
       },
       "rider_fee_base": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The same line usually says whether the rider fee is a percentage of the benefit base or of the account value. Values: benefit_base, account_value.",
        "title": "Rider Fee Base"
       },
       "other_fees_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Add up the yearly insurance and administrative charge (called M&E or mortality and expense) and the average fund expense. They are in the prospectus fee table and on your statement. Decimal.",
        "title": "Other Fees Rate"
       },
       "rollup": {
        "anyOf": [
         {
          "$ref": "#/$defs/RollupInput"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'roll-up', 'bonus', 'deferral credit' or 'annual increase' in your rider. We need the percentage, whether it is simple or compound, and how many years are left."
       },
       "step_up": {
        "anyOf": [
         {
          "$ref": "#/$defs/StepUpInput"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'step-up', 'reset' or 'ratchet' in your rider. We need to know if it exists and the age where it stops."
       },
       "surrender_schedule": {
        "anyOf": [
         {
          "$ref": "#/$defs/SurrenderInput"
         },
         {
          "items": {
           "type": "number"
          },
          "type": "array"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Look for 'surrender charge' or 'withdrawal charge' on your contract data page. We need the percentage today and how many years are left. Or the exact schedule as a list of decimals, this contract year first (e.g. [0.05, 0.04, 0.03]).",
        "title": "Surrender Schedule"
       },
       "income_started": {
        "anyOf": [
         {
          "type": "boolean"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Have you already started taking the yearly income payments from the rider? Your statement shows 'lifetime withdrawals' if you have.",
        "title": "Income Started"
       },
       "death_benefit": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'death benefit' on your statement. It is the amount paid to your beneficiaries.",
        "title": "Death Benefit"
       },
       "cap": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "For an indexed annuity or RILA, the cap is the most the index credit can be in a term. It is on your latest rate notice. Decimal.",
        "title": "Cap"
       },
       "buffer": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "For a RILA, the buffer is how much loss the insurer absorbs first (for example 10%). It is on your contract or rate notice. Decimal.",
        "title": "Buffer"
       },
       "net_purchase_payment_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The amount your roll-up is calculated on. It is your purchase payments less any withdrawals that cut it. Look for 'net purchase payment amount' on the rider page.",
        "title": "Net Purchase Payment Amount"
       },
       "rider_shape": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Most income riders pay a percentage of a 'benefit base' (also called income base). Some newer ones have no benefit base: the income is a percentage of the account value on the day income starts. If your statement shows no benefit base or income base, it is the second kind (no_base). Values: benefit_base, no_base. With contract_id the contract decides it.",
        "title": "Rider Shape"
       },
       "age_at_issue": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders without a benefit base: the covered person's age on the issue date (for joint income the younger spouse's). It sets the filed income percentage. It is on the contract data page.",
        "title": "Age At Issue"
       },
       "income_pct_increase": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders without a benefit base often add a fixed amount to the income percentage for each year you wait, called a 'deferral rate', 'income deferral credit' or 'income percentage increase'. It is in your rider supplement or on the contract data page. Decimal.",
        "title": "Income Pct Increase"
       },
       "income_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The yearly lifetime income you are being paid now, called 'Annual Income Amount' or 'maximum income payment' on your statement.",
        "title": "Income Amount"
       },
       "credit_base_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a yearly credit or bonus on a separate base (Credit Base, Bonus Base): that base, from the rider section of the statement.",
        "title": "Credit Base Amount"
       },
       "credit_years_left": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a credit on a separate base: anniversaries left in the credit (bonus) period, if the statement shows it (a step-up that raised the base restarts the period).",
        "title": "Credit Years Left"
       },
       "withdrawal_adjustment_base": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "RiverSource SecureSource 4: the Withdrawal Adjustment Base on the statement.",
        "title": "Withdrawal Adjustment Base"
       },
       "base_adjustment_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The one-time base adjustment shown on the statement or rider page (RiverSource Base Doubler, Jackson GWB adjustment), if it has not been applied yet.",
        "title": "Base Adjustment Amount"
       },
       "credit_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a credit on a separate base, when the filing on file does not give it for the application date: the bonus / credit percentage on the rider page. Decimal: 6% is 0.06.",
        "title": "Credit Rate"
       },
       "credit_carryover": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "RiverSource SecureSource Tempo: the Credit Carryover on the statement (the part of past Returns-linked Credits above the yearly maximum, kept for later anniversaries).",
        "title": "Credit Carryover"
       },
       "advisory_fee_from_contract": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Jackson Perspective Advisory II: the adviser's yearly fee rate taken from this contract (decimal; 0 if the fee is paid from another account).",
        "title": "Advisory Fee From Contract"
       }
      },
      "title": "Policy",
      "type": "object"
     },
     "PolicyLife": {
      "description": "One covered person; either value may be missing while the second opinion collects it.",
      "properties": {
       "age": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Age today",
        "title": "Age"
       },
       "sex": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "male or female, as shown on the contract",
        "title": "Sex"
       }
      },
      "title": "PolicyLife",
      "type": "object"
     },
     "RollupInput": {
      "description": "Yearly increase of the benefit base.",
      "properties": {
       "rate": {
        "description": "Yearly roll-up as a decimal (5% is 0.05). Optional. Look for 'roll-up', 'bonus', 'deferral credit' or 'annual increase' in your rider. We need the percentage, whether it is simple or compound, and how many years are left.",
        "title": "Rate",
        "type": "number"
       },
       "kind": {
        "default": "simple",
        "description": "'simple' (a percentage of a fixed amount each year) or 'compound' (a percentage of the current base)",
        "title": "Kind",
        "type": "string"
       },
       "years_left": {
        "default": 0,
        "description": "How many more contract anniversaries still add the roll-up",
        "title": "Years Left",
        "type": "integer"
       },
       "stops_after_withdrawal": {
        "default": true,
        "description": "True if the roll-up is skipped in any year you take a withdrawal",
        "title": "Stops After Withdrawal",
        "type": "boolean"
       },
       "base_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The dollar amount a simple roll-up is a percentage of (default: today's benefit base)",
        "title": "Base Amount"
       }
      },
      "required": [
       "rate"
      ],
      "title": "RollupInput",
      "type": "object"
     },
     "StepUpInput": {
      "description": "Automatic step-up of the benefit base to the account value.",
      "properties": {
       "enabled": {
        "default": true,
        "description": "Optional. Look for 'step-up', 'reset' or 'ratchet' in your rider. We need to know if it exists and the age where it stops.",
        "title": "Enabled",
        "type": "boolean"
       },
       "max_age": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Owner age at which step-ups stop",
        "title": "Max Age"
       }
      },
      "title": "StepUpInput",
      "type": "object"
     },
     "SurrenderInput": {
      "description": "Surrender charge: today's percentage and the years left, spread evenly down to zero.",
      "properties": {
       "years_left": {
        "description": "Years until the surrender charge reaches zero",
        "title": "Years Left",
        "type": "integer"
       },
       "current_pct": {
        "description": "Surrender charge today as a decimal (4% is 0.04)",
        "title": "Current Pct",
        "type": "number"
       }
      },
      "required": [
       "years_left",
       "current_pct"
      ],
      "title": "SurrenderInput",
      "type": "object"
     }
    },
    "properties": {
     "policy": {
      "$ref": "#/$defs/Policy"
     },
     "outlook": {
      "default": "middle",
      "title": "Outlook",
      "type": "string"
     },
     "max_start_age": {
      "default": 80,
      "title": "Max Start Age",
      "type": "integer"
     }
    },
    "required": [
     "policy"
    ],
    "title": "income_optionsArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "income_optionsDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "rider_value",
   "title": "Rider value",
   "description": "Returns what the lifetime-income rider is expected to pay from the insurer's own money versus its\nfees, the chance the insurer pays at all, and the weak-market break-even age, under a market outlook\n(weak, middle or strong; none is a prediction). Plain-language text plus the numbers, assumptions and\nquestions to ask; or the missing fields when numbers are missing.",
   "inputSchema": {
    "type": "object",
    "$defs": {
     "Policy": {
      "description": "What is known about the contract owner's annuity. Every field is optional; the result lists what is\nstill missing. With contract_id the filed rider terms are filled in where the second-opinion engine\nsupports that contract; otherwise the numbers entered here are used.",
      "properties": {
       "contract_id": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "contract_id from find_contract",
        "title": "Contract Id"
       },
       "issue_date": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The date the contract was issued. It is on the first page of the contract or the statement. It decides which version of the rider rules applies. Format 2025-06-01.",
        "title": "Issue Date"
       },
       "rider_option": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The rider version, for example 'Market Growth' or 'Market Growth with Rollup'. It is on your rider page.",
        "title": "Rider Option"
       },
       "lives": {
        "anyOf": [
         {
          "items": {
           "$ref": "#/$defs/PolicyLife"
          },
          "type": "array"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The owner first; the spouse second for joint income",
        "title": "Lives"
       },
       "payout": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "single or joint (income for two lives). Default single.",
        "title": "Payout"
       },
       "contract_year": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Which year of the contract you are in now. Year 1 is the first 12 months after issue.",
        "title": "Contract Year"
       },
       "product_type": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Variable annuity (you pick funds), RILA (buffer and cap on an index), or fixed indexed (a cap, no losses). The first page of your contract says which. Values: variable, rila, fixed_indexed.",
        "title": "Product Type"
       },
       "account_value": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Also called contract value or accumulation value. It is the cash value on the first page of your latest statement.",
        "title": "Account Value"
       },
       "benefit_base": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Also called income base, guaranteed withdrawal base or GLWB base. It is on the rider section of your statement. It is not cash you can take out.",
        "title": "Benefit Base"
       },
       "withdrawal_rate_now": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The percentage of the benefit base you can take each year. Look for 'withdrawal rate', 'annual benefit percentage' or 'lifetime income percentage' on your statement or rider page. Decimal: 6% is 0.06.",
        "title": "Withdrawal Rate Now"
       },
       "withdrawal_rates_by_start_age": {
        "anyOf": [
         {
          "additionalProperties": {
           "type": "number"
          },
          "type": "object"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Your rider page often has a table of withdrawal percentages by the age you start income. Enter each age and percentage.",
        "title": "Withdrawal Rates By Start Age"
       },
       "rider_fee_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Look under 'charges', 'rider fee' or 'living benefit charge' on your statement or contract data page. Often 1% to 1.5% a year. Decimal.",
        "title": "Rider Fee Rate"
       },
       "rider_fee_base": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The same line usually says whether the rider fee is a percentage of the benefit base or of the account value. Values: benefit_base, account_value.",
        "title": "Rider Fee Base"
       },
       "other_fees_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Add up the yearly insurance and administrative charge (called M&E or mortality and expense) and the average fund expense. They are in the prospectus fee table and on your statement. Decimal.",
        "title": "Other Fees Rate"
       },
       "rollup": {
        "anyOf": [
         {
          "$ref": "#/$defs/RollupInput"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'roll-up', 'bonus', 'deferral credit' or 'annual increase' in your rider. We need the percentage, whether it is simple or compound, and how many years are left."
       },
       "step_up": {
        "anyOf": [
         {
          "$ref": "#/$defs/StepUpInput"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'step-up', 'reset' or 'ratchet' in your rider. We need to know if it exists and the age where it stops."
       },
       "surrender_schedule": {
        "anyOf": [
         {
          "$ref": "#/$defs/SurrenderInput"
         },
         {
          "items": {
           "type": "number"
          },
          "type": "array"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Look for 'surrender charge' or 'withdrawal charge' on your contract data page. We need the percentage today and how many years are left. Or the exact schedule as a list of decimals, this contract year first (e.g. [0.05, 0.04, 0.03]).",
        "title": "Surrender Schedule"
       },
       "income_started": {
        "anyOf": [
         {
          "type": "boolean"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Have you already started taking the yearly income payments from the rider? Your statement shows 'lifetime withdrawals' if you have.",
        "title": "Income Started"
       },
       "death_benefit": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'death benefit' on your statement. It is the amount paid to your beneficiaries.",
        "title": "Death Benefit"
       },
       "cap": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "For an indexed annuity or RILA, the cap is the most the index credit can be in a term. It is on your latest rate notice. Decimal.",
        "title": "Cap"
       },
       "buffer": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "For a RILA, the buffer is how much loss the insurer absorbs first (for example 10%). It is on your contract or rate notice. Decimal.",
        "title": "Buffer"
       },
       "net_purchase_payment_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The amount your roll-up is calculated on. It is your purchase payments less any withdrawals that cut it. Look for 'net purchase payment amount' on the rider page.",
        "title": "Net Purchase Payment Amount"
       },
       "rider_shape": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Most income riders pay a percentage of a 'benefit base' (also called income base). Some newer ones have no benefit base: the income is a percentage of the account value on the day income starts. If your statement shows no benefit base or income base, it is the second kind (no_base). Values: benefit_base, no_base. With contract_id the contract decides it.",
        "title": "Rider Shape"
       },
       "age_at_issue": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders without a benefit base: the covered person's age on the issue date (for joint income the younger spouse's). It sets the filed income percentage. It is on the contract data page.",
        "title": "Age At Issue"
       },
       "income_pct_increase": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders without a benefit base often add a fixed amount to the income percentage for each year you wait, called a 'deferral rate', 'income deferral credit' or 'income percentage increase'. It is in your rider supplement or on the contract data page. Decimal.",
        "title": "Income Pct Increase"
       },
       "income_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The yearly lifetime income you are being paid now, called 'Annual Income Amount' or 'maximum income payment' on your statement.",
        "title": "Income Amount"
       },
       "credit_base_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a yearly credit or bonus on a separate base (Credit Base, Bonus Base): that base, from the rider section of the statement.",
        "title": "Credit Base Amount"
       },
       "credit_years_left": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a credit on a separate base: anniversaries left in the credit (bonus) period, if the statement shows it (a step-up that raised the base restarts the period).",
        "title": "Credit Years Left"
       },
       "withdrawal_adjustment_base": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "RiverSource SecureSource 4: the Withdrawal Adjustment Base on the statement.",
        "title": "Withdrawal Adjustment Base"
       },
       "base_adjustment_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The one-time base adjustment shown on the statement or rider page (RiverSource Base Doubler, Jackson GWB adjustment), if it has not been applied yet.",
        "title": "Base Adjustment Amount"
       },
       "credit_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a credit on a separate base, when the filing on file does not give it for the application date: the bonus / credit percentage on the rider page. Decimal: 6% is 0.06.",
        "title": "Credit Rate"
       },
       "credit_carryover": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "RiverSource SecureSource Tempo: the Credit Carryover on the statement (the part of past Returns-linked Credits above the yearly maximum, kept for later anniversaries).",
        "title": "Credit Carryover"
       },
       "advisory_fee_from_contract": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Jackson Perspective Advisory II: the adviser's yearly fee rate taken from this contract (decimal; 0 if the fee is paid from another account).",
        "title": "Advisory Fee From Contract"
       }
      },
      "title": "Policy",
      "type": "object"
     },
     "PolicyLife": {
      "description": "One covered person; either value may be missing while the second opinion collects it.",
      "properties": {
       "age": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Age today",
        "title": "Age"
       },
       "sex": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "male or female, as shown on the contract",
        "title": "Sex"
       }
      },
      "title": "PolicyLife",
      "type": "object"
     },
     "RollupInput": {
      "description": "Yearly increase of the benefit base.",
      "properties": {
       "rate": {
        "description": "Yearly roll-up as a decimal (5% is 0.05). Optional. Look for 'roll-up', 'bonus', 'deferral credit' or 'annual increase' in your rider. We need the percentage, whether it is simple or compound, and how many years are left.",
        "title": "Rate",
        "type": "number"
       },
       "kind": {
        "default": "simple",
        "description": "'simple' (a percentage of a fixed amount each year) or 'compound' (a percentage of the current base)",
        "title": "Kind",
        "type": "string"
       },
       "years_left": {
        "default": 0,
        "description": "How many more contract anniversaries still add the roll-up",
        "title": "Years Left",
        "type": "integer"
       },
       "stops_after_withdrawal": {
        "default": true,
        "description": "True if the roll-up is skipped in any year you take a withdrawal",
        "title": "Stops After Withdrawal",
        "type": "boolean"
       },
       "base_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The dollar amount a simple roll-up is a percentage of (default: today's benefit base)",
        "title": "Base Amount"
       }
      },
      "required": [
       "rate"
      ],
      "title": "RollupInput",
      "type": "object"
     },
     "StepUpInput": {
      "description": "Automatic step-up of the benefit base to the account value.",
      "properties": {
       "enabled": {
        "default": true,
        "description": "Optional. Look for 'step-up', 'reset' or 'ratchet' in your rider. We need to know if it exists and the age where it stops.",
        "title": "Enabled",
        "type": "boolean"
       },
       "max_age": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Owner age at which step-ups stop",
        "title": "Max Age"
       }
      },
      "title": "StepUpInput",
      "type": "object"
     },
     "SurrenderInput": {
      "description": "Surrender charge: today's percentage and the years left, spread evenly down to zero.",
      "properties": {
       "years_left": {
        "description": "Years until the surrender charge reaches zero",
        "title": "Years Left",
        "type": "integer"
       },
       "current_pct": {
        "description": "Surrender charge today as a decimal (4% is 0.04)",
        "title": "Current Pct",
        "type": "number"
       }
      },
      "required": [
       "years_left",
       "current_pct"
      ],
      "title": "SurrenderInput",
      "type": "object"
     }
    },
    "properties": {
     "policy": {
      "$ref": "#/$defs/Policy"
     },
     "outlook": {
      "default": "middle",
      "title": "Outlook",
      "type": "string"
     }
    },
    "required": [
     "policy"
    ],
    "title": "rider_valueArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "rider_valueDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "switch_check",
   "title": "Switch check",
   "description": "Returns what would be given up by leaving the contract: surrender charge, benefit base versus\naccount value, the insurer's expected extra payments, roll-up and step-ups, plus questions to ask\nbefore any exchange and a note on 1035 exchange taxes. new_contract_fees = the new contract's total\nyearly fees as a decimal (0.025 = 2.5%), compared with today's fees. It makes no recommendation.",
   "inputSchema": {
    "type": "object",
    "$defs": {
     "Policy": {
      "description": "What is known about the contract owner's annuity. Every field is optional; the result lists what is\nstill missing. With contract_id the filed rider terms are filled in where the second-opinion engine\nsupports that contract; otherwise the numbers entered here are used.",
      "properties": {
       "contract_id": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "contract_id from find_contract",
        "title": "Contract Id"
       },
       "issue_date": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The date the contract was issued. It is on the first page of the contract or the statement. It decides which version of the rider rules applies. Format 2025-06-01.",
        "title": "Issue Date"
       },
       "rider_option": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The rider version, for example 'Market Growth' or 'Market Growth with Rollup'. It is on your rider page.",
        "title": "Rider Option"
       },
       "lives": {
        "anyOf": [
         {
          "items": {
           "$ref": "#/$defs/PolicyLife"
          },
          "type": "array"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The owner first; the spouse second for joint income",
        "title": "Lives"
       },
       "payout": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "single or joint (income for two lives). Default single.",
        "title": "Payout"
       },
       "contract_year": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Which year of the contract you are in now. Year 1 is the first 12 months after issue.",
        "title": "Contract Year"
       },
       "product_type": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Variable annuity (you pick funds), RILA (buffer and cap on an index), or fixed indexed (a cap, no losses). The first page of your contract says which. Values: variable, rila, fixed_indexed.",
        "title": "Product Type"
       },
       "account_value": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Also called contract value or accumulation value. It is the cash value on the first page of your latest statement.",
        "title": "Account Value"
       },
       "benefit_base": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Also called income base, guaranteed withdrawal base or GLWB base. It is on the rider section of your statement. It is not cash you can take out.",
        "title": "Benefit Base"
       },
       "withdrawal_rate_now": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The percentage of the benefit base you can take each year. Look for 'withdrawal rate', 'annual benefit percentage' or 'lifetime income percentage' on your statement or rider page. Decimal: 6% is 0.06.",
        "title": "Withdrawal Rate Now"
       },
       "withdrawal_rates_by_start_age": {
        "anyOf": [
         {
          "additionalProperties": {
           "type": "number"
          },
          "type": "object"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Your rider page often has a table of withdrawal percentages by the age you start income. Enter each age and percentage.",
        "title": "Withdrawal Rates By Start Age"
       },
       "rider_fee_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Look under 'charges', 'rider fee' or 'living benefit charge' on your statement or contract data page. Often 1% to 1.5% a year. Decimal.",
        "title": "Rider Fee Rate"
       },
       "rider_fee_base": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The same line usually says whether the rider fee is a percentage of the benefit base or of the account value. Values: benefit_base, account_value.",
        "title": "Rider Fee Base"
       },
       "other_fees_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Add up the yearly insurance and administrative charge (called M&E or mortality and expense) and the average fund expense. They are in the prospectus fee table and on your statement. Decimal.",
        "title": "Other Fees Rate"
       },
       "rollup": {
        "anyOf": [
         {
          "$ref": "#/$defs/RollupInput"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'roll-up', 'bonus', 'deferral credit' or 'annual increase' in your rider. We need the percentage, whether it is simple or compound, and how many years are left."
       },
       "step_up": {
        "anyOf": [
         {
          "$ref": "#/$defs/StepUpInput"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'step-up', 'reset' or 'ratchet' in your rider. We need to know if it exists and the age where it stops."
       },
       "surrender_schedule": {
        "anyOf": [
         {
          "$ref": "#/$defs/SurrenderInput"
         },
         {
          "items": {
           "type": "number"
          },
          "type": "array"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Look for 'surrender charge' or 'withdrawal charge' on your contract data page. We need the percentage today and how many years are left. Or the exact schedule as a list of decimals, this contract year first (e.g. [0.05, 0.04, 0.03]).",
        "title": "Surrender Schedule"
       },
       "income_started": {
        "anyOf": [
         {
          "type": "boolean"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Have you already started taking the yearly income payments from the rider? Your statement shows 'lifetime withdrawals' if you have.",
        "title": "Income Started"
       },
       "death_benefit": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'death benefit' on your statement. It is the amount paid to your beneficiaries.",
        "title": "Death Benefit"
       },
       "cap": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "For an indexed annuity or RILA, the cap is the most the index credit can be in a term. It is on your latest rate notice. Decimal.",
        "title": "Cap"
       },
       "buffer": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "For a RILA, the buffer is how much loss the insurer absorbs first (for example 10%). It is on your contract or rate notice. Decimal.",
        "title": "Buffer"
       },
       "net_purchase_payment_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The amount your roll-up is calculated on. It is your purchase payments less any withdrawals that cut it. Look for 'net purchase payment amount' on the rider page.",
        "title": "Net Purchase Payment Amount"
       },
       "rider_shape": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Most income riders pay a percentage of a 'benefit base' (also called income base). Some newer ones have no benefit base: the income is a percentage of the account value on the day income starts. If your statement shows no benefit base or income base, it is the second kind (no_base). Values: benefit_base, no_base. With contract_id the contract decides it.",
        "title": "Rider Shape"
       },
       "age_at_issue": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders without a benefit base: the covered person's age on the issue date (for joint income the younger spouse's). It sets the filed income percentage. It is on the contract data page.",
        "title": "Age At Issue"
       },
       "income_pct_increase": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders without a benefit base often add a fixed amount to the income percentage for each year you wait, called a 'deferral rate', 'income deferral credit' or 'income percentage increase'. It is in your rider supplement or on the contract data page. Decimal.",
        "title": "Income Pct Increase"
       },
       "income_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The yearly lifetime income you are being paid now, called 'Annual Income Amount' or 'maximum income payment' on your statement.",
        "title": "Income Amount"
       },
       "credit_base_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a yearly credit or bonus on a separate base (Credit Base, Bonus Base): that base, from the rider section of the statement.",
        "title": "Credit Base Amount"
       },
       "credit_years_left": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a credit on a separate base: anniversaries left in the credit (bonus) period, if the statement shows it (a step-up that raised the base restarts the period).",
        "title": "Credit Years Left"
       },
       "withdrawal_adjustment_base": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "RiverSource SecureSource 4: the Withdrawal Adjustment Base on the statement.",
        "title": "Withdrawal Adjustment Base"
       },
       "base_adjustment_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The one-time base adjustment shown on the statement or rider page (RiverSource Base Doubler, Jackson GWB adjustment), if it has not been applied yet.",
        "title": "Base Adjustment Amount"
       },
       "credit_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a credit on a separate base, when the filing on file does not give it for the application date: the bonus / credit percentage on the rider page. Decimal: 6% is 0.06.",
        "title": "Credit Rate"
       },
       "credit_carryover": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "RiverSource SecureSource Tempo: the Credit Carryover on the statement (the part of past Returns-linked Credits above the yearly maximum, kept for later anniversaries).",
        "title": "Credit Carryover"
       },
       "advisory_fee_from_contract": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Jackson Perspective Advisory II: the adviser's yearly fee rate taken from this contract (decimal; 0 if the fee is paid from another account).",
        "title": "Advisory Fee From Contract"
       }
      },
      "title": "Policy",
      "type": "object"
     },
     "PolicyLife": {
      "description": "One covered person; either value may be missing while the second opinion collects it.",
      "properties": {
       "age": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Age today",
        "title": "Age"
       },
       "sex": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "male or female, as shown on the contract",
        "title": "Sex"
       }
      },
      "title": "PolicyLife",
      "type": "object"
     },
     "RollupInput": {
      "description": "Yearly increase of the benefit base.",
      "properties": {
       "rate": {
        "description": "Yearly roll-up as a decimal (5% is 0.05). Optional. Look for 'roll-up', 'bonus', 'deferral credit' or 'annual increase' in your rider. We need the percentage, whether it is simple or compound, and how many years are left.",
        "title": "Rate",
        "type": "number"
       },
       "kind": {
        "default": "simple",
        "description": "'simple' (a percentage of a fixed amount each year) or 'compound' (a percentage of the current base)",
        "title": "Kind",
        "type": "string"
       },
       "years_left": {
        "default": 0,
        "description": "How many more contract anniversaries still add the roll-up",
        "title": "Years Left",
        "type": "integer"
       },
       "stops_after_withdrawal": {
        "default": true,
        "description": "True if the roll-up is skipped in any year you take a withdrawal",
        "title": "Stops After Withdrawal",
        "type": "boolean"
       },
       "base_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The dollar amount a simple roll-up is a percentage of (default: today's benefit base)",
        "title": "Base Amount"
       }
      },
      "required": [
       "rate"
      ],
      "title": "RollupInput",
      "type": "object"
     },
     "StepUpInput": {
      "description": "Automatic step-up of the benefit base to the account value.",
      "properties": {
       "enabled": {
        "default": true,
        "description": "Optional. Look for 'step-up', 'reset' or 'ratchet' in your rider. We need to know if it exists and the age where it stops.",
        "title": "Enabled",
        "type": "boolean"
       },
       "max_age": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Owner age at which step-ups stop",
        "title": "Max Age"
       }
      },
      "title": "StepUpInput",
      "type": "object"
     },
     "SurrenderInput": {
      "description": "Surrender charge: today's percentage and the years left, spread evenly down to zero.",
      "properties": {
       "years_left": {
        "description": "Years until the surrender charge reaches zero",
        "title": "Years Left",
        "type": "integer"
       },
       "current_pct": {
        "description": "Surrender charge today as a decimal (4% is 0.04)",
        "title": "Current Pct",
        "type": "number"
       }
      },
      "required": [
       "years_left",
       "current_pct"
      ],
      "title": "SurrenderInput",
      "type": "object"
     }
    },
    "properties": {
     "policy": {
      "$ref": "#/$defs/Policy"
     },
     "outlook": {
      "default": "middle",
      "title": "Outlook",
      "type": "string"
     },
     "new_contract_fees": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "New Contract Fees"
     }
    },
    "required": [
     "policy"
    ],
    "title": "switch_checkArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "switch_checkDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "second_opinion",
   "title": "Second opinion",
   "description": "Returns the full plain-language second opinion as one markdown report plus structured parts: what\nthe owner pays, whether the rider is worth its fee, when to start income (before income starts) and\nwhat switching would give up, with the trust statements, the disclaimer and the verification label.\nMissing numbers come back as questions with where to find each.",
   "inputSchema": {
    "type": "object",
    "$defs": {
     "Policy": {
      "description": "What is known about the contract owner's annuity. Every field is optional; the result lists what is\nstill missing. With contract_id the filed rider terms are filled in where the second-opinion engine\nsupports that contract; otherwise the numbers entered here are used.",
      "properties": {
       "contract_id": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "contract_id from find_contract",
        "title": "Contract Id"
       },
       "issue_date": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The date the contract was issued. It is on the first page of the contract or the statement. It decides which version of the rider rules applies. Format 2025-06-01.",
        "title": "Issue Date"
       },
       "rider_option": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The rider version, for example 'Market Growth' or 'Market Growth with Rollup'. It is on your rider page.",
        "title": "Rider Option"
       },
       "lives": {
        "anyOf": [
         {
          "items": {
           "$ref": "#/$defs/PolicyLife"
          },
          "type": "array"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The owner first; the spouse second for joint income",
        "title": "Lives"
       },
       "payout": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "single or joint (income for two lives). Default single.",
        "title": "Payout"
       },
       "contract_year": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Which year of the contract you are in now. Year 1 is the first 12 months after issue.",
        "title": "Contract Year"
       },
       "product_type": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Variable annuity (you pick funds), RILA (buffer and cap on an index), or fixed indexed (a cap, no losses). The first page of your contract says which. Values: variable, rila, fixed_indexed.",
        "title": "Product Type"
       },
       "account_value": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Also called contract value or accumulation value. It is the cash value on the first page of your latest statement.",
        "title": "Account Value"
       },
       "benefit_base": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Also called income base, guaranteed withdrawal base or GLWB base. It is on the rider section of your statement. It is not cash you can take out.",
        "title": "Benefit Base"
       },
       "withdrawal_rate_now": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The percentage of the benefit base you can take each year. Look for 'withdrawal rate', 'annual benefit percentage' or 'lifetime income percentage' on your statement or rider page. Decimal: 6% is 0.06.",
        "title": "Withdrawal Rate Now"
       },
       "withdrawal_rates_by_start_age": {
        "anyOf": [
         {
          "additionalProperties": {
           "type": "number"
          },
          "type": "object"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Your rider page often has a table of withdrawal percentages by the age you start income. Enter each age and percentage.",
        "title": "Withdrawal Rates By Start Age"
       },
       "rider_fee_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Look under 'charges', 'rider fee' or 'living benefit charge' on your statement or contract data page. Often 1% to 1.5% a year. Decimal.",
        "title": "Rider Fee Rate"
       },
       "rider_fee_base": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The same line usually says whether the rider fee is a percentage of the benefit base or of the account value. Values: benefit_base, account_value.",
        "title": "Rider Fee Base"
       },
       "other_fees_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Add up the yearly insurance and administrative charge (called M&E or mortality and expense) and the average fund expense. They are in the prospectus fee table and on your statement. Decimal.",
        "title": "Other Fees Rate"
       },
       "rollup": {
        "anyOf": [
         {
          "$ref": "#/$defs/RollupInput"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'roll-up', 'bonus', 'deferral credit' or 'annual increase' in your rider. We need the percentage, whether it is simple or compound, and how many years are left."
       },
       "step_up": {
        "anyOf": [
         {
          "$ref": "#/$defs/StepUpInput"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'step-up', 'reset' or 'ratchet' in your rider. We need to know if it exists and the age where it stops."
       },
       "surrender_schedule": {
        "anyOf": [
         {
          "$ref": "#/$defs/SurrenderInput"
         },
         {
          "items": {
           "type": "number"
          },
          "type": "array"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Look for 'surrender charge' or 'withdrawal charge' on your contract data page. We need the percentage today and how many years are left. Or the exact schedule as a list of decimals, this contract year first (e.g. [0.05, 0.04, 0.03]).",
        "title": "Surrender Schedule"
       },
       "income_started": {
        "anyOf": [
         {
          "type": "boolean"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Have you already started taking the yearly income payments from the rider? Your statement shows 'lifetime withdrawals' if you have.",
        "title": "Income Started"
       },
       "death_benefit": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Optional. Look for 'death benefit' on your statement. It is the amount paid to your beneficiaries.",
        "title": "Death Benefit"
       },
       "cap": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "For an indexed annuity or RILA, the cap is the most the index credit can be in a term. It is on your latest rate notice. Decimal.",
        "title": "Cap"
       },
       "buffer": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "For a RILA, the buffer is how much loss the insurer absorbs first (for example 10%). It is on your contract or rate notice. Decimal.",
        "title": "Buffer"
       },
       "net_purchase_payment_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The amount your roll-up is calculated on. It is your purchase payments less any withdrawals that cut it. Look for 'net purchase payment amount' on the rider page.",
        "title": "Net Purchase Payment Amount"
       },
       "rider_shape": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Most income riders pay a percentage of a 'benefit base' (also called income base). Some newer ones have no benefit base: the income is a percentage of the account value on the day income starts. If your statement shows no benefit base or income base, it is the second kind (no_base). Values: benefit_base, no_base. With contract_id the contract decides it.",
        "title": "Rider Shape"
       },
       "age_at_issue": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders without a benefit base: the covered person's age on the issue date (for joint income the younger spouse's). It sets the filed income percentage. It is on the contract data page.",
        "title": "Age At Issue"
       },
       "income_pct_increase": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders without a benefit base often add a fixed amount to the income percentage for each year you wait, called a 'deferral rate', 'income deferral credit' or 'income percentage increase'. It is in your rider supplement or on the contract data page. Decimal.",
        "title": "Income Pct Increase"
       },
       "income_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The yearly lifetime income you are being paid now, called 'Annual Income Amount' or 'maximum income payment' on your statement.",
        "title": "Income Amount"
       },
       "credit_base_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a yearly credit or bonus on a separate base (Credit Base, Bonus Base): that base, from the rider section of the statement.",
        "title": "Credit Base Amount"
       },
       "credit_years_left": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a credit on a separate base: anniversaries left in the credit (bonus) period, if the statement shows it (a step-up that raised the base restarts the period).",
        "title": "Credit Years Left"
       },
       "withdrawal_adjustment_base": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "RiverSource SecureSource 4: the Withdrawal Adjustment Base on the statement.",
        "title": "Withdrawal Adjustment Base"
       },
       "base_adjustment_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The one-time base adjustment shown on the statement or rider page (RiverSource Base Doubler, Jackson GWB adjustment), if it has not been applied yet.",
        "title": "Base Adjustment Amount"
       },
       "credit_rate": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Riders with a credit on a separate base, when the filing on file does not give it for the application date: the bonus / credit percentage on the rider page. Decimal: 6% is 0.06.",
        "title": "Credit Rate"
       },
       "credit_carryover": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "RiverSource SecureSource Tempo: the Credit Carryover on the statement (the part of past Returns-linked Credits above the yearly maximum, kept for later anniversaries).",
        "title": "Credit Carryover"
       },
       "advisory_fee_from_contract": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Jackson Perspective Advisory II: the adviser's yearly fee rate taken from this contract (decimal; 0 if the fee is paid from another account).",
        "title": "Advisory Fee From Contract"
       }
      },
      "title": "Policy",
      "type": "object"
     },
     "PolicyLife": {
      "description": "One covered person; either value may be missing while the second opinion collects it.",
      "properties": {
       "age": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Age today",
        "title": "Age"
       },
       "sex": {
        "anyOf": [
         {
          "type": "string"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "male or female, as shown on the contract",
        "title": "Sex"
       }
      },
      "title": "PolicyLife",
      "type": "object"
     },
     "RollupInput": {
      "description": "Yearly increase of the benefit base.",
      "properties": {
       "rate": {
        "description": "Yearly roll-up as a decimal (5% is 0.05). Optional. Look for 'roll-up', 'bonus', 'deferral credit' or 'annual increase' in your rider. We need the percentage, whether it is simple or compound, and how many years are left.",
        "title": "Rate",
        "type": "number"
       },
       "kind": {
        "default": "simple",
        "description": "'simple' (a percentage of a fixed amount each year) or 'compound' (a percentage of the current base)",
        "title": "Kind",
        "type": "string"
       },
       "years_left": {
        "default": 0,
        "description": "How many more contract anniversaries still add the roll-up",
        "title": "Years Left",
        "type": "integer"
       },
       "stops_after_withdrawal": {
        "default": true,
        "description": "True if the roll-up is skipped in any year you take a withdrawal",
        "title": "Stops After Withdrawal",
        "type": "boolean"
       },
       "base_amount": {
        "anyOf": [
         {
          "type": "number"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "The dollar amount a simple roll-up is a percentage of (default: today's benefit base)",
        "title": "Base Amount"
       }
      },
      "required": [
       "rate"
      ],
      "title": "RollupInput",
      "type": "object"
     },
     "StepUpInput": {
      "description": "Automatic step-up of the benefit base to the account value.",
      "properties": {
       "enabled": {
        "default": true,
        "description": "Optional. Look for 'step-up', 'reset' or 'ratchet' in your rider. We need to know if it exists and the age where it stops.",
        "title": "Enabled",
        "type": "boolean"
       },
       "max_age": {
        "anyOf": [
         {
          "type": "integer"
         },
         {
          "type": "null"
         }
        ],
        "default": null,
        "description": "Owner age at which step-ups stop",
        "title": "Max Age"
       }
      },
      "title": "StepUpInput",
      "type": "object"
     },
     "SurrenderInput": {
      "description": "Surrender charge: today's percentage and the years left, spread evenly down to zero.",
      "properties": {
       "years_left": {
        "description": "Years until the surrender charge reaches zero",
        "title": "Years Left",
        "type": "integer"
       },
       "current_pct": {
        "description": "Surrender charge today as a decimal (4% is 0.04)",
        "title": "Current Pct",
        "type": "number"
       }
      },
      "required": [
       "years_left",
       "current_pct"
      ],
      "title": "SurrenderInput",
      "type": "object"
     }
    },
    "properties": {
     "policy": {
      "$ref": "#/$defs/Policy"
     },
     "outlook": {
      "default": "middle",
      "title": "Outlook",
      "type": "string"
     }
    },
    "required": [
     "policy"
    ],
    "title": "second_opinionArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "second_opinionDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "source_excerpt",
   "title": "Filing excerpt",
   "description": "Returns verbatim passages from the contract's filed prospectus or supplement for a topic, with the\ndocument, accession number, url and page, ranked toward the document that governs the cohort of\nissue_date (YYYY-MM-DD). Each passage is a window of its page centred on the best-matching text; \"…\"\nmarks where the page text was cut, so the page holds more (worked examples often continue there).\nContracts with filed rules only (coverage lists them).",
   "inputSchema": {
    "type": "object",
    "properties": {
     "contract_id": {
      "title": "Contract Id",
      "type": "string"
     },
     "topic": {
      "title": "Topic",
      "type": "string"
     },
     "issue_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Issue Date"
     }
    },
    "required": [
     "contract_id",
     "topic"
    ],
    "title": "source_excerptArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "source_excerptDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "withdrawal_planner",
   "title": "Withdrawal planner",
   "description": "How much can come out this contract year, and what each dollar above that costs, from the\ncontract's filed rules: the charge-free amount (free_amount) and this year's surrender charge rate;\nthe rider's annual amount (filed withdrawal percentage x benefit_base, or annual_amount from the\nstatement) and the year's allowance, raised to rmd_amount where the filed RMD rule allows; the safe\namount (the most that is both charge-free and inside the allowance) and which limit binds; and for\nplanned_withdrawal its surrender charge and its cut to the benefit base and annual amount\n(excess_withdrawal), with steps and citations. income_started = true once lifetime withdrawals\nhave begun (or this withdrawal begins them); false before (the filed early-withdrawal or\nDetermination Date rule then applies). rate_age = the age the filed table names when it is not the\nowner's age today (e.g. the age when income started). The free amount takes the inputs its filed\nbasis names (purchase_payments, prior_anniversary_account_value, remaining_premium, earnings).\nrmd_via_program = whether the RMD is taken through the insurer's RMD program (filed RMD rules and\ncharge waivers that apply only through it read it; asked when it decides the answer).\non_date (YYYY-MM-DD, default today) sets the contract year. election_date = the date the rider was\nadded when it was added after issue (its rate table follows that date where the filing says so).\nInputs the rules need and that were not given are listed in needs. Contracts with filed rules only.",
   "inputSchema": {
    "type": "object",
    "properties": {
     "contract_id": {
      "title": "Contract Id",
      "type": "string"
     },
     "issue_date": {
      "title": "Issue Date",
      "type": "string"
     },
     "account_value": {
      "title": "Account Value",
      "type": "number"
     },
     "owner_age": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Owner Age"
     },
     "owner_birth_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Owner Birth Date"
     },
     "joint_age": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Joint Age"
     },
     "joint_birth_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Joint Birth Date"
     },
     "benefit_base": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Benefit Base"
     },
     "withdrawn_this_year": {
      "default": 0.0,
      "title": "Withdrawn This Year",
      "type": "number"
     },
     "rmd_amount": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rmd Amount"
     },
     "planned_withdrawal": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Planned Withdrawal"
     },
     "income_started": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Income Started"
     },
     "rider_option": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rider Option"
     },
     "rate_age": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rate Age"
     },
     "annual_amount": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Annual Amount"
     },
     "start_year": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Start Year"
     },
     "purchase_payments": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Purchase Payments"
     },
     "prior_anniversary_account_value": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Prior Anniversary Account Value"
     },
     "remaining_premium": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Remaining Premium"
     },
     "earnings": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Earnings"
     },
     "rmd_via_program": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rmd Via Program"
     },
     "state": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "State"
     },
     "application_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Application Date"
     },
     "on_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "On Date"
     },
     "election_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Election Date"
     }
    },
    "required": [
     "contract_id",
     "issue_date",
     "account_value"
    ],
    "title": "withdrawal_plannerArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "withdrawal_plannerDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "key_dates",
   "title": "Key contract dates",
   "description": "A dated list of what changes when on one contract, each item with its citation: each surrender\ncharge step and the date charges end; the end of a roll-up, bonus or credit period and the step-up\nage limit; the dates the filed withdrawal percentage moves to a new age band (before income starts);\nrider-charge change dates where the filing sets them; filed age limits (lifetime withdrawal age,\nlatest income or annuity date, income-benefit exercise anniversaries); and the RMD start age under\nthe SECURE 2.0 Act (marked as law, not the filing). owner_birth_date gives exact dates; with\nowner_age only, an age-based date is a one-year window. Only dates the filed values or the law set\nare listed. on_date (YYYY-MM-DD, default today) marks which dates are past. election_date = the\ndate the rider was added when it was added after issue (its rate table follows that date where the\nfiling says so). Contracts with filed rules only.",
   "inputSchema": {
    "type": "object",
    "properties": {
     "contract_id": {
      "title": "Contract Id",
      "type": "string"
     },
     "issue_date": {
      "title": "Issue Date",
      "type": "string"
     },
     "owner_birth_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Owner Birth Date"
     },
     "owner_age": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Owner Age"
     },
     "joint_birth_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Joint Birth Date"
     },
     "joint_age": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Joint Age"
     },
     "income_started": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Income Started"
     },
     "rider_option": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rider Option"
     },
     "start_year": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Start Year"
     },
     "application_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Application Date"
     },
     "state": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "State"
     },
     "on_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "On Date"
     },
     "election_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Election Date"
     }
    },
    "required": [
     "contract_id",
     "issue_date"
    ],
    "title": "key_datesArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "key_datesDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  },
  {
   "name": "statement_check",
   "title": "Statement check",
   "description": "Checks the figures on an annuity statement against the contract's filed rules: the guaranteed\nwithdrawal amount against the filed percentage for the age band x the benefit base; the rider\ncharge against the filed rate x the filed charge base (rider_charge_period annual or quarterly);\nand, where the filing has an automatic step-up, that the benefit base is at least the account\nvalue on the last contract anniversary (anniversary_account_value, or account_value on a statement\ndated that day). Each check is match, mismatch or cannot_check, with the expected figure, a\ntolerance of a cent or $1 of rounding, the citation, and for a mismatch a plain question for the\ninsurer. statement_text (not stored, logged or echoed) can identify the contract and supply the\nfigures it shows. Contracts with filed rules only. A check can also be possible_match (contracts whose rate can rise at an anniversary reset): the figure equals the filed rate for a later age, which applies only if such a reset happened; confirm the reset, or pass rate_age (the age at the last reset) for an exact check.",
   "inputSchema": {
    "type": "object",
    "properties": {
     "contract_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Contract Id"
     },
     "statement_text": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Statement Text"
     },
     "issue_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Issue Date"
     },
     "owner_age": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Owner Age"
     },
     "owner_birth_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Owner Birth Date"
     },
     "joint_age": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Joint Age"
     },
     "joint_birth_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Joint Birth Date"
     },
     "benefit_base": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Benefit Base"
     },
     "guaranteed_amount": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Guaranteed Amount"
     },
     "rider_charge": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rider Charge"
     },
     "rider_charge_period": {
      "default": "annual",
      "title": "Rider Charge Period",
      "type": "string"
     },
     "account_value": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Account Value"
     },
     "anniversary_account_value": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Anniversary Account Value"
     },
     "statement_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Statement Date"
     },
     "income_started": {
      "anyOf": [
       {
        "type": "boolean"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Income Started"
     },
     "rider_option": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rider Option"
     },
     "rate_age": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Rate Age"
     },
     "start_year": {
      "anyOf": [
       {
        "type": "integer"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Start Year"
     },
     "application_date": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "Application Date"
     },
     "state": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ],
      "default": null,
      "title": "State"
     }
    },
    "title": "statement_checkArguments"
   },
   "outputSchema": {
    "additionalProperties": true,
    "title": "statement_checkDictOutput",
    "type": "object"
   },
   "annotations": {
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
   }
  }
 ]
}
