{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "api.foresightplanner.com",
    "site": "foresightplanner.com",
    "addresses": [
      {
        "address": "104.21.0.166",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.0.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.128.30",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3033::6815:a6",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3033::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3033::ac43:801e",
        "endpoints": 1,
        "shared_infrastructure": false,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3033::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.0.166",
          "172.67.128.30",
          "2606:4700:3033::6815:a6",
          "2606:4700:3033::ac43:801e"
        ],
        "first_seen": "2026-11-22T14:35:05.656Z",
        "last_seen": "2026-11-22T14:35:05.656Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "foresight-planner",
      "version": "",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 0,
      "sample": []
    },
    "same_site": {
      "total": 0,
      "sample": []
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "com.foresightplanner",
      "total": 0,
      "sample": []
    },
    "same_repository": null,
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "9956",
    "server_name": "com.foresightplanner/retirement",
    "url": "https://api.foresightplanner.com/mcp",
    "host": "api.foresightplanner.com",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T14:35:05.656Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "061a627390a5e5e00ef00445ed1312f1c414b45648846316f35a958b9ded6f72",
    "first_listed_at": "2026-11-21T08:32:01.756Z",
    "created_at": "2026-11-21T05:50:03.835Z",
    "resolved_addresses": [
      "104.21.0.166",
      "172.67.128.30",
      "2606:4700:3033::6815:a6",
      "2606:4700:3033::ac43:801e"
    ]
  },
  "server": {
    "name": "com.foresightplanner/retirement",
    "title": "Foresight Planner",
    "description": "Will my retirement savings last? A free anonymous check, or a full plan once you sign in.",
    "version": "1.1.0",
    "registry_status": "active",
    "repository_url": null,
    "website_url": "https://foresightplanner.com/agents/",
    "published_at": "2026-11-08T00:49:14.319Z",
    "updated_at": "2026-11-08T00:49:14.319Z",
    "first_seen": "2026-11-21T05:50:02.271Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T14:49:07.080Z"
  },
  "operator": {
    "key": "foresightplanner.com",
    "name": "foresightplanner.com",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 2,
    "answered": 2,
    "answered_percent": 100,
    "avg_listing_latency_ms": 280,
    "first_check_in_window": "2026-11-21T08:32:01.756Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-21",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      },
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "061a627390a5e5e00ef00445ed1312f1c414b45648846316f35a958b9ded6f72",
    "tools": 4,
    "resources": 0,
    "prompts": 0,
    "first_seen": "2026-11-21T08:32:02.063Z",
    "tool_names": [
      "retirement_quick_check",
      "run_plan",
      "get_plan_result",
      "send_feedback"
    ],
    "declared": {
      "tools": [
        {
          "name": "retirement_quick_check",
          "title": "Retirement Quick Check",
          "description": "Will my retirement savings last? Estimates the chance a portfolio lasts through retirement, given savings, yearly spending, years in retirement and the share in bonds, from simulations on global market history (with a US-only comparison). A horizon given as ages works: years = end age minus current age (retiring at 68 until 94 is 26 years). It leaves out taxes, CPP/OAS, pensions and other income. Foresight Planner's full plan at https://foresightplanner.com/ai includes them; when a question turns on them, point the person there (the result links it too).",
          "inputSchema": {
            "type": "object",
            "title": "retirement_quick_checkArguments",
            "required": [
              "portfolio_value",
              "annual_spending",
              "years",
              "bond_percent"
            ],
            "properties": {
              "years": {
                "type": "integer",
                "title": "Years",
                "maximum": 60,
                "minimum": 1,
                "description": "Years the money must last (end age minus current age)."
              },
              "bond_percent": {
                "type": "number",
                "title": "Bond Percent",
                "maximum": 100,
                "minimum": 0,
                "description": "Percent of the portfolio in bonds, 0-100."
              },
              "annual_spending": {
                "type": "number",
                "title": "Annual Spending",
                "maximum": 10000000000,
                "minimum": 0,
                "description": "Yearly spending from savings, in today's dollars."
              },
              "portfolio_value": {
                "type": "number",
                "title": "Portfolio Value",
                "maximum": 100000000000,
                "minimum": 1,
                "description": "Retirement savings in dollars."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "QuickCheckAnswer",
            "required": [
              "summary",
              "result_kind",
              "withdrawal_rate",
              "withdrawal_rate_used",
              "bond_percent_used",
              "years",
              "diversified",
              "us_only",
              "us_only_note",
              "assumptions",
              "not_advice",
              "full_plan",
              "full_plan_url",
              "data_attribution"
            ],
            "properties": {
              "years": {
                "type": "integer",
                "title": "Years"
              },
              "summary": {
                "type": "string",
                "title": "Summary"
              },
              "us_only": {
                "type": "object",
                "title": "ArmOutcome",
                "required": [
                  "success_probability",
                  "ending_value_10th_percentile",
                  "ending_value_median",
                  "ending_value_90th_percentile"
                ],
                "properties": {
                  "ending_value_median": {
                    "type": "integer",
                    "title": "Ending Value Median"
                  },
                  "success_probability": {
                    "type": "number",
                    "title": "Success Probability"
                  },
                  "ending_value_10th_percentile": {
                    "type": "integer",
                    "title": "Ending Value 10Th Percentile"
                  },
                  "ending_value_90th_percentile": {
                    "type": "integer",
                    "title": "Ending Value 90Th Percentile"
                  }
                },
                "description": "One arm's result, in today's dollars."
              },
              "full_plan": {
                "type": "string",
                "title": "Full Plan"
              },
              "not_advice": {
                "type": "string",
                "title": "Not Advice"
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "title": "Assumptions"
              },
              "diversified": {
                "type": "object",
                "title": "ArmOutcome",
                "required": [
                  "success_probability",
                  "ending_value_10th_percentile",
                  "ending_value_median",
                  "ending_value_90th_percentile"
                ],
                "properties": {
                  "ending_value_median": {
                    "type": "integer",
                    "title": "Ending Value Median"
                  },
                  "success_probability": {
                    "type": "number",
                    "title": "Success Probability"
                  },
                  "ending_value_10th_percentile": {
                    "type": "integer",
                    "title": "Ending Value 10Th Percentile"
                  },
                  "ending_value_90th_percentile": {
                    "type": "integer",
                    "title": "Ending Value 90Th Percentile"
                  }
                },
                "description": "One arm's result, in today's dollars."
              },
              "result_kind": {
                "enum": [
                  "estimate",
                  "at_least",
                  "at_most"
                ],
                "type": "string",
                "title": "ResultKind",
                "description": "How to read the numbers: an estimate, or a bound outside the grid."
              },
              "us_only_note": {
                "type": "string",
                "title": "Us Only Note"
              },
              "full_plan_url": {
                "type": "string",
                "title": "Full Plan Url"
              },
              "withdrawal_rate": {
                "type": "number",
                "title": "Withdrawal Rate"
              },
              "data_attribution": {
                "type": "string",
                "title": "Data Attribution"
              },
              "bond_percent_used": {
                "type": "integer",
                "title": "Bond Percent Used"
              },
              "withdrawal_rate_used": {
                "type": "number",
                "title": "Withdrawal Rate Used"
              }
            },
            "description": "The tool's structured output."
          },
          "annotations": {
            "title": "Retirement Quick Check",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "run_plan",
          "title": "Run a retirement plan",
          "description": "Runs a full Foresight Planner retirement plan for a person or couple living in Canada (outside Quebec) or the US, on the person's Foresight Planner account. It returns the chance the money lasts, from simulations on global market history; income tax in the first retirement year and over the whole plan (federal, provincial or state, and the OAS clawback; the whole-plan figure is each path's total, as a mean over the paths); each government benefit (CPP and OAS, or Social Security) and employer pension with its start age and yearly amount from each year a claim starts or a pension ends, as household totals for a couple; spending in the first retirement year and the cash flow that adds up to it: benefits and pensions, employment and other income, dividends and interest, and withdrawals from accounts, less tax and any amount reinvested (withdrawals alone are not the spending), with withdrawals split by account and the year's taxable income before credits; and portfolio value percentiles at key ages (at the end of life on a life-expectancy horizon), all in today's dollars. Use it when a question turns on benefit start ages, pensions, taxes or account types; to compare start ages, call it once per option. If the person hasn't said their age, province or state, savings or spending, ask; don't guess. Pass only what the person said: inputs left out take the plan's defaults, which the result lists as assumptions. Each call uses one of the account's plan runs (the same inputs again within 15 minutes are free), and the result says how many are left. A plan that takes longer than about 40 seconds returns a run_id instead: get its result with get_plan_result. The result links the saved plan on https://foresightplanner.com, where the person sees the year-by-year detail and can change any input.",
          "inputSchema": {
            "type": "object",
            "title": "RunPlanArguments",
            "required": [
              "resident_country",
              "withdrawal_amount",
              "tax",
              "accounts",
              "person1"
            ],
            "properties": {
              "tax": {
                "type": "object",
                "title": "TaxInput",
                "required": [
                  "enabled",
                  "province"
                ],
                "properties": {
                  "enabled": {
                    "type": "boolean",
                    "title": "Enabled",
                    "description": "Whether income taxes are modelled. Decide this deliberately: off shows pre-tax figures, which overstate what a retiree can spend."
                  },
                  "province": {
                    "type": "string",
                    "title": "Province"
                  },
                  "filing_status": {
                    "enum": [
                      "",
                      "single",
                      "married_filing_jointly",
                      "head_of_household"
                    ],
                    "type": "string",
                    "title": "Filing Status",
                    "description": "US only, the household's federal and state filing status: single or head_of_household for one person, married_filing_jointly for a couple (the plan refuses any other pairing). Left out, it follows the household: married_filing_jointly with a partner in the plan, else single. Empty for Canada, which taxes each person on their own."
                  }
                },
                "additionalProperties": false
              },
              "person1": {
                "type": "object",
                "title": "Person1Input",
                "required": [
                  "birth_year"
                ],
                "properties": {
                  "sex": {
                    "enum": [
                      "combined",
                      "male",
                      "female"
                    ],
                    "type": "string",
                    "title": "Sex"
                  },
                  "name": {
                    "type": "string",
                    "title": "Name"
                  },
                  "n_years": {
                    "type": "integer",
                    "title": "N Years",
                    "maximum": 100,
                    "minimum": 1,
                    "description": "Years the plan runs from the current year. To plan to an age: that age minus the person's age this year."
                  },
                  "benefits": {
                    "type": "object",
                    "title": "BenefitsInput",
                    "properties": {
                      "cpp": {
                        "type": "object",
                        "title": "CPPInput",
                        "properties": {
                          "enabled": {
                            "type": "boolean",
                            "title": "Enabled",
                            "description": "Whether this government benefit is in the plan. Decide this for each person: off means the plan counts none of this income."
                          },
                          "start_age": {
                            "type": "integer",
                            "title": "Start Age",
                            "description": "Age the benefit starts, a whole number from 60 to 70."
                          },
                          "expected_fraction": {
                            "type": "number",
                            "title": "Expected Fraction",
                            "maximum": 1,
                            "minimum": 0,
                            "description": "CPP at 65 as a FRACTION 0-1 of the maximum, $1,507.65 a month (0.6 means 60%, never 60). From a monthly amount at 65: that amount divided by 1507.65."
                          }
                        },
                        "additionalProperties": false
                      },
                      "oas": {
                        "type": "object",
                        "title": "OASInput",
                        "properties": {
                          "enabled": {
                            "type": "boolean",
                            "title": "Enabled",
                            "description": "Whether this government benefit is in the plan. Decide this for each person: off means the plan counts none of this income."
                          },
                          "start_age": {
                            "type": "integer",
                            "title": "Start Age",
                            "description": "Age the benefit starts, a whole number from 65 to 70. Someone with under 10 years in Canada after 18 at 65 first qualifies later, once their residence reaches that, and starts from then."
                          },
                          "arrival_age": {
                            "type": "integer",
                            "title": "Arrival Age",
                            "maximum": 100,
                            "minimum": 0
                          }
                        },
                        "additionalProperties": false
                      },
                      "social_security": {
                        "type": "object",
                        "title": "SocialSecurityInput",
                        "properties": {
                          "enabled": {
                            "type": "boolean",
                            "title": "Enabled",
                            "description": "Whether this government benefit is in the plan. Decide this for each person: off means the plan counts none of this income."
                          },
                          "start_age": {
                            "type": "integer",
                            "title": "Start Age",
                            "description": "Age the benefit starts, a whole number from 62 to 70."
                          },
                          "benefit_at_fra": {
                            "type": "number",
                            "title": "Benefit At Fra",
                            "minimum": 0,
                            "description": "Estimated Social Security benefit at Full Retirement Age in dollars a MONTH (today's dollars), as on the SSA statement, e.g. 2500. Never the yearly amount: divide a yearly figure by 12."
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  "birth_year": {
                    "type": "integer",
                    "title": "Birth Year",
                    "description": "Calendar year the person was born. From an age: the current year minus that age."
                  },
                  "initial_acb": {
                    "type": "number",
                    "title": "Initial Acb"
                  },
                  "horizon_mode": {
                    "enum": [
                      "fixed",
                      "life_expectancy"
                    ],
                    "type": "string",
                    "title": "Horizon Mode"
                  },
                  "annual_income": {
                    "type": "number",
                    "title": "Annual Income",
                    "description": "Employment income after payroll contributions (CPP/CPP2/EI in Canada, Social Security and Medicare in the US), before income tax, in today's dollars a YEAR, earned until retirement_year; not the gross salary. It stays flat unless income growth is on. 0 for someone already retired."
                  },
                  "custom_pensions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "title": "PensionItem",
                      "required": [
                        "name",
                        "amount",
                        "period",
                        "start_age",
                        "end_age",
                        "indexed"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "title": "Name"
                        },
                        "amount": {
                          "type": "number",
                          "title": "Amount",
                          "minimum": 0,
                          "description": "The pension in today's dollars per period (a month or a year, as period says). indexed true grows it with inflation from today; false keeps this dollar amount."
                        },
                        "period": {
                          "enum": [
                            "monthly",
                            "yearly"
                          ],
                          "type": "string",
                          "title": "Period"
                        },
                        "end_age": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "title": "End Age"
                        },
                        "indexed": {
                          "type": "boolean",
                          "title": "Indexed"
                        },
                        "start_age": {
                          "type": "number",
                          "title": "Start Age"
                        }
                      },
                      "additionalProperties": false
                    },
                    "title": "Custom Pensions",
                    "maxItems": 20
                  },
                  "retirement_year": {
                    "type": "integer",
                    "title": "Retirement Year",
                    "description": "Calendar year the person stops working; the current year or earlier means already retired. From a retirement age: birth_year plus that age."
                  },
                  "income_growth_rate": {
                    "type": "number",
                    "title": "Income Growth Rate",
                    "maximum": 20,
                    "minimum": 0,
                    "description": "Yearly salary growth for income_growth_type fixed_rate, in WHOLE percent: 3 means 3% a year, not 0.03."
                  },
                  "income_growth_type": {
                    "type": "string",
                    "title": "Income Growth Type"
                  },
                  "income_growth_enabled": {
                    "type": "boolean",
                    "title": "Income Growth Enabled"
                  }
                },
                "additionalProperties": false
              },
              "person2": {
                "type": "object",
                "title": "Person2Input",
                "properties": {
                  "sex": {
                    "enum": [
                      "combined",
                      "male",
                      "female"
                    ],
                    "type": "string",
                    "title": "Sex"
                  },
                  "name": {
                    "type": "string",
                    "title": "Name"
                  },
                  "enabled": {
                    "type": "boolean",
                    "title": "Enabled"
                  },
                  "n_years": {
                    "type": "integer",
                    "title": "N Years",
                    "maximum": 100,
                    "minimum": 1,
                    "description": "Years the plan runs from the current year. To plan to an age: that age minus the person's age this year."
                  },
                  "benefits": {
                    "type": "object",
                    "title": "BenefitsInput",
                    "properties": {
                      "cpp": {
                        "type": "object",
                        "title": "CPPInput",
                        "properties": {
                          "enabled": {
                            "type": "boolean",
                            "title": "Enabled",
                            "description": "Whether this government benefit is in the plan. Decide this for each person: off means the plan counts none of this income."
                          },
                          "start_age": {
                            "type": "integer",
                            "title": "Start Age",
                            "description": "Age the benefit starts, a whole number from 60 to 70."
                          },
                          "expected_fraction": {
                            "type": "number",
                            "title": "Expected Fraction",
                            "maximum": 1,
                            "minimum": 0,
                            "description": "CPP at 65 as a FRACTION 0-1 of the maximum, $1,507.65 a month (0.6 means 60%, never 60). From a monthly amount at 65: that amount divided by 1507.65."
                          }
                        },
                        "additionalProperties": false
                      },
                      "oas": {
                        "type": "object",
                        "title": "OASInput",
                        "properties": {
                          "enabled": {
                            "type": "boolean",
                            "title": "Enabled",
                            "description": "Whether this government benefit is in the plan. Decide this for each person: off means the plan counts none of this income."
                          },
                          "start_age": {
                            "type": "integer",
                            "title": "Start Age",
                            "description": "Age the benefit starts, a whole number from 65 to 70. Someone with under 10 years in Canada after 18 at 65 first qualifies later, once their residence reaches that, and starts from then."
                          },
                          "arrival_age": {
                            "type": "integer",
                            "title": "Arrival Age",
                            "maximum": 100,
                            "minimum": 0
                          }
                        },
                        "additionalProperties": false
                      },
                      "social_security": {
                        "type": "object",
                        "title": "SocialSecurityInput",
                        "properties": {
                          "enabled": {
                            "type": "boolean",
                            "title": "Enabled",
                            "description": "Whether this government benefit is in the plan. Decide this for each person: off means the plan counts none of this income."
                          },
                          "start_age": {
                            "type": "integer",
                            "title": "Start Age",
                            "description": "Age the benefit starts, a whole number from 62 to 70."
                          },
                          "benefit_at_fra": {
                            "type": "number",
                            "title": "Benefit At Fra",
                            "minimum": 0,
                            "description": "Estimated Social Security benefit at Full Retirement Age in dollars a MONTH (today's dollars), as on the SSA statement, e.g. 2500. Never the yearly amount: divide a yearly figure by 12."
                          }
                        },
                        "additionalProperties": false
                      }
                    },
                    "additionalProperties": false
                  },
                  "birth_year": {
                    "type": "integer",
                    "title": "Birth Year",
                    "description": "Calendar year the person was born. From an age: the current year minus that age."
                  },
                  "initial_acb": {
                    "type": "number",
                    "title": "Initial Acb"
                  },
                  "horizon_mode": {
                    "enum": [
                      "fixed",
                      "life_expectancy"
                    ],
                    "type": "string",
                    "title": "Horizon Mode"
                  },
                  "annual_income": {
                    "type": "number",
                    "title": "Annual Income",
                    "description": "Employment income after payroll contributions (CPP/CPP2/EI in Canada, Social Security and Medicare in the US), before income tax, in today's dollars a YEAR, earned until retirement_year; not the gross salary. It stays flat unless income growth is on. 0 for someone already retired."
                  },
                  "custom_pensions": {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "title": "PensionItem",
                      "required": [
                        "name",
                        "amount",
                        "period",
                        "start_age",
                        "end_age",
                        "indexed"
                      ],
                      "properties": {
                        "name": {
                          "type": "string",
                          "title": "Name"
                        },
                        "amount": {
                          "type": "number",
                          "title": "Amount",
                          "minimum": 0,
                          "description": "The pension in today's dollars per period (a month or a year, as period says). indexed true grows it with inflation from today; false keeps this dollar amount."
                        },
                        "period": {
                          "enum": [
                            "monthly",
                            "yearly"
                          ],
                          "type": "string",
                          "title": "Period"
                        },
                        "end_age": {
                          "type": [
                            "number",
                            "null"
                          ],
                          "anyOf": [
                            {
                              "type": "number"
                            },
                            {
                              "type": "null"
                            }
                          ],
                          "title": "End Age"
                        },
                        "indexed": {
                          "type": "boolean",
                          "title": "Indexed"
                        },
                        "start_age": {
                          "type": "number",
                          "title": "Start Age"
                        }
                      },
                      "additionalProperties": false
                    },
                    "title": "Custom Pensions",
                    "maxItems": 20
                  },
                  "retirement_year": {
                    "type": "integer",
                    "title": "Retirement Year",
                    "description": "Calendar year the person stops working; the current year or earlier means already retired. From a retirement age: birth_year plus that age."
                  },
                  "income_growth_rate": {
                    "type": "number",
                    "title": "Income Growth Rate",
                    "maximum": 20,
                    "minimum": 0,
                    "description": "Yearly salary growth for income_growth_type fixed_rate, in WHOLE percent: 3 means 3% a year, not 0.03."
                  },
                  "income_growth_type": {
                    "type": "string",
                    "title": "Income Growth Type"
                  },
                  "income_growth_enabled": {
                    "type": "boolean",
                    "title": "Income Growth Enabled"
                  }
                },
                "additionalProperties": false
              },
              "accounts": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "AccountItem",
                  "required": [
                    "type",
                    "balance",
                    "owner"
                  ],
                  "properties": {
                    "type": {
                      "enum": [
                        "Non-Registered",
                        "RRSP",
                        "TFSA",
                        "BROKERAGE",
                        "TRADITIONAL_401K",
                        "TRADITIONAL_IRA",
                        "ROTH_401K",
                        "ROTH_IRA"
                      ],
                      "type": "string",
                      "title": "Type"
                    },
                    "owner": {
                      "enum": [
                        "person1",
                        "person2"
                      ],
                      "type": "string",
                      "title": "Owner"
                    },
                    "balance": {
                      "type": "number",
                      "title": "Balance"
                    }
                  },
                  "additionalProperties": false
                },
                "title": "Accounts",
                "maxItems": 20,
                "minItems": 1
              },
              "essential": {
                "type": [
                  "number",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "number",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Essential",
                "description": "floor_ceiling and yale only: the yearly spending that never flexes, in today's dollars a YEAR, at most withdrawal_amount; the rest can be cut in bad years. Left out, it is the plan builder's default, the smaller of $35,000 and withdrawal_amount. Null is the only value for constant_dollar; under floor_ceiling or yale null makes the WHOLE spending the floor, so none of it flexes."
              },
              "floor_pct": {
                "type": "number",
                "title": "Floor Pct",
                "maximum": 1,
                "minimum": 0,
                "description": "floor_ceiling only: the largest yearly cut in real spending, as a FRACTION 0-1 (0.025 means spending can fall at most 2.5% a year below inflation)."
              },
              "plan_name": {
                "type": "string",
                "title": "Plan Name",
                "description": "A short name for this scenario as the person would recognise it, e.g. 'CPP at 70' or 'Retire at 60'. Name each option differently when comparing."
              },
              "allocation": {
                "type": "object",
                "title": "AllocationInput",
                "properties": {
                  "cash": {
                    "type": "number",
                    "title": "Cash",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "bonds": {
                    "type": "number",
                    "title": "Bonds",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "domestic": {
                    "type": "number",
                    "title": "Domestic",
                    "maximum": 1,
                    "minimum": 0
                  },
                  "international": {
                    "type": "number",
                    "title": "International",
                    "maximum": 1,
                    "minimum": 0
                  }
                },
                "additionalProperties": false
              },
              "ceiling_pct": {
                "type": "number",
                "title": "Ceiling Pct",
                "maximum": 1,
                "minimum": 0,
                "description": "floor_ceiling only: the largest yearly raise in real spending, as a FRACTION 0-1 (0.05 means spending can rise at most 5% a year above inflation)."
              },
              "life_events": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "LifeEventItem",
                  "required": [
                    "type",
                    "year",
                    "amount",
                    "name",
                    "owner"
                  ],
                  "properties": {
                    "name": {
                      "type": "string",
                      "title": "Name"
                    },
                    "type": {
                      "type": "string",
                      "title": "Type",
                      "description": "lump_sum_income (money received, e.g. an inheritance or a home sale) or lump_sum_withdrawal (a one-off expense, e.g. a car or a roof)."
                    },
                    "year": {
                      "type": "integer",
                      "title": "Year"
                    },
                    "owner": {
                      "enum": [
                        "person1",
                        "person2"
                      ],
                      "type": "string",
                      "title": "Owner",
                      "description": "Whose event it is: person1, or person2 when the partner is in the plan."
                    },
                    "amount": {
                      "type": "number",
                      "title": "Amount",
                      "description": "The one-off amount in dollars, zero or more, as of the event's year: not adjusted for inflation. type says whether it comes in or goes out."
                    }
                  },
                  "additionalProperties": false
                },
                "title": "Life Events",
                "maxItems": 20
              },
              "random_seed": {
                "type": [
                  "integer",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "integer",
                    "minimum": 0
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Random Seed",
                "description": "Seed for the simulated market paths. A fresh plan fixes it, so runs and comparisons use the same market paths; null draws fresh paths on each new run (the same run_plan call again within 15 minutes returns the earlier run)."
              },
              "block_length": {
                "type": "integer",
                "title": "Block Length",
                "maximum": 600,
                "minimum": 1,
                "description": "Length in MONTHS of each run of consecutive market history the simulation samples (120 means 10 years). Longer blocks keep more of history's long good and bad spells."
              },
              "yale_smoothing": {
                "type": "number",
                "title": "Yale Smoothing",
                "maximum": 1,
                "minimum": 0,
                "description": "yale only: the weight, as a FRACTION 0-1, on last year's spending grown with inflation; the rest follows the portfolio's value. 1 behaves like constant_dollar, 0 like a fixed percentage of the portfolio."
              },
              "resident_country": {
                "enum": [
                  "CAN",
                  "USA",
                  "INTL"
                ],
                "type": "string",
                "title": "Resident Country"
              },
              "withdrawal_amount": {
                "type": "number",
                "title": "Withdrawal Amount",
                "description": "Annual spending in today's dollars, after tax, from all sources (benefits, pensions, other income, investment income and withdrawals); not the portfolio withdrawal. Under floor_ceiling and yale it is the first year's spending, which then moves with the portfolio."
              },
              "withdrawal_strategy": {
                "enum": [
                  "constant_dollar",
                  "floor_ceiling",
                  "yale"
                ],
                "type": "string",
                "title": "Withdrawal Strategy"
              }
            },
            "additionalProperties": false
          },
          "outputSchema": {
            "type": "object",
            "title": "PlanSummary",
            "required": [
              "summary",
              "horizon_mode",
              "success_probability",
              "n_simulations",
              "start_age",
              "plan_to_age",
              "end_ages",
              "plan_end_year",
              "horizon_years",
              "horizon_stats",
              "median_failure_age",
              "first_retirement_year",
              "lifetime_taxes",
              "benefits",
              "benefits_after_plan_end",
              "household_totals",
              "taxes_modelled",
              "wealth_at_ages",
              "wealth_at_end_of_life",
              "assumptions",
              "runs_used",
              "runs_limit",
              "runs_left",
              "runs_window",
              "reused_run_started_at",
              "plan_url",
              "not_advice",
              "data_attribution"
            ],
            "properties": {
              "summary": {
                "type": "string",
                "title": "Summary"
              },
              "benefits": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "BenefitIncome",
                  "required": [
                    "source",
                    "start_ages",
                    "amounts",
                    "lifetime_total"
                  ],
                  "properties": {
                    "source": {
                      "type": "string",
                      "title": "Source"
                    },
                    "amounts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "title": "AmountFrom",
                        "required": [
                          "calendar_year",
                          "annual_amount",
                          "events"
                        ],
                        "properties": {
                          "events": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "title": "ClaimEvent",
                              "required": [
                                "person",
                                "change",
                                "age"
                              ],
                              "properties": {
                                "age": {
                                  "type": "number",
                                  "title": "Age"
                                },
                                "change": {
                                  "enum": [
                                    "starts",
                                    "ends",
                                    "plan ends"
                                  ],
                                  "type": "string",
                                  "title": "ClaimChange"
                                },
                                "person": {
                                  "type": "string",
                                  "title": "Person"
                                }
                              },
                              "description": "A claim starting, a pension with an end age stopping, or a person's own fixed\nhorizon ending (which stops all their income), at that person's age."
                            },
                            "title": "Events"
                          },
                          "annual_amount": {
                            "type": "integer",
                            "title": "Annual Amount",
                            "description": "The household's amount that year, in today's dollars (mean across paths). It holds until the next event, except that an unindexed pension falls in today's dollars each year and a benefit that steps up at an age rises then."
                          },
                          "calendar_year": {
                            "type": "integer",
                            "title": "Calendar Year"
                          }
                        },
                        "description": "The source's household amount from a calendar year on, until the next event."
                      },
                      "title": "Amounts"
                    },
                    "start_ages": {
                      "type": "object",
                      "title": "Start Ages",
                      "additionalProperties": {
                        "type": "number"
                      }
                    },
                    "lifetime_total": {
                      "type": "integer",
                      "title": "Lifetime Total"
                    }
                  },
                  "description": "One benefit program, or all employer pensions together, paid within the plan.\n\n`start_ages` maps each claimant paid within the plan (person label) to their start\nage (their earliest, for pensions). `amounts` is the household's amount from each year\na claim starts, a pension ends or a claimant's own fixed horizon ends, in order."
                },
                "title": "Benefits"
              },
              "end_ages": {
                "type": [
                  "object",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "type": "integer"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "End Ages",
                "description": "Fixed horizon: each person's age at the end of their own horizon, by person label. Null under life expectancy."
              },
              "plan_url": {
                "type": "string",
                "title": "Plan Url",
                "description": "Link to the saved plan on the site, with the year-by-year detail: give it to the person."
              },
              "runs_left": {
                "type": "integer",
                "title": "Runs Left"
              },
              "runs_used": {
                "type": "integer",
                "title": "Runs Used"
              },
              "start_age": {
                "type": "integer",
                "title": "Start Age"
              },
              "not_advice": {
                "type": "string",
                "title": "Not Advice"
              },
              "runs_limit": {
                "type": "integer",
                "title": "Runs Limit"
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "Assumption",
                  "required": [
                    "field",
                    "value"
                  ],
                  "properties": {
                    "field": {
                      "type": "string",
                      "title": "Field"
                    },
                    "value": {
                      "title": "Value"
                    }
                  }
                },
                "title": "Assumptions"
              },
              "plan_to_age": {
                "type": [
                  "integer",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Plan To Age",
                "description": "Fixed horizon, one person: their age at plan end. Null for a couple, whose partners plan to their own ages (see end_ages), and under life expectancy, where each path ends at its own sampled death."
              },
              "runs_window": {
                "enum": [
                  "year",
                  "month"
                ],
                "type": "string",
                "title": "RunWindow",
                "description": "The period runs_used and runs_limit count over: a year on the Free plan, a calendar month on Pro."
              },
              "horizon_mode": {
                "enum": [
                  "fixed",
                  "life_expectancy"
                ],
                "type": "string",
                "title": "HorizonMode",
                "description": "A person's horizon, and the household's: life expectancy when anyone in the plan\nis on it."
              },
              "horizon_stats": {
                "type": [
                  "object",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "object",
                    "title": "HorizonStats",
                    "required": [
                      "mean_years",
                      "median_years",
                      "min_years",
                      "max_years"
                    ],
                    "properties": {
                      "max_years": {
                        "type": "integer",
                        "title": "Max Years"
                      },
                      "min_years": {
                        "type": "integer",
                        "title": "Min Years"
                      },
                      "mean_years": {
                        "type": "number",
                        "title": "Mean Years"
                      },
                      "median_years": {
                        "type": "integer",
                        "title": "Median Years"
                      }
                    },
                    "description": "How long the simulated paths ran, in years from the start: each ends when the last\nperson in the plan dies, or at a fixed-horizon partner's plan end if that is later."
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Life expectancy: the spread of simulated lifetimes. Null on a fixed horizon."
              },
              "horizon_years": {
                "type": [
                  "integer",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Horizon Years",
                "description": "Fixed horizon: the plan's length in years (a couple's longer horizon). Null under life expectancy; see horizon_stats."
              },
              "n_simulations": {
                "type": "integer",
                "title": "N Simulations"
              },
              "plan_end_year": {
                "type": [
                  "integer",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Plan End Year",
                "description": "Fixed horizon: the calendar year the plan ends, at the end of the longest horizon. Null under life expectancy."
              },
              "lifetime_taxes": {
                "type": "object",
                "title": "Taxes",
                "required": [
                  "federal",
                  "provincial_or_state",
                  "clawback"
                ],
                "properties": {
                  "federal": {
                    "type": "integer",
                    "title": "Federal"
                  },
                  "clawback": {
                    "type": "integer",
                    "title": "Clawback"
                  },
                  "provincial_or_state": {
                    "type": "integer",
                    "title": "Provincial Or State"
                  }
                },
                "description": "Income tax over the whole plan: each path's total, as a mean over the paths (not a median), in today's dollars, the OAS clawback included as its own line."
              },
              "taxes_modelled": {
                "type": "boolean",
                "title": "Taxes Modelled"
              },
              "wealth_at_ages": {
                "type": [
                  "array",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "title": "WealthAtAge",
                      "required": [
                        "p10",
                        "median",
                        "p90",
                        "ages",
                        "calendar_year"
                      ],
                      "properties": {
                        "p10": {
                          "type": "integer",
                          "title": "P10"
                        },
                        "p90": {
                          "type": "integer",
                          "title": "P90"
                        },
                        "ages": {
                          "type": "object",
                          "title": "Ages",
                          "description": "Each person's age that year, by person label; a partner whose own horizon has ended is left out.",
                          "additionalProperties": {
                            "type": "integer"
                          }
                        },
                        "median": {
                          "type": "integer",
                          "title": "Median"
                        },
                        "calendar_year": {
                          "type": "integer",
                          "title": "Calendar Year"
                        }
                      },
                      "description": "Portfolio value percentiles at the start of a calendar year."
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Wealth At Ages",
                "description": "Fixed horizon: portfolio value at retirement, each year the first person's age is a multiple of 10, and plan end. Null under life expectancy; see wealth_at_end_of_life."
              },
              "data_attribution": {
                "type": "string",
                "title": "Data Attribution"
              },
              "household_totals": {
                "type": "boolean",
                "title": "Household Totals",
                "description": "True for a couple: benefit and pension amounts cover both partners together."
              },
              "median_failure_age": {
                "type": [
                  "integer",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Median Failure Age",
                "description": "The first person's age in the median year money ran out; null when no path ran out."
              },
              "success_probability": {
                "type": "number",
                "title": "Success Probability"
              },
              "first_retirement_year": {
                "type": "object",
                "title": "FirstRetirementYear",
                "required": [
                  "calendar_year",
                  "age",
                  "taxes",
                  "benefits_and_pensions",
                  "employment_income",
                  "portfolio_withdrawals",
                  "withdrawals_by_account",
                  "taxable_income",
                  "investment_income",
                  "reinvested",
                  "spending"
                ],
                "properties": {
                  "age": {
                    "type": "integer",
                    "title": "Age"
                  },
                  "taxes": {
                    "type": "object",
                    "title": "Taxes",
                    "required": [
                      "federal",
                      "provincial_or_state",
                      "clawback"
                    ],
                    "properties": {
                      "federal": {
                        "type": "integer",
                        "title": "Federal"
                      },
                      "clawback": {
                        "type": "integer",
                        "title": "Clawback"
                      },
                      "provincial_or_state": {
                        "type": "integer",
                        "title": "Provincial Or State"
                      }
                    },
                    "description": "Income tax that year, averaged over the paths."
                  },
                  "spending": {
                    "type": "integer",
                    "title": "Spending",
                    "description": "What the household spends that year (the plan's Net spendable): benefits_and_pensions + employment_income + portfolio_withdrawals + investment_income - taxes - reinvested."
                  },
                  "reinvested": {
                    "type": "integer",
                    "title": "Reinvested",
                    "description": "Income left after tax and spending, put back into the portfolio, plus the yield that stays inside sheltered accounts (the plan's Reinvested)."
                  },
                  "calendar_year": {
                    "type": "integer",
                    "title": "Calendar Year"
                  },
                  "taxable_income": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Taxable Income",
                    "description": "Household income the tax brackets were applied to that year: benefits, pensions, employment income, interest, dividends (Canadian eligible dividends grossed up), the taxable part of realized capital gains and RRSP/RRIF or traditional 401(k)/IRA withdrawals, less deducted contributions. TFSA and Roth withdrawals are not in it. The engine applies these after it, so they lower the tax but not this figure: in Canada the basic personal, age and pension income amounts, the dividend tax credit, provincial tax reductions and surtax, and the OAS recovery tax; in the US the standard deduction (with its age-65 addition and the 2025-2028 senior deduction) and the Social Security exclusion (Social Security counts here in full), with qualified dividends and long-term gains taxed at their own rates. Null for a run saved before this figure existed."
                  },
                  "employment_income": {
                    "type": "integer",
                    "title": "Employment Income",
                    "description": "Employment and other income the plan lists (the plan's Income band)."
                  },
                  "investment_income": {
                    "type": "integer",
                    "title": "Investment Income",
                    "description": "Dividends and interest earned in every account (the plan's Dividends & interest). The part earned inside sheltered accounts (RRSP, TFSA, 401(k), IRA) stays there and is counted again in reinvested."
                  },
                  "benefits_and_pensions": {
                    "type": "integer",
                    "title": "Benefits And Pensions",
                    "description": "Government benefits and employer pensions paid that year."
                  },
                  "portfolio_withdrawals": {
                    "type": "integer",
                    "title": "Portfolio Withdrawals",
                    "description": "Withdrawals from accounts (the plan's Portfolio withdrawals). Excludes dividends and interest, which also fund spending: see investment_income."
                  },
                  "withdrawals_by_account": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": {
                          "type": "integer"
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Withdrawals By Account",
                    "description": "portfolio_withdrawals split by account type, keyed by the plan's own account types (RRSP includes its RRIF years); every account the plan holds is listed, 0 where nothing was drawn, and the parts sum to portfolio_withdrawals. Null for a run saved before this breakdown existed."
                  }
                },
                "description": "The first calendar year in which everyone in the plan is retired.\n\nUnder a life-expectancy horizon the amounts are means over the paths still running\nthat year, as the plan's year-by-year chart shows them."
              },
              "reused_run_started_at": {
                "type": [
                  "string",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Reused Run Started At",
                "description": "Set when this answer reused an identical run of the same inputs from this assistant in the last 15 minutes: when that run started. Nothing was charged for this call, so runs_used is unchanged by it. Null for a run of its own."
              },
              "wealth_at_end_of_life": {
                "type": [
                  "object",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "object",
                    "title": "WealthPercentiles",
                    "required": [
                      "p10",
                      "median",
                      "p90"
                    ],
                    "properties": {
                      "p10": {
                        "type": "integer",
                        "title": "P10"
                      },
                      "p90": {
                        "type": "integer",
                        "title": "P90"
                      },
                      "median": {
                        "type": "integer",
                        "title": "Median"
                      }
                    },
                    "description": "Portfolio value percentiles across paths, in today's dollars."
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Life expectancy: portfolio value when each path ends (the last person's death, or a fixed-horizon partner's plan end if later). Null on a fixed horizon."
              },
              "benefits_after_plan_end": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "BenefitAfterPlanEnd",
                  "required": [
                    "source",
                    "start_ages",
                    "start_years",
                    "last_plan_years"
                  ],
                  "properties": {
                    "source": {
                      "type": "string",
                      "title": "Source"
                    },
                    "start_ages": {
                      "type": "object",
                      "title": "Start Ages",
                      "additionalProperties": {
                        "type": "number"
                      }
                    },
                    "start_years": {
                      "type": "object",
                      "title": "Start Years",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    },
                    "last_plan_years": {
                      "type": "object",
                      "title": "Last Plan Years",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    }
                  },
                  "description": "Claims on a source that start after the claimant's last plan year, so none of it\nis paid.\n\n`start_years` is the calendar year each claimant would first collect, and\n`last_plan_years` their last year in the plan: their own fixed horizon's, else the\nplan's."
                },
                "title": "Benefits After Plan End"
              }
            },
            "description": "The `run_plan` tool's structured output."
          },
          "annotations": {
            "title": "Run a retirement plan",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "get_plan_result",
          "title": "Get a plan result",
          "description": "Gets the result of a Foresight Planner plan that run_plan started but that was still running when run_plan answered. Pass the run_id run_plan gave. Free: it uses no plan run. If the plan is still running, it says so; call it again a little later.",
          "inputSchema": {
            "type": "object",
            "title": "get_plan_result_toolArguments",
            "required": [
              "run_id"
            ],
            "properties": {
              "run_id": {
                "type": "string",
                "title": "Run Id",
                "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$",
                "description": "The run_id run_plan gave."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "PlanSummary",
            "required": [
              "summary",
              "horizon_mode",
              "success_probability",
              "n_simulations",
              "start_age",
              "plan_to_age",
              "end_ages",
              "plan_end_year",
              "horizon_years",
              "horizon_stats",
              "median_failure_age",
              "first_retirement_year",
              "lifetime_taxes",
              "benefits",
              "benefits_after_plan_end",
              "household_totals",
              "taxes_modelled",
              "wealth_at_ages",
              "wealth_at_end_of_life",
              "assumptions",
              "runs_used",
              "runs_limit",
              "runs_left",
              "runs_window",
              "reused_run_started_at",
              "plan_url",
              "not_advice",
              "data_attribution"
            ],
            "properties": {
              "summary": {
                "type": "string",
                "title": "Summary"
              },
              "benefits": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "BenefitIncome",
                  "required": [
                    "source",
                    "start_ages",
                    "amounts",
                    "lifetime_total"
                  ],
                  "properties": {
                    "source": {
                      "type": "string",
                      "title": "Source"
                    },
                    "amounts": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "title": "AmountFrom",
                        "required": [
                          "calendar_year",
                          "annual_amount",
                          "events"
                        ],
                        "properties": {
                          "events": {
                            "type": "array",
                            "items": {
                              "type": "object",
                              "title": "ClaimEvent",
                              "required": [
                                "person",
                                "change",
                                "age"
                              ],
                              "properties": {
                                "age": {
                                  "type": "number",
                                  "title": "Age"
                                },
                                "change": {
                                  "enum": [
                                    "starts",
                                    "ends",
                                    "plan ends"
                                  ],
                                  "type": "string",
                                  "title": "ClaimChange"
                                },
                                "person": {
                                  "type": "string",
                                  "title": "Person"
                                }
                              },
                              "description": "A claim starting, a pension with an end age stopping, or a person's own fixed\nhorizon ending (which stops all their income), at that person's age."
                            },
                            "title": "Events"
                          },
                          "annual_amount": {
                            "type": "integer",
                            "title": "Annual Amount",
                            "description": "The household's amount that year, in today's dollars (mean across paths). It holds until the next event, except that an unindexed pension falls in today's dollars each year and a benefit that steps up at an age rises then."
                          },
                          "calendar_year": {
                            "type": "integer",
                            "title": "Calendar Year"
                          }
                        },
                        "description": "The source's household amount from a calendar year on, until the next event."
                      },
                      "title": "Amounts"
                    },
                    "start_ages": {
                      "type": "object",
                      "title": "Start Ages",
                      "additionalProperties": {
                        "type": "number"
                      }
                    },
                    "lifetime_total": {
                      "type": "integer",
                      "title": "Lifetime Total"
                    }
                  },
                  "description": "One benefit program, or all employer pensions together, paid within the plan.\n\n`start_ages` maps each claimant paid within the plan (person label) to their start\nage (their earliest, for pensions). `amounts` is the household's amount from each year\na claim starts, a pension ends or a claimant's own fixed horizon ends, in order."
                },
                "title": "Benefits"
              },
              "end_ages": {
                "type": [
                  "object",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "object",
                    "additionalProperties": {
                      "type": "integer"
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "End Ages",
                "description": "Fixed horizon: each person's age at the end of their own horizon, by person label. Null under life expectancy."
              },
              "plan_url": {
                "type": "string",
                "title": "Plan Url",
                "description": "Link to the saved plan on the site, with the year-by-year detail: give it to the person."
              },
              "runs_left": {
                "type": "integer",
                "title": "Runs Left"
              },
              "runs_used": {
                "type": "integer",
                "title": "Runs Used"
              },
              "start_age": {
                "type": "integer",
                "title": "Start Age"
              },
              "not_advice": {
                "type": "string",
                "title": "Not Advice"
              },
              "runs_limit": {
                "type": "integer",
                "title": "Runs Limit"
              },
              "assumptions": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "Assumption",
                  "required": [
                    "field",
                    "value"
                  ],
                  "properties": {
                    "field": {
                      "type": "string",
                      "title": "Field"
                    },
                    "value": {
                      "title": "Value"
                    }
                  }
                },
                "title": "Assumptions"
              },
              "plan_to_age": {
                "type": [
                  "integer",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Plan To Age",
                "description": "Fixed horizon, one person: their age at plan end. Null for a couple, whose partners plan to their own ages (see end_ages), and under life expectancy, where each path ends at its own sampled death."
              },
              "runs_window": {
                "enum": [
                  "year",
                  "month"
                ],
                "type": "string",
                "title": "RunWindow",
                "description": "The period runs_used and runs_limit count over: a year on the Free plan, a calendar month on Pro."
              },
              "horizon_mode": {
                "enum": [
                  "fixed",
                  "life_expectancy"
                ],
                "type": "string",
                "title": "HorizonMode",
                "description": "A person's horizon, and the household's: life expectancy when anyone in the plan\nis on it."
              },
              "horizon_stats": {
                "type": [
                  "object",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "object",
                    "title": "HorizonStats",
                    "required": [
                      "mean_years",
                      "median_years",
                      "min_years",
                      "max_years"
                    ],
                    "properties": {
                      "max_years": {
                        "type": "integer",
                        "title": "Max Years"
                      },
                      "min_years": {
                        "type": "integer",
                        "title": "Min Years"
                      },
                      "mean_years": {
                        "type": "number",
                        "title": "Mean Years"
                      },
                      "median_years": {
                        "type": "integer",
                        "title": "Median Years"
                      }
                    },
                    "description": "How long the simulated paths ran, in years from the start: each ends when the last\nperson in the plan dies, or at a fixed-horizon partner's plan end if that is later."
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Life expectancy: the spread of simulated lifetimes. Null on a fixed horizon."
              },
              "horizon_years": {
                "type": [
                  "integer",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Horizon Years",
                "description": "Fixed horizon: the plan's length in years (a couple's longer horizon). Null under life expectancy; see horizon_stats."
              },
              "n_simulations": {
                "type": "integer",
                "title": "N Simulations"
              },
              "plan_end_year": {
                "type": [
                  "integer",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Plan End Year",
                "description": "Fixed horizon: the calendar year the plan ends, at the end of the longest horizon. Null under life expectancy."
              },
              "lifetime_taxes": {
                "type": "object",
                "title": "Taxes",
                "required": [
                  "federal",
                  "provincial_or_state",
                  "clawback"
                ],
                "properties": {
                  "federal": {
                    "type": "integer",
                    "title": "Federal"
                  },
                  "clawback": {
                    "type": "integer",
                    "title": "Clawback"
                  },
                  "provincial_or_state": {
                    "type": "integer",
                    "title": "Provincial Or State"
                  }
                },
                "description": "Income tax over the whole plan: each path's total, as a mean over the paths (not a median), in today's dollars, the OAS clawback included as its own line."
              },
              "taxes_modelled": {
                "type": "boolean",
                "title": "Taxes Modelled"
              },
              "wealth_at_ages": {
                "type": [
                  "array",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "array",
                    "items": {
                      "type": "object",
                      "title": "WealthAtAge",
                      "required": [
                        "p10",
                        "median",
                        "p90",
                        "ages",
                        "calendar_year"
                      ],
                      "properties": {
                        "p10": {
                          "type": "integer",
                          "title": "P10"
                        },
                        "p90": {
                          "type": "integer",
                          "title": "P90"
                        },
                        "ages": {
                          "type": "object",
                          "title": "Ages",
                          "description": "Each person's age that year, by person label; a partner whose own horizon has ended is left out.",
                          "additionalProperties": {
                            "type": "integer"
                          }
                        },
                        "median": {
                          "type": "integer",
                          "title": "Median"
                        },
                        "calendar_year": {
                          "type": "integer",
                          "title": "Calendar Year"
                        }
                      },
                      "description": "Portfolio value percentiles at the start of a calendar year."
                    }
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Wealth At Ages",
                "description": "Fixed horizon: portfolio value at retirement, each year the first person's age is a multiple of 10, and plan end. Null under life expectancy; see wealth_at_end_of_life."
              },
              "data_attribution": {
                "type": "string",
                "title": "Data Attribution"
              },
              "household_totals": {
                "type": "boolean",
                "title": "Household Totals",
                "description": "True for a couple: benefit and pension amounts cover both partners together."
              },
              "median_failure_age": {
                "type": [
                  "integer",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "integer"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Median Failure Age",
                "description": "The first person's age in the median year money ran out; null when no path ran out."
              },
              "success_probability": {
                "type": "number",
                "title": "Success Probability"
              },
              "first_retirement_year": {
                "type": "object",
                "title": "FirstRetirementYear",
                "required": [
                  "calendar_year",
                  "age",
                  "taxes",
                  "benefits_and_pensions",
                  "employment_income",
                  "portfolio_withdrawals",
                  "withdrawals_by_account",
                  "taxable_income",
                  "investment_income",
                  "reinvested",
                  "spending"
                ],
                "properties": {
                  "age": {
                    "type": "integer",
                    "title": "Age"
                  },
                  "taxes": {
                    "type": "object",
                    "title": "Taxes",
                    "required": [
                      "federal",
                      "provincial_or_state",
                      "clawback"
                    ],
                    "properties": {
                      "federal": {
                        "type": "integer",
                        "title": "Federal"
                      },
                      "clawback": {
                        "type": "integer",
                        "title": "Clawback"
                      },
                      "provincial_or_state": {
                        "type": "integer",
                        "title": "Provincial Or State"
                      }
                    },
                    "description": "Income tax that year, averaged over the paths."
                  },
                  "spending": {
                    "type": "integer",
                    "title": "Spending",
                    "description": "What the household spends that year (the plan's Net spendable): benefits_and_pensions + employment_income + portfolio_withdrawals + investment_income - taxes - reinvested."
                  },
                  "reinvested": {
                    "type": "integer",
                    "title": "Reinvested",
                    "description": "Income left after tax and spending, put back into the portfolio, plus the yield that stays inside sheltered accounts (the plan's Reinvested)."
                  },
                  "calendar_year": {
                    "type": "integer",
                    "title": "Calendar Year"
                  },
                  "taxable_income": {
                    "type": [
                      "integer",
                      "null"
                    ],
                    "anyOf": [
                      {
                        "type": "integer"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Taxable Income",
                    "description": "Household income the tax brackets were applied to that year: benefits, pensions, employment income, interest, dividends (Canadian eligible dividends grossed up), the taxable part of realized capital gains and RRSP/RRIF or traditional 401(k)/IRA withdrawals, less deducted contributions. TFSA and Roth withdrawals are not in it. The engine applies these after it, so they lower the tax but not this figure: in Canada the basic personal, age and pension income amounts, the dividend tax credit, provincial tax reductions and surtax, and the OAS recovery tax; in the US the standard deduction (with its age-65 addition and the 2025-2028 senior deduction) and the Social Security exclusion (Social Security counts here in full), with qualified dividends and long-term gains taxed at their own rates. Null for a run saved before this figure existed."
                  },
                  "employment_income": {
                    "type": "integer",
                    "title": "Employment Income",
                    "description": "Employment and other income the plan lists (the plan's Income band)."
                  },
                  "investment_income": {
                    "type": "integer",
                    "title": "Investment Income",
                    "description": "Dividends and interest earned in every account (the plan's Dividends & interest). The part earned inside sheltered accounts (RRSP, TFSA, 401(k), IRA) stays there and is counted again in reinvested."
                  },
                  "benefits_and_pensions": {
                    "type": "integer",
                    "title": "Benefits And Pensions",
                    "description": "Government benefits and employer pensions paid that year."
                  },
                  "portfolio_withdrawals": {
                    "type": "integer",
                    "title": "Portfolio Withdrawals",
                    "description": "Withdrawals from accounts (the plan's Portfolio withdrawals). Excludes dividends and interest, which also fund spending: see investment_income."
                  },
                  "withdrawals_by_account": {
                    "type": [
                      "object",
                      "null"
                    ],
                    "anyOf": [
                      {
                        "type": "object",
                        "additionalProperties": {
                          "type": "integer"
                        }
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "title": "Withdrawals By Account",
                    "description": "portfolio_withdrawals split by account type, keyed by the plan's own account types (RRSP includes its RRIF years); every account the plan holds is listed, 0 where nothing was drawn, and the parts sum to portfolio_withdrawals. Null for a run saved before this breakdown existed."
                  }
                },
                "description": "The first calendar year in which everyone in the plan is retired.\n\nUnder a life-expectancy horizon the amounts are means over the paths still running\nthat year, as the plan's year-by-year chart shows them."
              },
              "reused_run_started_at": {
                "type": [
                  "string",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "string",
                    "format": "date-time"
                  },
                  {
                    "type": "null"
                  }
                ],
                "title": "Reused Run Started At",
                "description": "Set when this answer reused an identical run of the same inputs from this assistant in the last 15 minutes: when that run started. Nothing was charged for this call, so runs_used is unchanged by it. Null for a run of its own."
              },
              "wealth_at_end_of_life": {
                "type": [
                  "object",
                  "null"
                ],
                "anyOf": [
                  {
                    "type": "object",
                    "title": "WealthPercentiles",
                    "required": [
                      "p10",
                      "median",
                      "p90"
                    ],
                    "properties": {
                      "p10": {
                        "type": "integer",
                        "title": "P10"
                      },
                      "p90": {
                        "type": "integer",
                        "title": "P90"
                      },
                      "median": {
                        "type": "integer",
                        "title": "Median"
                      }
                    },
                    "description": "Portfolio value percentiles across paths, in today's dollars."
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Life expectancy: portfolio value when each path ends (the last person's death, or a fixed-horizon partner's plan end if later). Null on a fixed horizon."
              },
              "benefits_after_plan_end": {
                "type": "array",
                "items": {
                  "type": "object",
                  "title": "BenefitAfterPlanEnd",
                  "required": [
                    "source",
                    "start_ages",
                    "start_years",
                    "last_plan_years"
                  ],
                  "properties": {
                    "source": {
                      "type": "string",
                      "title": "Source"
                    },
                    "start_ages": {
                      "type": "object",
                      "title": "Start Ages",
                      "additionalProperties": {
                        "type": "number"
                      }
                    },
                    "start_years": {
                      "type": "object",
                      "title": "Start Years",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    },
                    "last_plan_years": {
                      "type": "object",
                      "title": "Last Plan Years",
                      "additionalProperties": {
                        "type": "integer"
                      }
                    }
                  },
                  "description": "Claims on a source that start after the claimant's last plan year, so none of it\nis paid.\n\n`start_years` is the calendar year each claimant would first collect, and\n`last_plan_years` their last year in the plan: their own fixed horizon's, else the\nplan's."
                },
                "title": "Benefits After Plan End"
              }
            },
            "description": "The `run_plan` tool's structured output."
          },
          "annotations": {
            "title": "Get a plan result",
            "readOnlyHint": true,
            "openWorldHint": false,
            "destructiveHint": false
          }
        },
        {
          "name": "send_feedback",
          "title": "Send feedback to Foresight Planner",
          "description": "Send a bug report or feature request to Foresight Planner. Use when the user asks to send feedback, raises a problem with Foresight Planner, when a Foresight Planner tool in this conversation failed or returned something inconsistent, or when the user asked for something Foresight Planner's tools could not do. After completing the user's request, offer once. Show the user the exact text and call this only after they approve it. Describe the tool's behaviour or the missing capability in general terms; leave out personal financial details unless the user adds them.",
          "inputSchema": {
            "type": "object",
            "title": "send_feedbackArguments",
            "required": [
              "category",
              "message",
              "origin"
            ],
            "properties": {
              "origin": {
                "enum": [
                  "user",
                  "assistant"
                ],
                "type": "string",
                "title": "FeedbackOrigin",
                "description": "Who identified the issue: the user, or the assistant."
              },
              "message": {
                "type": "string",
                "title": "Message",
                "maxLength": 2000,
                "minLength": 1,
                "description": "The exact text the user approved, in plain words."
              },
              "category": {
                "enum": [
                  "bug",
                  "feature_request"
                ],
                "type": "string",
                "title": "FeedbackCategory",
                "description": "bug, or feature_request for a missing capability."
              }
            }
          },
          "outputSchema": {
            "type": "object",
            "title": "send_feedbackOutput",
            "required": [
              "result"
            ],
            "properties": {
              "result": {
                "type": "string",
                "title": "Result"
              }
            }
          },
          "annotations": {
            "title": "Send feedback to Foresight Planner",
            "readOnlyHint": false,
            "openWorldHint": false,
            "destructiveHint": false
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": []
    },
    "instructions": "Foresight Planner checks whether retirement savings are likely to last, using simulations built from more than a century of global market history. Use retirement_quick_check for a quick answer; send people to the full plan for taxes, CPP/OAS, pensions and anything personal."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}