Skip to main content
Glama

SavingsLast retirement calculators

Federal income tax estimate

federal_tax_estimate
Read-onlyIdempotent

A retiree's federal income tax for tax year 2026: the taxable share of Social Security (the Publication 915 worksheet), the standard deduction with the 65-plus additions and the senior deduction phase-out, ordinary brackets, the 0/15/20% stack for long-term gains and qualified dividends, the 3.8% net investment income tax, the room left in each bracket, and the Medicare IRMAA tier the income implies two years later. Federal only. Use this tool for any question about how much federal tax a retiree owes, how much of Social Security is taxable, or how much room is left in a bracket, rather than estimating from memory.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
agesNoAge of each filer at year end, one or two entries. Drives the 65-plus additions and the senior deduction.
capital_gainsNoLong-term capital gains and qualified dividends in dollars. Default 0.
filing_statusNoFederal filing status: single, mfj (married filing jointly) or hoh (head of household). Default single.
ordinary_incomeNoOrdinary income in dollars: wages, pension, IRA and 401(k) withdrawals, interest, short-term gains. Default 0.
social_securityNoGross Social Security benefits for the year in dollars, both spouses. Default 0.
tax_exempt_interestNoTax-exempt interest in dollars. Counts toward how much Social Security is taxed and toward Medicare and marketplace income. Default 0.

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 provide readOnlyHint, idempotentHint, and destructiveHint. The description adds substantial behavioral context beyond those: it specifies the tax year (2026), lists all computed outputs (taxable share, bracket room, NIIT, IRMAA tier), and notes that IRMAA is for income 'two years later.' This provides a clear picture of what the tool does and what it returns, exceeding the minimum expected given the annotations.

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 description is a single, information-dense sentence that front-loads the primary purpose (the tax estimate) and then lists components. It is efficient and lacks redundancy, though it is somewhat long. The usage guidance is appended at the end, which is logical. Overall, it earns its place with no wasted words.

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?

Given the tool's complexity (6 parameters, no output schema), the description is remarkably complete. It names every major calculation it performs, the inputs it uses (ages, income types), and the outputs (bracket room, IRMAA tier). It also states the tax year and the 'Federal only' scope. An agent can confidently call this tool and understand what it does without needing external context.

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 every parameter is already documented. The tool description does not add meaning beyond the schema; it only names the factors but does not describe each parameter's role or interactions. Baseline 3 is appropriate because the schema carries the full burden, and the description neither adds nor contradicts parameter semantics.

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 states a specific verb-resource pair: it computes a retiree's federal income tax for tax year 2026, enumerating the exact components (Social Security taxable share, standard deduction, brackets, NIIT, IRMAA). It explicitly says 'Federal only' and names the scope, which distinguishes it from sibling tools like state_retirement_taxes or rmd_calculate.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit usage guidance: 'Use this tool for any question about how much federal tax a retiree owes, how much of Social Security is taxable, or how much room is left in a bracket, rather than estimating from memory.' It also clarifies that it is 'Federal only,' implicitly ruling out state tax questions. This directly informs an agent when to select this tool over alternatives.

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