Skip to main content
Glama

TeamPredict HR Calculators

Severance pay

severance_pay
Read-onlyIdempotent

Estimate a severance package: weeks of pay per year of service times years of service times weekly pay, with an optional plan minimum and maximum, plus unused PTO paid out, employer-paid health coverage and other lump sums. Use it for an employer budgeting an exit or an employee checking an offer; every input is the plan's own terms, because US federal law sets no severance formula. Use cost_of_a_bad_hire for the all-in cost of a failed hire instead. Amounts are before tax.

Input Schema

NameRequiredDescriptionDefault
maximum_weeksNoThe plan's cap in weeks of pay, if any. Trims a long tenure down to this figure; if below the minimum, the cap wins.
minimum_weeksNoThe plan's minimum severance in weeks of pay, if any. Lifts a short tenure up to this figure.
unused_pto_daysNoUnused PTO days paid out, valued at salary divided by 260 working days. Default 0.
years_of_serviceYesYears of service, decimals allowed (for example 4.5).
annual_salary_usdYesAnnual salary in US dollars; weekly pay is salary divided by 52.
other_lump_sums_usdNoAny other lump sums, such as a pro-rated bonus, in US dollars. Default 0.
weeks_of_pay_per_yearYesWeeks of pay the plan gives for each year of service. Many plans use 1 or 2; there is no legal standard.
health_coverage_monthsNoMonths of health coverage the employer pays. Default 0.
monthly_health_premium_usdNoMonthly cost of that coverage in US dollars. Default 0.

Output Schema

NameRequiredDescriptionDefault
inputsYesThe inputs as used, with defaults filled in.
resultsYesThe computed numbers. Unavailable numbers are null.
summaryYesOne or two plain sentences with the headline numbers.
calculator_urlYesThe TeamPredict calculator page that shows the same calculation, where a person can change the inputs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful context beyond that: results are pre-tax, and the min/max interplay ('if below the minimum, the cap wins' via schema) is clarified. Return format is handled by the output schema, so the remaining gap is minor.

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 operation and formula are front-loaded in the first sentence, followed by usage and then the alternative-tool routing. Dense but nearly every sentence earns its place; only the long first sentence is slightly heavy.

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 calculation tool with an output schema and full safety annotations, the description is complete: it gives the formula, usage framing, the pre-tax caveat, and sibling disambiguation. Nothing an agent needs to call it correctly 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 100%, so parameters are fully documented already (baseline 3). The description nonetheless reinforces the calculation semantics (weekly pay, per-year-of-service multiplier, optional min/max, PTO payout) and the pre-tax caveat, adding slight value over 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 ('Estimate a severance package') and spells out the exact formula (weeks per year × years × weekly pay, plus PTO, health, lump sums). It also names the sibling it is not (cost_of_a_bad_hire), so an agent can distinguish it without opening schemas.

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

Usage Guidelines5/5

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

Explicitly gives both personas/use cases ('employer budgeting an exit or an employee checking an offer') and routes the alternative scenario to cost_of_a_bad_hire. It also explains that inputs come from the plan's terms because no federal formula exists, which frames correct usage.

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