Skip to main content
Glama

MaliMoney Calculators

Withdrawal Order

withdrawal_order
Read-onlyIdempotent

Model tax-efficient retirement withdrawals year-by-year across taxable, traditional, and Roth accounts. Use when the user asks 'which account should I tap first', 'how do I withdraw efficiently', or wants a retirement income strategy. Handles RMDs at 73+. Returns an educational projection, not advice — the user should confirm a withdrawal strategy with a CPA/advisor.

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": {
      "annualNeed": "<annualNeed>",
      "startAge": "<startAge>",
      "taxableBalance": "<taxableBalance>",
      "traditionalBalance": "<traditionalBalance>",
      "rothBalance": "<rothBalance>"
    },
    "name": "withdrawal_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
endAgeNo
startAgeYes
returnPctNo
stateCodeNo
annualNeedYesToday's-dollars annual spending in retirement; inflated internally.
ssStartAgeNo
rothBalanceYesRoth IRA/401(k) balance — tax-free withdrawals.
filingStatusNosingle
inflationPctNo
ssMonthlyAt67No
taxableBalanceYes
taxableCostBasisNoCost basis of the taxable account. When provided, only the gain above basis is taxed on each taxable withdrawal (instead of the whole pull) — pass it when known for a more accurate tax estimate.
traditionalBalanceYesTraditional IRA/401(k) balance subject to ordinary income tax on withdrawal.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive, so the safety profile is covered. The description adds real value beyond that: it discloses the output is an educational projection rather than advice, that RMD rules at 73+ are applied, and that the model runs year-by-year — all behavioral facts the annotations cannot convey.

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?

Three front-loaded sentences: capability, trigger examples, then the educational-use disclaimer. Efficient overall, though 'or wants a retirement income strategy' restates the preceding clause and 'Handles RMDs at 73+' is a capability fragment that could be folded into the first sentence.

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?

For a 13-parameter projection tool with no output schema and low schema coverage, the description covers the conceptual model and result nature but leaves the agent without guidance on defaults (endAge 95, returnPct 5.5, ssStartAge 67) or which optional inputs materially change the projection. Adequate orientation, thin on operational detail.

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

Parameters2/5

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

Schema description coverage is only 31% across 13 parameters, so the description must compensate and largely does not. It names the three account types, mapping loosely to taxableBalance/traditionalBalance/rothBalance, but says nothing about annualNeed, ssMonthlyAt67, ssStartAge, filingStatus, stateCode, inflationPct, returnPct, endAge, or taxableCostBasis — the parameters most likely to be mis-set.

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

Purpose4/5

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

States a specific verb and resource — model tax-efficient withdrawals year-by-year across taxable, traditional, and Roth accounts — which immediately separates it from single-purpose siblings like rmd or roth_conversion_one_year. However, it never names a sibling explicitly, so the boundary against rmd (which also addresses RMDs) and monte_carlo_retirement is left for the agent to infer.

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 concrete trigger phrasing ('which account should I tap first', 'how do I withdraw efficiently', 'wants a retirement income strategy'), which is clear contextual guidance. It stops short of exclusions — no statement of when to prefer rmd, inherited_ira_rmd, or optimal_spend instead, which matters given the dense sibling set.

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