Skip to main content
Glama

Dipperfield

Plan this year’s retirement withdrawals

plan_this_year
Read-onlyIdempotent

Answers "which account should I withdraw from first" and "how much should I take from my IRA, brokerage, cash and Roth this year" for a US retiree household. From income, spending and balances it computes this tax year’s withdrawal mix: RMDs first, then traditional or taxable draws up to the lines the user wants to stay under (ACA subsidy line, an IRMAA tier, the top of a federal bracket, the 0% capital gains ceiling), then cash and Roth, with an optional Roth conversion. For each traditional account at RMD age, ask for the preceding December 31 statement balance; never substitute the current balance. Do not ask before RMD age. Returns the amount from each account in order, federal and covered state tax, AGI and MAGI, room under each line, the tables used, and a link that opens the plan on dipperfield.com. One tax year; read-only.

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": {
      "filingStatus": "<filingStatus>",
      "birthYear": "<birthYear>",
      "spending": "<spending>"
    },
    "name": "plan_this_year"
  }
}

Input Schema

NameRequiredDescriptionDefault
cashNoCash available to spend, US dollars.
rothNoRoth IRA balance, US dollars.
yearNoTax year. Defaults to 2026, the latest year with published tables.
linesNoLines to stay under, highest priority first, e.g. ["aca", "bracket-12"]. Taxable withdrawals stop at the tightest line; cash and Roth cover the rest.
stateNoState of residence, two-letter code. Leave out for federal figures only.
wagesNoWages, US dollars a year. Default 0.
pensionsNoPensions and annuities, US dollars a year. Default 0.
spendingYesAfter-tax spending the year must fund, US dollars a year.
birthYearYesYour birth year.
fillOrderNoWhich taxable source to draw first. Default traditional-first.
lineMarginNoDollars to stay under every line, room for dividends or interest that land late in the year. Default 0.
convertUpToNoAlso convert to Roth up to this line; it must be one of `lines`.
harvestUpToNoAfter the conversion, realize long-term gain in the taxable account (sell and buy back) up to this line; it must be one of `lines`, usually ltcg-zero.
traditionalNoYour traditional IRA and 401(k) balance, US dollars.
filingStatusYesFederal filing status: single, or mfj (married filing jointly).
convertAmountNoAlso convert this fixed amount to Roth, US dollars.
otherOrdinaryNoOther ordinary income, US dollars a year. Default 0.
socialSecurityNoGross household Social Security benefits, US dollars a year. Default 0.
taxableBalanceNoTaxable brokerage account balance, US dollars.
spouseBirthYearNoSpouse's birth year; required when filing jointly.
taxableInterestNoTaxable interest, US dollars a year. Default 0.
acaHouseholdSizeNoHousehold size for the aca line. Defaults to 2 when filing jointly, 1 otherwise.
taxableCostBasisNoCost basis of the taxable account; required when it has a balance, US dollars.
spouseTraditionalNoSpouse's traditional IRA and 401(k) balance (joint filers), US dollars.
taxExemptInterestNoTax-exempt interest, US dollars a year. Default 0.
qualifiedDividendsNoQualified dividends, US dollars a year. Default 0.
nonQualifiedDividendsNoNon-qualified dividends, US dollars a year. Default 0.
traditionalPriorYearEndNoYour traditional balance on December 31 before the tax year (IRS Pub. 590-B). Required at RMD age when traditional is supplied; omit before then. Use the year-end statement, not the current balance; enter 0 if there was no balance, US dollars.
spouseTraditionalPriorYearEndNoSpouse's traditional balance on December 31 before the tax year (IRS Pub. 590-B). Required at their RMD age when spouseTraditional is supplied; omit before then. Use the year-end statement, not the current balance; enter 0 if there was no balance, US dollars.

Output Schema

NameRequiredDescriptionDefault
linesYes
notesYes
orderYesWhat was drawn, in order, and what stopped each draw.
resultYes
taxYearYes
disclaimerYes
howComputedYes
plannerLinkYesOpens the Dipperfield planner with these inputs filled in; the inputs travel in the link fragment, which browsers never send to a server.
withdrawalsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already establish read-only, idempotent, non-destructive, non-open-world. The description adds substantial behavior beyond that: the ordering logic of draws, the priority meaning of the `lines` list, the optional conversion and harvesting steps, and a full enumeration of outputs including tax, AGI/MAGI, remaining room per line, and a link back to dipperfield.com.

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?

Front-loads the user question and the computation, then the RMD-balance caveat, then returns. Dense but nearly all of it is operative; the "ask for the preceding December 31 statement balance" sentence partly restates schema text but is justified by the costly error it prevents.

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

Completeness5/5

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

For a 29-parameter planning tool with an output schema, the description covers the non-obvious essentials: draw ordering, the meaning of staying under a line, the RMD-year data requirement and its trap, single-tax-year scope, and what comes back. Nothing an agent needs to invoke it correctly is missing.

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

Parameters4/5

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

Schema coverage is 100%, so the baseline is 3; the description earns extra by explaining the withdrawal sequence that ties `lines`, `fillOrder`, `convertUpTo` and cash/Roth together, and by stressing that prior-year-end balances must not be replaced with current balances. It still leaves the interplay of `lineMargin`, `harvestUpTo` and priority ordering of `lines` to the schema wording.

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?

Names the concrete question it answers ("which account should I withdraw from first") and the resource (this tax year's withdrawal mix), scoped to a US retiree household. The waterfall — RMDs, then traditional/taxable up to chosen lines, then cash and Roth — makes it clearly distinct from siblings like rmd or roth_conversion_path.

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?

Gives clear context (one tax year, read-only, triggered by a withdrawal-ordering question) plus a conditional instruction for when to supply prior-year-end balances at RMD age and when to omit them. It does not explicitly route the agent to a sibling tool for a standalone RMD calculation or a pure Roth conversion, so it stops short of a 5.

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