Skip to main content
Glama

Compare take-home pay across states

compare_states_take_home
Read-onlyIdempotent

Runs the same gross pay through 2 to 10 states (or DC) and ranks them by annual take-home pay for tax year 2025 or 2026, showing state income tax, the method for each state (exact 2026 schedule for CA, NY, NJ, IL, PA, GA, NC; labeled estimate elsewhere; no wage income tax in AK, FL, NV, NH, SD, TN, TX, WA, WY) and how far each trails the best. Federal tax and FICA use the IRS 2025/2026 tables and wage base. Use it for relocation and remote-work offers.

Input Schema

NameRequiredDescriptionDefault
statesYes2 to 10 states, e.g. ["CA", "TX", "NY"].
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.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new behavioral disclosures: exact 2026 schedules for seven named states, labeled estimates elsewhere, nine states with no wage income tax, and the federal/FICA basis used. These accuracy caveats materially affect how an agent should present results.

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?

Front-loaded with the action and scope, followed by a short usage sentence; every clause carries information. The long parenthetical listing states and tax methods is dense but earns its place, so only minor deduction for readability.

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 9-parameter tool with no output schema, the description does well by sketching the return content (state income tax, method label, gap to best). It doesn't specify ordering/format details or error behavior for invalid state codes, which the schema only partly covers.

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 enums are documented, so the schema does the heavy lifting. The description only restates the 2-10 state bound and the two tax years, adding no interpretation beyond the structured fields.

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 operation (run the same gross pay through 2-10 states and rank by annual take-home), the tax years supported, and what is returned. It is clearly differentiable from the sibling calculate_take_home_pay because it is inherently multi-state and comparative.

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 says 'Use it for relocation and remote-work offers,' giving a concrete decision context. It stops short of naming when-not-to-use or pointing at calculate_take_home_pay for single-state or non-comparison needs, so it's a 4 rather than a 5.

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.