Skip to main content
Glama

After All Taxes: US paycheck calculator

Paycheck after taxes

calculate_paycheck
Read-onlyIdempotent

Take-home pay for one paycheck in tax year 2026, with every tax on its own line: federal income tax withholding (IRS Publication 15-T percentage method), Social Security, Medicare, state income tax, New York City or Yonkers tax, and state paid-leave or disability contributions, then 401(k) and pre-tax deductions. Full state withholding for FL, NY, MA, MN and MO; any other state gives federal taxes only. Works from salary or hourly pay with overtime and the Form W-4 entries. Returns the amounts per paycheck and per year, the method and its sources, and a link that opens the same calculation on afteralltaxes.com.

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": {
      "state": "<state>"
    },
    "name": "calculate_paycheck"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoNew York only: resident of New York City (nyc) or Yonkers. Default none.
hoursNoWith hourly_rate: regular hours in one pay period. Default: 40 a week (40 weekly, 80 biweekly, 86.67 semimonthly, 173.33 monthly).
stateYesTwo-letter code of the state whose withholding applies, e.g. "NY". Full state withholding for FL, NY, MA, MN and MO; any other state gives federal taxes only.
hourly_rateNoHourly rate in dollars. Give this or annual_salary.
annual_salaryNoYearly salary in dollars, before taxes. Give this or hourly_rate.
filing_statusNoForm W-4 Step 1(c). single also covers married filing separately. Default single.
pay_frequencyNoHow often you are paid. Default biweekly (26 paychecks a year).
w4_deductionsNoForm W-4 Step 4(b), deductions, dollars a year. Default 0.
overtime_hoursNoWith hourly_rate: hours in the pay period paid at 1.5 times the rate. Default 0.
w4_other_incomeNoForm W-4 Step 4(a), other income, dollars a year. Default 0.
w4_step2_checkedNoForm W-4 Step 2(c) box checked (two jobs, or both spouses work). Default false.
pretax_deductionsNoHealth premiums and other Section 125 amounts taken before tax, dollars per paycheck. Default 0.
w4_dependents_amountNoForm W-4 Step 3, credits for dependents, dollars a year. Default 0.
w4_extra_withholdingNoForm W-4 Step 4(c), extra federal withholding, dollars per paycheck. Default 0.
retirement_401k_percentNoTraditional 401(k) contribution, percent of gross pay. Default 0.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, closed-world behavior, so the description's job is to add context — and it does: it discloses the withholding method (IRS Publication 15-T percentage method), the per-line tax breakdown, and the fact that a URL to the same calculation is returned. It stops short of mentioning rounding, whether a validation failure occurs when both salary and hourly rate are supplied, or any rate limits.

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

Conciseness5/5

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

Three sentences, front-loaded with the core purpose, then the coverage caveat, then the return shape. The first sentence is long but every clause carries distinct information (tax lines, method, deductions); nothing is redundant with the title.

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?

For a 15-parameter calculator with no output schema, the description supplies the return shape (per-paycheck and per-year amounts, method and sources, shareable link) and the geographic limitation. The only residual gap is that it does not clarify behavior when both annual_salary and hourly_rate are provided, or what a federal-only result omits in detail.

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 one of the 15 parameters — including the W-4 step mappings and the city enum — is already documented in the schema. The description echoes that the Form W-4 entries and overtime hours feed the calculation but adds no formatting, interaction, or precedence details beyond what the schema states, so the baseline of 3 applies.

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 names a concrete resource and scope — take-home pay for one paycheck in tax year 2026 — and enumerates exactly which taxes are itemized, so an agent can tell it computes an individual paycheck rather than a bonus or a multi-state comparison. The state-coverage sentence further pins down the calculation boundary (FL, NY, MA, MN, MO vs. federal-only elsewhere).

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 input-mode sentence ('Works from salary or hourly pay with overtime and the Form W-4 entries') and by the explicit state-coverage limitation, which tells an agent when full results are available. However, it never names the alternatives (bonus_tax, compare_states) or states when not to reach for this tool, leaving 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.

Resources