Skip to main content
Glama

After All Taxes: US paycheck calculator

Tax withheld from a bonus

bonus_tax
Read-onlyIdempotent

What is withheld from a bonus paid separately from regular pay in tax year 2026 when the employer uses the flat method: federal income tax at the flat supplemental rate (22%, 37% on the part above $1 million), Social Security, Medicare, the state's own rule for a bonus (FL, NY with New York City or Yonkers, MA, MN, MO) and state paid-leave contributions, and what is left. Any other state gives federal taxes only. Returns a link to the bonus calculator 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": {
      "bonus": "<bonus>",
      "state": "<state>"
    },
    "name": "bonus_tax"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoNew York only: resident of New York City (nyc) or Yonkers. Default none.
bonusYesThe bonus in dollars, before taxes.
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description goes further by disclosing the calculation assumptions (flat method, 22%/37% split at $1M, state coverage limited to FL, NY, MA, MN, MO) and that the return value is a link to the web calculator. It does not say what happens for unsupported inputs beyond the federal-only fallback, but that is minor given full annotation coverage.

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 scope and method are front-loaded, which is good, but the whole definition is one ~85-word sentence with nested parenthetical lists of rates and state codes that is hard to scan. Every element is relevant, yet a short structured breakdown (assumptions / states covered / return) would communicate the same content faster.

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?

With no output schema, the description correctly states that a link to the calculator is returned, and it spells out the tax components and the state coverage boundary so an agent can predict the result's shape. The main residual gap is that the phrase 'the state's own rule' is left unquantified, so the agent cannot describe the state portion without calling the tool.

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 coverage is 100%, so the parameters are already documented. The description restates the state coverage list and the New York-only city distinction rather than adding new semantics such as what 'flat method' means for the bonus field or how the $10M maximum is treated. Baseline 3 applies when the schema carries the parameter burden.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific computation (withholding on a bonus paid separately from regular pay) with the exact method and components: 22% flat federal, 37% above $1M, FICA, state rule, and paid-leave. It is unmistakably distinct from a generic paycheck tool, but it never names calculate_paycheck or compare_states, so sibling differentiation is left to inference from the wording.

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 rather than stated: 'paid separately from regular pay' and 'employer uses the flat method' scope the tool, and the line 'Any other state gives federal taxes only' tells the agent when state detail will be absent. There is no explicit instruction to use calculate_paycheck for regular wages or compare_states for multi-state comparison, and no statement of when not to call this tool.

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