Skip to main content
Glama

Check 2025-2027 Traditional IRA Tax Deductibility (IRC Sec. 219(g)), Direct Roth Limit & Backdoor Roth Eligibility

check_ira_deductibility_and_roth_limits
Read-only

Use this tool whenever a user asks whether their Traditional IRA contribution is tax-deductible, how much they can contribute directly to a Roth IRA under IRC Sec. 408A, how workplace 401(k) coverage or spouse-only coverage affects 2025-2027 MAGI phase-out bands (including IRC Sec. 219(g)(4) MFS lived-apart rules and IRS Pub. 590-A $10 rounding / $200 floor), or whether they should execute a Form 8606 Backdoor Roth.

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>",
      "agi": "<agi>",
      "workplaceCoverage": "<workplaceCoverage>"
    },
    "name": "check_ira_deductibility_and_roth_limits"
  }
}

Input Schema

NameRequiredDescriptionDefault
agiYesAdjusted Gross Income (AGI) in USD before Traditional IRA deduction.
over50NoTrue if taxpayer is age 50 or older at year-end (unlocks $1,100 IRA catch-up in 2026).
taxYearNoTax year (2025, 2026, or 2027).
earnedIncomeNoTaxable W-2 / self-employment compensation in USD (defaults to AGI; caps contribution under IRC Sec. 219(b)(1)(B)).
filingStatusYesFederal tax filing status.single
mfsLivedTogetherNoFor married_separate only: false if spouses lived apart at ALL times during the tax year (IRC Sec. 219(g)(4)).
workplaceCoverageYes'yes' if taxpayer is an active participant in a workplace retirement plan (W-2 Box 13), 'spouse' if ONLY spouse is covered, or 'no' if neither is covered.yes
studentLoanInterestNoStudent loan interest deduction add-back for IRA MAGI in USD.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. Added

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, openWorldHint=false, and destructiveHint=false, so the safety profile needs no restating. The description does add genuine value by naming the exact statutory rules applied (219(g)(4) MFS lived-apart, Pub. 590-A $10 rounding and $200 floor), which signals deterministic IRS-based computation. It does not disclose what the response contains or which MAGI add-backs are or aren't included, leaving the agent to guess at output shape.

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?

It is a single dense sentence, but the trigger clause ("Use this tool whenever a user asks...") is front-loaded and every clause maps to a distinct capability. Slight deduction because the IRC citations and parenthetical detail make it harder to scan than a two- or three-sentence split would.

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 8 parameters, no output schema, and a multi-output computation (deductible amount, phase-out band, Roth headroom, backdoor verdict), the definition should say what the agent gets back. The description fully establishes inputs and legal grounding but never indicates the return shape or whether results include the applicable phase-out thresholds, which an agent needs to summarize results to a user.

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% with enums on filingStatus, workplaceCoverage, and taxYear, so the schema already carries the semantics. The description reinforces a few of these (MFS lived-apart, workplace coverage, the $200 floor affecting agi), but adds no format or interaction detail beyond what the parameter descriptions state — the standard 3 baseline when the schema does the heavy lifting.

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?

States a specific verb-and-resource scope: Traditional IRA deductibility, direct Roth limit, and Backdoor Roth eligibility under named IRC sections (219(g), 408A). The enumerated sub-questions (401(k)/spouse coverage phase-outs, MFS lived-apart, Pub. 590-A rounding) make the tool's remit narrow enough that an agent can distinguish it from conversion or Saver's Credit siblings without opening the schema.

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?

"Use this tool whenever a user asks whether..." gives explicit trigger conditions tied to real user phrasings, including the Backdoor Roth question. It falls short of a 5 because it never states when to route elsewhere — e.g., that actual Roth conversions belong to calculate_roth_conversion, which is a live sibling in this catalog.

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