{
  "schemaVersion": "2025-06-18",
  "name": "Medicare Plan Finder WebMCP (demo)",
  "description": "Live Medicare Advantage plan + cost tools for browsing AI agents. SAA Pillar-4 reference build.",
  "endpoint": "https://medicare-atx.pages.dev/mcp",
  "transport": "http",
  "documentation": "https://medicare-atx.pages.dev/",
  "tools": [
    {
      "name": "medicare_plan_finder",
      "description": "Find and rank Medicare Advantage (Part C) plans with drug coverage by ZIP. Instant preview shows how many plans serve the ZIP, the lowest premium, and the top-rated plan. Pass `email` to unlock the full ranked table. Real CMS PY2026 Landscape data.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "zip": {
            "type": "string",
            "description": "5-digit ZIP code"
          },
          "email": {
            "type": "string",
            "description": "Email to unlock the full ranked report"
          }
        },
        "required": [
          "zip"
        ]
      }
    },
    {
      "name": "medicare_compare_plans",
      "description": "Compare 2–5 Medicare Advantage plans side by side by ContractPlanID (from medicare_plan_finder).",
      "inputSchema": {
        "type": "object",
        "properties": {
          "plan_ids": {
            "type": "array",
            "items": {
              "type": "string"
            }
          }
        },
        "required": [
          "plan_ids"
        ]
      }
    },
    {
      "name": "irmaa_calculator",
      "description": "Estimate your Medicare IRMAA — the income-related surcharge on Part B & Part D. Preview shows your tier and Part B monthly premium; pass `email` for the full surcharge + annual breakdown.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "income": {
            "type": "number",
            "description": "Modified adjusted gross income (MAGI), USD"
          },
          "filing": {
            "type": "string",
            "enum": [
              "single",
              "married"
            ],
            "description": "Tax filing status"
          },
          "email": {
            "type": "string",
            "description": "Email to unlock the full report"
          }
        },
        "required": [
          "income"
        ]
      }
    },
    {
      "name": "medicare_eligibility",
      "description": "Find your Medicare Initial Enrollment Period (IEP) from your birth month/year. Preview shows when you turn 65 and your enrollment window; pass `email` for the full timing + penalty-avoidance plan.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "birth_month": {
            "type": "integer",
            "description": "1-12"
          },
          "birth_year": {
            "type": "integer",
            "description": "e.g. 1961"
          },
          "email": {
            "type": "string",
            "description": "Email to unlock the full report"
          }
        },
        "required": [
          "birth_month",
          "birth_year"
        ]
      }
    },
    {
      "name": "part_b_penalty",
      "description": "Estimate the lifetime Part B late-enrollment penalty for enrolling late. Preview shows your penalty percentage; pass `email` for the monthly + lifetime dollar impact.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "months_late": {
            "type": "integer",
            "description": "Months you were eligible but not enrolled"
          },
          "email": {
            "type": "string",
            "description": "Email to unlock the full report"
          }
        },
        "required": [
          "months_late"
        ]
      }
    },
    {
      "name": "part_d_penalty",
      "description": "Estimate the Part D (drug coverage) late-enrollment penalty. Preview shows the monthly penalty; pass `email` for the annual impact and how to avoid it.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "months_late": {
            "type": "integer",
            "description": "Months without creditable drug coverage"
          },
          "email": {
            "type": "string",
            "description": "Email to unlock the full report"
          }
        },
        "required": [
          "months_late"
        ]
      }
    },
    {
      "name": "drug_cost_estimate",
      "description": "Estimate your annual out-of-pocket drug spend under the 2025 $2,000 Part D cap. Preview shows whether you'll hit the cap; pass `email` for the full breakdown.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "monthly_retail": {
            "type": "number",
            "description": "Approx. retail cost of your monthly prescriptions, USD"
          },
          "email": {
            "type": "string",
            "description": "Email to unlock the full report"
          }
        },
        "required": [
          "monthly_retail"
        ]
      }
    }
  ]
}