Skip to main content
Glama

Paycheck calculator: take-home pay

calculate_take_home_pay
Read-onlyIdempotent

Calculates take-home (net) pay for a US employee in any of the 50 states or DC for tax year 2025 or 2026: federal income tax from the IRS Rev. Proc. 2024-40 / 2025-32 bracket tables with the One Big Beautiful Bill Act standard deduction ($15,750 single for 2025, $16,100 for 2026), Social Security with the wage base ($176,100 in 2025, $184,500 in 2026), Medicare plus the 0.9% Additional Medicare tax, and state income tax. State tax is exact from each state's 2026 schedule for CA, NY, NJ, IL, PA, GA, NC; other states return a labeled effective-rate estimate (method: "estimate"). Handles pre-tax 401(k) (not FICA-exempt) and payroll HSA (FICA-exempt), and Pennsylvania/New Jersey rules that tax 401(k) or HSA money. Returns per-period and annual figures. Local taxes (NYC etc.) are out of scope. Figures copied from irs.gov and state revenue sites in Oct 2026.

Input Schema

NameRequiredDescriptionDefault
stateYesUS state or DC: two-letter code (CA), name (California) or slug (new-york).
tax_yearYesTax year: 2025 or 2026.
hsa_annualNoHSA contribution through payroll (cafeteria plan) for the year in USD. Lowers income tax, Social Security and Medicare.
gross_annualNoGross annual pay in USD before any deduction. Give this OR gross_per_period.
filing_statusYesFederal filing status. Qualifying surviving spouse uses married_filing_jointly.
pay_frequencyNoPay frequency: weekly (52), biweekly (26, default), semimonthly (24), monthly (12), quarterly (4) or annual (1).
gross_per_periodNoGross pay for one pay period in USD. Multiplied by the periods in pay_frequency.
pretax_401k_annualNoTraditional (pre-tax) 401(k) deferral for the year in USD. Lowers income tax, not FICA. Leave out for Roth.
pretax_401k_percentNoTraditional 401(k) deferral as a percent of gross (e.g. 6). Use instead of pretax_401k_annual.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only cover safety (readOnly/idempotent), and the description goes well beyond them: it discloses the accuracy tier per state (exact schedule for CA/NY/NJ/IL/PA/GA/NC vs. a labeled effective-rate estimate with method: "estimate"), the tax-law sources, and the data vintage (Oct 2026). That kind of pre-call expectation-setting about approximation and provenance is exactly what an agent needs before trusting the output.

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 main purpose is front-loaded, which is good, but the rest is a very dense run-on packing bracket citations, statutory dollar constants, and wage-base figures into one block with no structure. Some of those numbers (Rev. Proc. 2024-40 / 2025-32, $15,750, $176,100) do not help an agent decide whether to call the tool and could be cut or deferred to output.

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?

There is no output schema, and the description compensates by saying it returns per-period and annual figures and by flagging the output's estimate labeling and local-tax gap. For a 9-parameter, multi-jurisdiction calculator this is nearly complete; only return structure detail (field names/shape) is missing.

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

Parameters4/5

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

Schema coverage is already 100%, so the baseline is high, but the description adds real tax-treatment meaning the schema only partly captures: 401(k) lowering income tax but not FICA, HSA being FICA-exempt, and the PA/NJ quirks that tax 401(k)/HSA money. It leaves the state-code-format and gross-vs-gross-per-period disambiguation to the schema, which handles those fine.

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 (calculates take-home/net pay) and pins the scope tightly: US employee, 50 states or DC, tax years 2025-2026. This clearly separates it from siblings like get_federal_tax_brackets (a lookup) and compare_states_take_home (a multi-state comparison).

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

Usage Guidelines3/5

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

Usage is implied by the scope statement (single paycheck, US, no local taxes) and it explicitly excludes local taxes like NYC, which is a useful when-not. But it never names the sibling tools or says when an agent should pick compare_states_take_home or get_federal_tax_brackets instead, leaving alternative-routing to inference.

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.