Jackpot Calculator
Server Details
Estimate US lottery taxes, compare cash and annuity, split pool prizes and calculate jackpot odds.
- Status
- Healthy
- Uptime
- 100.0% over 23 days
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- Repository
- jiankn/jackpot-calculator-mcp
- GitHub Stars
- 0
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 4 tools
Each tool targets a distinct lottery calculation: odds/coverage, single-ticket payout taxes, pool-member share, and lump-sum-vs-annuity comparison. Although payout and pool share both involve taxes, their descriptions clearly separate individual payout from group pooling.
All names use snake_case with a predictable verb_noun structure. The first three use calculate_ for computations, and compare_ is appropriate for the comparison tool, so the set remains highly consistent.
Four tools is well-scoped for a specialized jackpot calculator. Each tool covers a meaningful calculation path without redundant or trivial entries.
The surface covers the main lottery calculation needs: odds, taxes, pool sharing, and lump-sum/annuity comparison. Minor gaps exist for unequal pool shares or more granular annuity schedules, but the core jackpot workflow is well represented.
Available Tools
4 toolscalculate_lottery_oddsJackpot probability and expected returnBRead-onlyIdempotentInspect
Calculate jackpot coverage for distinct combinations in one drawing and optional before-tax expected ticket return.
| Name | Required | Description | Default |
|---|---|---|---|
| game | Yes | ||
| tickets | No | Different number combinations in the SAME drawing; repeated combinations do not add coverage. | |
| jackpotCash | No | Optional jackpot cash option in US dollars, required to compute expected ticket return. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already establish the safety profile (readOnly, idempotent, non-destructive, closed-world), so the burden is light. The description adds the useful qualifier that expected return is 'before-tax' and conditional/optional, but says nothing about return format (probability vs. percentage) or how coverage is expressed.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single compact sentence with the primary output (jackpot coverage) front-loaded ahead of the secondary one. Slightly dense phrasing, but no wasted clauses.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a three-parameter calculation tool with no output schema, the description stops short of describing what the numeric results look like (probabilities, expected value, coverage units) or the relationship between ticket counts and likelihood. It is adequate to invoke the tool but not to interpret its results.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 67%, with the 'tickets' and 'jackpotCash' semantics already elaborated in the schema itself ('different combinations in the SAME drawing', 'required to compute expected ticket return'). The description echoes those concepts but adds no syntax or format detail beyond them, so it only marginally compensates for the coverage gap.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description gives a specific verb ('Calculate') and two concrete outputs: jackpot coverage for distinct combinations in one drawing, and optional before-tax expected ticket return. This differentiates it in spirit from payout/share siblings, though it never names an alternative tool. Clear purpose, but sibling differentiation is left implicit.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
Usage is only implied — the mention of 'distinct combinations in one drawing' and an 'optional' expected-return calculation hints at when each mode applies, but there is no explicit when-to-use/when-not guidance and no pointer to calculate_lottery_payout or calculate_pool_share. The agent must infer routing from the sibling names alone.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
calculate_lottery_payoutLottery cash prize after taxesARead-onlyIdempotentInspect
Estimate taxes and withholding on a known lottery cash prize. Input dollars; result integer cents. Bundled 2026 rules.
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | custom | |
| prize | Yes | US dollars, not cents. Maximum $1 trillion. | |
| status | No | single | |
| locality | No | Only valid with stateCode NY. | |
| stateCode | Yes | US residence and ticket-purchase state, two-letter code. Cross-state claims are not modeled. | |
| otherIncome | No | Other annual income in US dollars before the standard deduction. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare the operation is read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful behavioral facts beyond that: the unit contract ('Input dollars; result integer cents') and the fact that rules are 'bundled 2026' rules, telling the agent the tax model is a fixed vintage rather than live data.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Three short sentences, no filler, and the most decision-relevant clause (what it computes) is front-loaded ahead of the unit and rule-vintage details. Nothing could be cut without losing information.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
For a six-parameter tool with no output schema, the description does cover units and tax-rule vintage, which helps. It does not clarify whether the returned value is the net payout, the tax amount, or a breakdown including state and local withholding, and it omits the modeling limitations (only NYC/Yonkers localities, no cross-state claims) that a caller would want before trusting the result.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 67%, and the description reinforces the critical dollars-in/cents-out convention for the 'prize' parameter and the result. But it says nothing about 'game', 'status', 'locality' or 'otherIncome', so the remaining documented gap is not compensated. Baseline 3 for mid coverage is appropriate.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb+resource pair: estimate taxes and withholding on a known lottery cash prize. This cleanly separates it from calculate_lottery_odds, calculate_pool_share and compare_lump_sum_annuity, though those siblings are never named explicitly. An agent can identify the tool's domain 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.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The phrase 'on a known lottery cash prize' implies the precondition that the prize amount is already determined, which hints at sequencing after a prize is known. However, it never states when not to use it or points to a sibling for related questions (odds, pool sharing, annuity comparison). Usage is only implied.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
compare_lump_sum_annuityCompare cash and annuityBRead-onlyIdempotentInspect
Compare a published cash option with 30 growing annuity payments after taxes, including present value and break-even rate.
| Name | Required | Description | Default |
|---|---|---|---|
| game | No | custom | |
| status | No | single | |
| jackpot | Yes | Advertised annuity total in US dollars. | |
| winners | No | Number of jackpot-winning tickets sharing the prize. | |
| locality | No | Only valid with stateCode NY. | |
| cashValue | Yes | Published cash option in US dollars; do not infer it from a fixed ratio. | |
| stateCode | Yes | US residence and ticket-purchase state, two-letter code. Cross-state claims are not modeled. | |
| otherIncome | No | Other annual income in US dollars before the standard deduction. | |
| discountRate | No | Annual discount rate as a fraction, e.g. 0.04 for 4%. | |
| sharePercent | No | Your percentage of one winning ticket. |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds useful behavioral context that the computation is after-tax, assumes 30 growing payments, and returns present value and break-even rate. It does not disclose tax-jurisdiction assumptions or result format, so it is modest value on top of annotations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
A single front-loaded sentence that names the comparison, the tax basis, the payment structure, and the outputs with zero filler. Nothing is wasted and the core action leads the sentence.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
With 10 parameters and no output schema, the description partially compensates by naming the returned figures (present value, break-even rate). However, it omits usage context, the tax-state modeling behavior, and any note on the many optional inputs, leaving gaps for a fairly complex financial tool.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 80%, so the schema already documents jackpot, cashValue, stateCode, and others well. The description names no parameters and adds no syntax, units, or constraint meaning beyond the schema, so the baseline 3 applies.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
States a specific verb (compare) and the two resources being compared (published cash option vs. 30 growing annuity payments after taxes), plus the resulting metrics. An agent can tell this is the cash-vs-annuity decision tool, distinct from the odds/payout/pool-share siblings, though the description never names a sibling to reinforce the distinction.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description describes what the tool computes but gives no when-to-use guidance, no mention of alternatives, and no prerequisites. Nothing tells the agent to reach for this over calculate_lottery_payout, nor under what conditions it should be chosen.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
- First observed
calculate_lottery_odds - First observed
calculate_lottery_payout - First observed
calculate_pool_share - First observed
compare_lump_sum_annuity
Related MCP Connectors
Price settlement or annuity payments, judge a buyout offer, look up any US state's transfer rules.
Retirement drawdown, 72(t) SEPP, RMD, Roth conversion, Social Security and state-tax calculators.
90+ pure finance calculators: loans, investing, bonds, options, tax. Stateless, stores nothing.
9 deterministic IRS tax, RMD, Roth, Solo 401k, Form 1040, TALS, Estate & SBLOC calculators.
Related MCP Servers
- AlicenseBqualityAmaintenance39 tax tools for US individual taxpayers — federal/state tax calculations, credits, deductions, retirement strategies, audit risk, and tax planning. All calculations run locally, no data leaves the machine. Supports TY2024 and TY2025 (One Big Beautiful Bill Act).44140 npm13MIT
- AlicenseAqualityAmaintenanceDeterministic US equity-compensation tax optimizer. Six tools cover ISO/AMT exercise scheduling, NSO sell-vs-hold, RSU vest-and-sell, single-stock concentration, protective put / zero-cost collar pricing, and Section 1202 QSBS qualification. Federal plus 50-state plus DC tax math.8230 npm6MIT
- AlicenseNot gradedqualityBmaintenanceCalculate income tax (UK/US brackets), EU VAT, UK corporation tax, and capital gains tax. Provides estimates only - not professional tax advice.2 npm61 PyPIMIT
- AlicenseAqualityCmaintenanceProvides real tax calculations for US, Canada, Australia, and UK income, property, and dividend taxes using up-to-date local data with no API keys required.753 npmMIT
Glama MCP Gateway
Add one secure layer between your agents and this server.