Skip to main content
Glama

Analyze 401(k), 403(b), 457(b), SIMPLE & IRA Rollover Eligibility, 20% Withholding Trap & 20-Yr Fee Drag

analyze_401k_rollover_options
Read-only

Use this tool whenever a user asks whether a rollover between two retirement account types is permitted under the IRS Rollover Chart (Roth IRA, Traditional/Rollover IRA, SIMPLE IRA, SEP-IRA, Governmental 457(b), Qualified Plan 401(k), 403(b), Designated Roth 401(k)), how to avoid the mandatory 20% IRC Sec. 3405(c) indirect withholding trap, or how Rule of 55, 457(b) separation, SIMPLE 2-year rules, employer stock NUA, and 20-year plan fee drag apply.

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": {
      "rollFrom": "<rollFrom>",
      "rollTo": "<rollTo>",
      "amount": "<amount>"
    },
    "name": "analyze_401k_rollover_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoAccount owner age (screens Rule of 55 and pre-59.5 early withdrawal exceptions).
amountYesAccount balance being evaluated for rollover in USD.
rollToYesDestination retirement account type.traditional_ira
rollFromYesSource retirement account type.qualified_plan_401k
transferMethodNo'direct' for Direct Trustee-to-Trustee Transfer (Form 1099-R Code G, 0% withholding) or 'indirect' for 60-day check payable to participant (20% mandatory withholding from employer plans).direct
hasEmployerStockNuaNoTrue if the source 401(k) holds appreciated company stock eligible for IRC Sec. 402(e)(4) Net Unrealized Appreciation.
currentPlanAllInFeePctNoCurrent employer plan all-in expense + admin fee percentage (compared against CleverAlpha 0.25% advisory fee).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

TDQS

A3.5/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 and the description only needs to add scope. It does disclose the analytical dimensions evaluated (rollover-chart eligibility, IRC 3405(c) withholding, Rule of 55, NUA, 20-year fee drag), which is genuine context beyond the annotations. However, with no output schema it never says what the analysis returns or how the comparison is presented, leaving the agent to guess the response shape.

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

Conciseness3/5

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

The entire definition is a single ~70-word sentence with a long parenthetical account-type list plus a rule-name list, which is dense and hard to scan. It is front-loaded correctly with the trigger condition and wastes no words on filler, but the packaging of many distinct capabilities into one breath makes it less usable than it could be.

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 7-parameter analytical tool with no output schema, the description covers inputs and trigger conditions well but never explains what the agent gets back (an eligibility verdict, a withholding dollar figure, a 20-year fee-drag delta). It also omits that the fee comparison is benchmarked against a fixed 0.25% advisory fee, a commercially relevant assumption that only appears in a schema default. Sufficient to select the tool, incomplete for setting expectations on results.

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%, so all seven parameters (including the three enums and the age/fee numeric screens) are already documented in structured form. The description only indirectly maps concepts to inputs via phrases like '20% ... indirect withholding trap', 'Rule of 55', 'NUA', and '20-year plan fee drag', without adding syntax or constraints of its own. Baseline 3 applies when the schema carries the parameter burden.

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 concrete analytical verb and resource: determining whether a rollover between two named retirement account types is permitted, plus withholding, Rule of 55, NUA, and fee-drag analysis. The enumerated account types and rule citations make the scope unmistakable. It stops short of naming a sibling (e.g., calculate_roth_conversion or check_ira_deductibility_and_roth_limits) to draw the boundary explicitly, which keeps it from a 5.

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?

The description opens with an explicit trigger: 'Use this tool whenever a user asks whether a rollover between two retirement account types is permitted...' and lists the specific user questions that select it (chart eligibility, 20% withholding trap, Rule of 55, 457(b) separation, SIMPLE 2-year rules, NUA, fee drag). It gives no when-not guidance or named alternative for adjacent questions like Roth conversions or IRA deductibility, so it is clear context without exclusions.

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