Skip to main content
Glama

finance_roth_5_year

Read-only

Roth IRA 5-Year Rule + Distribution Tax — Is a Roth IRA withdrawal qualified, and what is taxed or penalized? Required: age (on distribution date), first_year (tax year of first Roth IRA contribution or conversion), amount (USD). Optional: date (YYYY-MM-DD, default today), contributions (total regular contributions), conversions (year:amount;year:amount), prior_distributions, reason (disability|death|first_home|medical|education|sepp|birth_adoption|health_insurance|qualified_disaster|terminal_illness|emergency|domestic_abuse|irs_levy|reservist), first_home_used. Applies the IRS ordering rules (contributions, then conversions oldest-first, then earnings), the account 5-year clock and each conversion's own 5-year penalty clock. Returns layers with tax and 10% penalty, verdict QUALIFIED_TAX_FREE/NONQUALIFIED_BUT_TAX_FREE/TAXABLE_NO_PENALTY/TAXABLE_AND_PENALTY. Offline. Price: $0.003 USDC (Base, via x402).

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": {
      "age": "<age>",
      "first_year": "<first_year>",
      "amount": "<amount>"
    },
    "name": "finance_roth_5_year"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYes52
amountYes30000
first_yearYes2019

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only declare read-only/non-destructive; the description goes much further by disclosing the IRS ordering rules applied (contributions, then conversions oldest-first, then earnings), the separate 5-year clocks, the 10% penalty logic, the verdict categories, and the $0.003 x402 payment requirement. The 'Offline' claim is consistent with a deterministic calculator even though openWorldHint is set true, which is a minor tension rather than a contradiction.

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?

The definition is front-loaded: the purpose question comes first, then required parameters, then optional ones, then the algorithmic behavior and return shape. It is dense and telegraphic but nearly every clause carries substantive information; the optional-parameter run-on is the only part that reads as bulk.

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

Completeness4/5

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

With no output schema, the description responsibly enumerates the verdict codes and says the result is 'layers with tax and 10% penalty,' so an agent knows what comes back. The main gap is the mismatch between the documented optional parameters and a schema that exposes only three fields, which could mislead an agent into passing unsupported arguments.

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 coverage reads 100%, but the actual schema descriptions are bare example values ('52', '30000', '2019'), so the description genuinely adds meaning by defining age as age on the distribution date and first_year as the tax year of the first Roth contribution or conversion. However, it also documents a long list of optional parameters (date, contributions, conversions, reason, first_home_used) that do not exist in the supplied schema, creating ambiguity about what can actually be passed.

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 opens with a specific verb-plus-resource framing: it determines whether a Roth IRA withdrawal is qualified and what is taxed or penalized. Naming the IRS ordering rules, the account 5-year clock, and the four verdict codes makes it unmistakable against siblings like finance_estate_tax or finance_capital_gains.

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 framing question ('Is a Roth IRA withdrawal qualified, and what is taxed or penalized?') gives a clear trigger condition for invoking the tool, and the reason enum hints at the qualifying-event scenarios it covers. It never names an alternative tool or states when not to use this one, so it stops short of full routing guidance.

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