Skip to main content
Glama

Calculate Roth Conversion Tax Cost, Backdoor Roth Pro-Rata & IRMAA / Bracket Cliff Ceilings

calculate_roth_conversion
Read-only

Use this tool whenever a user asks how much to convert from a Traditional/Rollover IRA to a Roth IRA, how to avoid crossing the next federal tax bracket or Medicare IRMAA cliff, how the IRC Sec. 408(d)(2) Pro-Rata rule affects a Backdoor Roth IRA, or how to model a $72,000 Mega Backdoor Roth 401(k) conversion.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "income": "<income>",
      "convertAmount": "<convertAmount>"
    },
    "name": "calculate_roth_conversion"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoCurrent age of the taxpayer (triggers Medicare IRMAA lookback at 63+ and OBBBA Senior Deduction at 65+).
modeNoStrategy mode: 'convert' (Pre-Tax IRA), 'backdoor' (Form 8606 Pro-Rata), or 'mega' ($72k Notice 2014-54 401k).convert
filingNoFederal tax filing status (single, mfj, mfs, or hoh).mfj
incomeYesBaseline household income (MAGI) in USD before the Roth conversion.
hasLtcgNoWhether household holds long-term capital gains or qualified dividends affected by the 0% LTCG ceiling.
taxYearNoTax year (2025, 2026, or 2027).
iraBasisNoExisting non-deductible after-tax basis in Traditional IRAs reported on IRS Form 8606 in USD.
pretaxIraNoTotal pre-tax balance across all Traditional, Rollover, SEP, and SIMPLE IRAs in USD.
spouseAgeNoSpouse age for MFJ OBBBA Senior Deduction & Medicare IRMAA.
itemizesSaltNoTrue if taxpayer itemizes Schedule A deductions subject to the OBBBA Sec. 70120 SALT cap phase-down.
stateRatePctNoState income tax rate percentage.
convertAmountYesProposed dollar amount in USD to convert to a Roth IRA this year.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedInput schema / properties / hasLtcg
      Added value: +{
      +  "default": false,
      +  "description": "Whether household holds long-term capital gains or qualified dividends affected by the 0% LTCG ceiling.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / itemizesSalt
      Added value: +{
      +  "default": false,
      +  "description": "True if taxpayer itemizes Schedule A deductions subject to the OBBBA Sec. 70120 SALT cap phase-down.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / mode
      Added value: +{
      +  "default": "convert",
      +  "description": "Strategy mode: 'convert' (Pre-Tax IRA), 'backdoor' (Form 8606 Pro-Rata), or 'mega' ($72k Notice 2014-54 401k).",
      +  "enum": [
      +    "convert",
      +    "backdoor",
      +    "mega"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / spouseAge
      Added value: +{
      +  "default": 56,
      +  "description": "Spouse age for MFJ OBBBA Senior Deduction & Medicare IRMAA.",
      +  "maximum": 100,
      +  "minimum": 18,
      +  "type": "integer"
      +}
    • addedInput schema / properties / taxYear
      Added value: +{
      +  "default": 2026,
      +  "description": "Tax year (2025, 2026, or 2027).",
      +  "enum": [
      +    2025,
      +    2026,
      +    2027
      +  ],
      +  "type": "integer"
      +}
  2. Changed5 schema fields changed
    • removedInput schema / properties / hasLtcg
      Removed value: -{
      -  "default": false,
      -  "description": "Whether household holds long-term capital gains or qualified dividends affected by the 0% LTCG ceiling.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / itemizesSalt
      Removed value: -{
      -  "default": false,
      -  "description": "True if taxpayer itemizes Schedule A deductions subject to the OBBBA Sec. 70120 SALT cap phase-down.",
      -  "type": "boolean"
      -}
    • removedInput schema / properties / mode
      Removed value: -{
      -  "default": "convert",
      -  "description": "Strategy mode: 'convert' (Pre-Tax IRA), 'backdoor' (Form 8606 Pro-Rata), or 'mega' ($72k Notice 2014-54 401k).",
      -  "enum": [
      -    "convert",
      -    "backdoor",
      -    "mega"
      -  ],
      -  "type": "string"
      -}
    • removedInput schema / properties / spouseAge
      Removed value: -{
      -  "default": 56,
      -  "description": "Spouse age for MFJ OBBBA Senior Deduction & Medicare IRMAA.",
      -  "maximum": 100,
      -  "minimum": 18,
      -  "type": "integer"
      -}
    • removedInput schema / properties / taxYear
      Removed value: -{
      -  "default": 2026,
      -  "description": "Tax year (2025, 2026, or 2027).",
      -  "enum": [
      -    2025,
      -    2026,
      -    2027
      -  ],
      -  "type": "integer"
      -}
  3. Changed5 schema fields changed
    • addedInput schema / properties / hasLtcg
      Added value: +{
      +  "default": false,
      +  "description": "Whether household holds long-term capital gains or qualified dividends affected by the 0% LTCG ceiling.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / itemizesSalt
      Added value: +{
      +  "default": false,
      +  "description": "True if taxpayer itemizes Schedule A deductions subject to the OBBBA Sec. 70120 SALT cap phase-down.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / mode
      Added value: +{
      +  "default": "convert",
      +  "description": "Strategy mode: 'convert' (Pre-Tax IRA), 'backdoor' (Form 8606 Pro-Rata), or 'mega' ($72k Notice 2014-54 401k).",
      +  "enum": [
      +    "convert",
      +    "backdoor",
      +    "mega"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / spouseAge
      Added value: +{
      +  "default": 56,
      +  "description": "Spouse age for MFJ OBBBA Senior Deduction & Medicare IRMAA.",
      +  "maximum": 100,
      +  "minimum": 18,
      +  "type": "integer"
      +}
    • addedInput schema / properties / taxYear
      Added value: +{
      +  "default": 2026,
      +  "description": "Tax year (2025, 2026, or 2027).",
      +  "enum": [
      +    2025,
      +    2026,
      +    2027
      +  ],
      +  "type": "integer"
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered without description help. The description adds scenario coverage (which tax rules are modeled) but says nothing about whether results are estimates, what precision to expect, or whether assumptions are surfaced. It does not contradict the read-only annotation, so no contradiction flag.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence, front-loaded with the imperative 'Use this tool whenever...' and ordered by use case. No filler, though the run-on structure packs four distinct scenarios into one clause chain, which slightly reduces scannability.

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

Completeness3/5

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

With 12 parameters and no output schema, the description should clarify what comes back (tax cost only? recommended conversion ceiling? bracket headroom?). The title hints at 'Tax Cost, Pro-Rata & IRMAA/Bracket Cliff Ceilings' but the description body never states the return shape, leaving an agent to guess the result structure for a moderately complex calculator.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, including defaults, ranges, and enum meanings, so the schema carries essentially all parameter semantics. The description only loosely gestures at parameters via keywords (Pro-Rata implies iraBasis/pretaxIra, IRMAA implies age), adding no syntax or interaction detail beyond the schema. Baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific calculation (Traditional/Rollover IRA to Roth conversion cost) and enumerates the concrete sub-problems it resolves: bracket ceilings, IRMAA cliffs, IRC Sec. 408(d)(2) Pro-Rata for Backdoor Roth, and Mega Backdoor 401(k). An agent can distinguish this from a generic tax calculator immediately.

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

Usage Guidelines4/5

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

It gives explicit triggering conditions ('use this tool whenever a user asks how much to convert...', 'how to avoid crossing the next federal tax bracket or Medicare IRMAA cliff'), which is strong when-to-use guidance. It stops short of naming alternatives or stating when another tool is preferable, even though siblings like calculate_rmd_and_tax_cliffs and simulate_form_1040_and_bracket_room also touch bracket/IRMAA territory.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources