{
  "tool_id": "art-617-m3p-monthly-cap-calculator",
  "tool_version": "1.0.0",
  "display_name": "M3P Monthly Cap Calculator",
  "mcp_name": "compute_m3p_monthly_cap",
  "mandate_type": "payment_policy",
  "wave": 102,
  "gpu": false,
  "url": "https://ainumbers.co/tools/617-m3p-monthly-cap-calculator.html",
  "description": "Recomputes the Medicare Prescription Payment Plan (M3P) maximum monthly cap under 42 CFR 423.137(c)(1)(i) (first month of participation) and (c)(1)(ii) (every subsequent month), verified by exhaustive enumeration over the full declared cents/months domain (4,830,023 states). The annual out-of-pocket threshold is a plan-year-indexed CMS figure, carried as a keyed, source-digested policy parameter rather than a bare constant -- CY2026 is $2,100. Rounding is declared half-up-to-the-cent, since the regulation states no explicit rounding rule for the division step; the declaration is backed by three independent CMS-sourced worked examples and implemented with exact integer arithmetic, never floating-point division. A caller-declared numerator or months value outside the declared domain is rejected with a named reason, never clamped or silently coerced. Verify-only: recomputes the formula from caller-declared inputs, does not track a real enrollee's true out-of-pocket accumulation, does not enroll anyone in M3P, and does not assert that any actual participant's bill is correct.",
  "input_schema_ref": "tools/617-m3p-monthly-cap-calculator.html#manifest",
  "consumes": [],
  "feeds": [],
  "status": "live",
  "conformance_fixtures": true,
  "compute_capability": "server",
  "compute_images": [
    {
      "system": "sha256-source",
      "image_id": "sha256:de0f2c827ca03f8101c1cb008207a577cc171246ad97a09d1e966bb29c9efd38",
      "valid_from": "2026-08-16"
    },
    {
      "system": "risc0",
      "image_id": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
      "valid_from": "2026-08-16"
    }
  ],
  "export_capability": [
    "json"
  ],
  "standards_basis": "implements_standard",
  "cited_clause_digest": [
    {
      "digest": "sha256:884d7a32607752e5550c66f152673b413dfd6acbf7364bfd233dfcb46d821c61",
      "source_url": "https://www.govinfo.gov/content/pkg/CFR-2025-title42-vol3/xml/CFR-2025-title42-vol3-sec423-137.xml",
      "retrieved_at": "2026-08-16",
      "clause_path": "(c)(1)(i)-(ii)",
      "scheme": "cfr",
      "id": "42 CFR 423.137(c)(1)"
    }
  ],
  "compute_proof_ready": "ready",
  "compute_proof": {
    "type": "ZkVmReceipt",
    "system": "risc0",
    "receiptFormat": "groth16-bn254",
    "imageId": "sha256:a1a0bc89b5b1febaeda3519f6dbade0fa5ac16beeb143c4e1b01689573567bc6",
    "seal": "LUWXt4zriTMDVgbTBNrJ9vzuExLtFYgypruNREGfv7Um6P4/iJPtvMHTW4d731Rhb4hHqXatDLRG8IRS4w38bQ0Gv3wSzRSUBgacyR/gZN7ZcO6yWiLfEVun+LJyKUj3HLg4fGqc9jTI3tn7/8boroOdexYlD9H8J+W4ja5v9xknYvIc/fi1wiilM51ntDSdPMRmckk5fgXraTFfBBGelxRsHzlO6aRjMAc4u91FLMT4Jcfnxz4w5erFeqTAzeqYLGrbPYkI4zDK5daNOoKbw+QDBszcWvzuMj2avrfStVUGB2iiPnB+J8ZuAJBeFeRyK7/+3rDwuEN9M1iMloRx4w==",
    "journal": {
      "chaingraph_version": "0.4.0",
      "kernel_digest": "sha256:de0f2c827ca03f8101c1cb008207a577cc171246ad97a09d1e966bb29c9efd38",
      "output": {
        "annual_oop_threshold_cents": 210000,
        "annual_oop_threshold_source": "CMS Final CY 2026 Part D Redesign Program Instructions fact sheet",
        "annual_oop_threshold_source_digest": "sha256:6eb8797d77cf892afb41f9fb5be0889ccc7504e770f323f7295c66f3ee49ac2d",
        "branch": "subsequent_month",
        "cap_cents": 150000,
        "cap_dollars_display": "1500.00",
        "domain_errors": [],
        "months_remaining": 1,
        "note": "Verify-only recomputation of the CMS Medicare Prescription Payment Plan monthly cap formula from caller-declared inputs. It does not track a real enrollee's true out-of-pocket accumulation, does not enroll anyone in M3P, and does not assert that any actual participant's bill is correct. Estimate only -- not an official CMS or plan communication, and not financial or legal advice.",
        "numerator_breakdown": {
          "newly_incurred_cents": 150000,
          "remaining_owed_cents": 0
        },
        "numerator_cents": 150000,
        "plan_year": 2026,
        "regulatory_basis": "42 CFR 423.137(a) general; (b)(1)-(2) definitions; (c)(1)(i) first-month formula; (c)(1)(ii) subsequent-month formula; (c)(3) months-remaining includes the current month; (c)(4) impact on true out-of-pocket accumulation.",
        "rounding_mode": "half_up",
        "rounding_oracle": "declared -- clause silent; 42 CFR 423.137 states no explicit rounding rule for the division step. Three independent CMS-sourced worked examples (423.137(b)(2): 2000/12=166.67; CMS Final Part Two Guidance section 50.2: 2000/3=666.67, 2000/11=181.82) are each consistent with round-half-up-to-the-cent and no other tested mode.",
        "rounding_precision": "cents",
        "valid_input": true
      }
    }
  }
}
