Skip to main content
Glama

After All Taxes: US paycheck calculator

Same pay in each state

compare_states
Read-onlyIdempotent

Take-home pay for the same salary or hourly pay and Form W-4 in each state the engine covers for tax year 2026: Florida, New York, New York City, Massachusetts, Minnesota and Missouri, ordered from most to least kept, with state and local taxes and contributions on their own figure. Use it when someone is moving or choosing between jobs in these states.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_states"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursNoWith hourly_rate: regular hours in one pay period. Default: 40 a week (40 weekly, 80 biweekly, 86.67 semimonthly, 173.33 monthly).
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.1/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the description only needs to add context — and it does, by pinning the tax year (2026), listing covered states, and describing the result ordering and separate state/local tax figures. It stops short of stating what happens for unsupported states or inputs.

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 core purpose, state list, and output ordering are front-loaded in one dense sentence, with the usage cue in a short second sentence. Slightly long and clause-heavy, but every clause carries information.

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 13-parameter, zero-required tool with no output schema, the description supplies the coverage scope, result ordering, and breakdown structure an agent needs to interpret the result. It omits default behavior and error handling, which are minor given complete schema coverage.

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% and all 13 parameters are documented there, so the schema does the heavy lifting. The description only reinforces the salary-or-hourly input mode and the Form W-4 framing, adding essentially no semantics beyond the schema.

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 (take-home pay comparison across states for a given salary/W-4) and enumerates the exact jurisdictions covered plus the ordering of results. This is clearly distinguishable from calculate_paycheck (single scenario) and bonus_tax, and an agent can tell what it returns 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?

Explicitly gives the triggering scenario: 'Use it when someone is moving or choosing between jobs in these states.' It also bounds the geography. It does not name an alternative tool to use for non-covered states or single-location paychecks, so routing is clear but not fully exclusionary.

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