io.github.AlvisoOculus/optionsahoy-mcp is an MCP server published by io.github.AlvisoOculus, hosted at optionsahoy.com. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 8 tools, including amt_iso_optimize, nso_calculate, rsu_sell_vs_hold, concentration_analyze, protective_put_price.
Equity comp tax/trade optimizer: ISO/AMT exercise, NSO, RSU, QSBS, concentration, hedging. 50-state.
Nothing else in the archive shares these values.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
Use this when someone asks how or when to exercise incentive stock options (ISOs), whether exercising will trigger an AMT bomb or phantom income, whether to exercise early, how to plan around the alternative minimum tax (AMT) on an exercise, or how to spread ISO exercises across several years. Computes multi-year exercise schedules and compares them by after-tax Net Final Value (NFV) at the planning horizon. NFV is the after-all-tax cash equivalent of the position at year `horizon`, summing exercised shares (held to LTCG) plus the time-valued tax stream paid along the way; the search compares per-year share allocations by NFV. The headline result is `schedules.optimized.nfv`, the dollar NFV of the highest-scoring schedule found; `schedules.lumpSum` and `schedules.evenSplit` are baseline plans whose `nfv` deltas show the value added by the optimized schedule. For NSO grants use `nso_calculate`, for RSUs at vest use `rsu_sell_vs_hold`, for §1202 QSBS qualification use `qsbs_check`. Models AMT credit recovery across future years, grant-expiration timing, and the post-termination exercise window. Deterministic computation: federal + 50-state tax tables and AMT brackets are compiled in, and the only data read at call time is OptionsAhoy's own published market data, for a `ticker` or the volatility placeholder. Input values are not stored. `schedules.optimized` comes from searching the full discretized candidate space and refining share by share, and a published test case checks it against an exhaustive search (see https://optionsahoy.com/verification). `departedRecommendation`, when present, comes from a scan over candidate share counts rather than the full search. Also returns `crossoverShares`, `crossoverBargain`, `alreadyInAmt`, `timing`, `stateHasAmt`, `bargainPerShare`, and `effectiveHorizon`; see `outputSchema` for the full shape. The schedules are calculations from the inputs supplied, for planning, not tax or investment advice; the user should have a tax professional confirm a schedule before exercising. Example call: {shares: 10000, strike: 2, fmv: 200, expectedGrowth: 0.15, volatility: 0.5, filingStatus: "married_joint", ordinaryIncome: 400000, stateCode: "CA", carryforwardCredit: 0, horizon: 4, cashReturnRate: 0.05, grantDate: "2022-01-15", hasLeftCompany: false, terminationDate: null}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string "market" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.
| Parameter | Type | Description |
|---|---|---|
| fmv * | number | Current fair market value per share, USD. Anchors year-1 of the growth path; future years compound from here using expectedGrowth and volatilityDrag. Must come from the user. |
| shares * | integer | Total Incentive Stock Option (ISO) shares available to exercise across the planning horizon. Must come from the user. |
| strike * | number | Strike price per share, USD. Must come from the user. |
| ticker | string | Optional public-stock symbol (e.g. "NVDA", "AAPL"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resol… |
| horizon * | integer | Planning horizon in years (1..10). The optimizer searches all feasible per-year share allocations across this many years. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one. |
| grantDate * | string | ISO grant date (YYYY-MM-DD). Drives the 10-year statutory grant expiration (IRC §422) and the 2-year qualifying-disposition threshold from grant. |
| stateCode * | string | Two-letter US state code (e.g. CA, NY, TX). Drives state ordinary brackets, state long-term capital gains (LTCG) treatment, and state AMT (CA, CO, CT, MN). |
| volatility | number | Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool derives the horizon-cumulative drag internally, and the correct formula is horizon-dependent. Resolution order: this value if passed, else the `ticker`'s implied volati… |
{
"name": "amt_iso_optimize",
"description": "Use this when someone asks how or when to exercise incentive stock options (ISOs), whether exercising will trigger an AMT bomb or phantom income, whether to exercise early, how to plan around the alternative minimum tax (AMT) on an exercise, or how to spread ISO exercises across several years. Computes multi-year exercise schedules and compares them by after-tax Net Final Value (NFV) at the planning horizon. NFV is the after-all-tax cash equivalent of the position at year `horizon`, summing exercised shares (held to LTCG) plus the time-valued tax stream paid along the way; the search compares per-year share allocations by NFV. The headline result is `schedules.optimized.nfv`, the dollar NFV of the highest-scoring schedule found; `schedules.lumpSum` and `schedules.evenSplit` are baseline plans whose `nfv` deltas show the value added by the optimized schedule. For NSO grants use `nso_calculate`, for RSUs at vest use `rsu_sell_vs_hold`, for §1202 QSBS qualification use `qsbs_check`. Models AMT credit recovery across future years, grant-expiration timing, and the post-termination exercise window. Deterministic computation: federal + 50-state tax tables and AMT brackets are compiled in, and the only data read at call time is OptionsAhoy's own published market data, for a `ticker` or the volatility placeholder. Input values are not stored. `schedules.optimized` comes from searching the full discretized candidate space and refining share by share, and a published test case checks it against an exhaustive search (see https://optionsahoy.com/verification). `departedRecommendation`, when present, comes from a scan over candidate share counts rather than the full search. Also returns `crossoverShares`, `crossoverBargain`, `alreadyInAmt`, `timing`, `stateHasAmt`, `bargainPerShare`, and `effectiveHorizon`; see `outputSchema` for the full shape. The schedules are calculations from the inputs supplied, for planning, not tax or investment advice; the user should have a tax professional confirm a schedule before exercising. Example call: {shares: 10000, strike: 2, fmv: 200, expectedGrowth: 0.15, volatility: 0.5, filingStatus: \"married_joint\", ordinaryIncome: 400000, stateCode: \"CA\", carryforwardCredit: 0, horizon: 4, cashReturnRate: 0.05, grantDate: \"2022-01-15\", hasLeftCompany: false, terminationDate: null}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string \"market\" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.",
"inputSchema": {
"type": "object",
"required": [
"shares",
"strike",
"fmv",
"filingStatus",
"ordinaryIncome",
"stateCode",
"horizon",
"grantDate",
"hasLeftCompany"
],
"properties": {
"fmv": {
"type": "number",
"minimum": 0,
"description": "Current fair market value per share, USD. Anchors year-1 of the growth path; future years compound from here using expectedGrowth and volatilityDrag. Must come from the user."
},
"shares": {
"type": "integer",
"minimum": 1,
"description": "Total Incentive Stock Option (ISO) shares available to exercise across the planning horizon. Must come from the user."
},
"strike": {
"type": "number",
"minimum": 0,
"description": "Strike price per share, USD. Must come from the user."
},
"ticker": {
"type": "string",
"description": "Optional public-stock symbol (e.g. \"NVDA\", \"AAPL\"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resolve only one, and a vol that is not current resolves as nothing. A field the ticker cannot resolve is treated as not provided: it gets the placeholder its own description names, disclosed in `assumptions` and `assumptionNotice`. Pass the user's figure instead when they have one; never invent a number. The covered-tickers resource (resources/list) lists which symbols resolve growth."
},
"horizon": {
"type": "integer",
"maximum": 10,
"minimum": 1,
"description": "Planning horizon in years (1..10). The optimizer searches all feasible per-year share allocations across this many years. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
},
"grantDate": {
"type": "string",
"format": "date",
"description": "ISO grant date (YYYY-MM-DD). Drives the 10-year statutory grant expiration (IRC §422) and the 2-year qualifying-disposition threshold from grant."
},
"stateCode": {
"enum": [
"AK",
"AL",
"AR",
"AZ",
"CA",
"CO",
"CT",
"DC",
"DE",
"FL",
"GA",
"HI",
"IA",
"ID",
"IL",
"IN",
"KS",
"KY",
"LA",
"MA",
"MD",
"ME",
"MI",
"MN",
"MO",
"MS",
"MT",
"NC",
"ND",
"NE",
"NH",
"NJ",
"NM",
"NV",
"NY",
"OH",
"OK",
"OR",
"PA",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VA",
"VT",
"WA",
"WI",
"WV",
"WY"
],
"type": "string",
"description": "Two-letter US state code (e.g. CA, NY, TX). Drives state ordinary brackets, state long-term capital gains (LTCG) treatment, and state AMT (CA, CO, CT, MN)."
},
"volatility": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool derives the horizon-cumulative drag internally, and the correct formula is horizon-dependent. Resolution order: this value if passed, else the `ticker`'s implied volatility as of the last market close, else the median implied volatility of the public companies OptionsAhoy covers, which the result reports in `assumptions` and `assumptionNotice`."
},
"filingStatus": {
"enum": [
"single",
"married_joint",
"head_household"
],
"type": "string",
"description": "Federal filing status. Drives the ordinary-bracket walk, the AMT exemption tier ($90,100 single / $140,200 MFJ for 2026), and the AMT exemption phaseout start ($500,000 single / $1,000,000 MFJ)."
},
"itemizedTaxes": {
"type": "number",
"minimum": 0,
"description": "Only if you itemize deductions: the state and local taxes deducted on Schedule A, line 7. The AMT adds these back instead of the standard deduction. Omit if you take the standard deduction. When omitted, the AMT add-back defaults to the full standard deduction."
},
"cashReturnRate": {
"type": "number",
"description": "Annual after-tax return on idle cash (decimal), used to time-value the cash-tax stream. 0.05 = 5% (~short-Treasury yield). Optional: defaults to 0.04 (4%, a short-Treasury-like after-tax yield) when omitted, and an explicit value overrides that default. At 0 the math collapses to a nominal sum."
},
"expectedGrowth": {
"type": [
"number",
"string"
],
"description": "Annual expected stock growth as a decimal (0.10 = 10%), or the string \"market\" to use the S&P 500 trailing average when the user has no view. Resolution order: this value, else the `ticker`'s trailing CAGR, else the S&P 500 trailing average, reported as a placeholder in `assumptions` and `assumptionNotice`. A number passed here must come from the user."
},
"hasLeftCompany": {
"type": "boolean",
"description": "True if the user has separated from the company. Activates the 90-day post-termination ISO exercise window measured from terminationDate."
},
"ordinaryIncome": {
"type": "number",
"minimum": 0,
"description": "Annual ordinary income before this exercise, USD. Baseline for the bracket walk and the AMT exemption phaseout. Must come from the user. This is taxable income after deductions, not gross wages: regular tax is figured on it as given. For the AMT the calculation adds the standard deduction back (Form 6251, line 2a), unless `itemizedTaxes` is given, in which case it adds back those taxes instead."
},
"volatilityDrag": {
"type": "number",
"maximum": 0.99,
"minimum": 0,
"description": "Alternative to `volatility`: the multiplicative price haircut already computed for the planning horizon. Supply this OR `volatility` (if both are given, volatilityDrag wins). This field is for a drag figure that already exists from a prior computation; the drag formula is horizon-dependent, so a figure derived for a different horizon does not carry over. Supplying `volatility` instead lets the tool derive it."
},
"terminationDate": {
"oneOf": [
{
"type": "string",
"format": "date"
},
{
"type": "null"
}
],
"description": "Separation date (YYYY-MM-DD). Required only when hasLeftCompany=true (it drives the 90-day exercise-window deadline); omit it or pass null when still employed. No longer in `required` so the common employed case needs no placeholder."
},
"carryforwardCredit": {
"type": "number",
"minimum": 0,
"description": "Existing federal AMT credit (Minimum Tax Credit, Form 8801) carryforward from prior tax years, USD. Recoverable in future years where regular federal tax exceeds tentative minimum tax. Optional; defaults to 0, which is correct for most first-time exercisers. Only a prior-year AMT credit makes it non-zero."
}
}
},
"outputSchema": {
"truncated": true,
"chars": 22256
},
"annotations": {
"title": "ISO/AMT Exercise Optimization",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when someone asks whether to exercise and hold or exercise and sell non-qualified stock options (NSOs), about a cashless exercise or same-day sale of NSOs, or what tax an NSO exercise triggers. After-tax payout on a non-qualified stock option (NSO) exercise: federal (including the 3.8% NIIT on a long-term gain where it applies), state, and FICA (Social Security + Medicare + Additional Medicare), comparing sell-at-exercise vs hold-for-long-term-capital-gains over the chosen horizon. Use for NSOs; for ISOs use `amt_iso_optimize`, for RSUs use `rsu_sell_vs_hold`. Deterministic; tax tables compiled in, and the only data read at call time is OptionsAhoy's own published market data, for a `ticker` or the volatility placeholder. Optional `ticker` resolves `expectedSalePrice` from a bundled trailing-CAGR snapshot. Returns `exercise`, `hold`, `sellNowInvest` (the counterfactual: sell at exercise and reinvest at expectedMarketReturn), `holdMinusCashless` (the dollar delta between those two), and `bracketJump`; see `outputSchema` for the full shape. NSO hold is always long-term (sub-1-year is out of scope), so there is no separate long-term flag. Example call: {shares: 5000, strike: 10, currentPrice: 50, ordinaryIncome: 180000, filingStatus: "single", stateCode: "CA", stillEmployed: true, holdYears: 2, volatility: 0.3, holdFunding: "cash", ticker: "AAPL"}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string "market" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.
| Parameter | Type | Description |
|---|---|---|
| shares * | integer | Non-qualified Stock Option (NSO) shares to exercise. Must come from the user. |
Use this when someone asks whether to sell RSUs at vest or hold them, whether to sell their vested shares or diversify out of company stock, or about the tax and withholding on a restricted stock unit (RSU) vest. After-tax RSU vest analysis: sell-at-vest vs hold-to-long-term-capital-gains (LTCG) over `holdYears`. Covers federal ordinary tax, long-term capital gains tax including the 3.8% NIIT where it applies, state tax, FICA (Social Security + Medicare + Additional Medicare), and the shortfall between mandatory 22% supplemental withholding and the user's marginal bracket. Use for RSUs at vest; for ISO/AMT use `amt_iso_optimize`, for NSO use `nso_calculate`. Deterministic; tax tables compiled in, and the only data read at call time is OptionsAhoy's own published market data, for a `ticker` or the volatility placeholder. Returns `vest`, `hold`, `sellNowInvest`, `holdMinusSell`, and `bracketJump`; see `outputSchema` for the full shape. Example call: {shares: 1000, currentPrice: 100, ordinaryIncome: 200000, filingStatus: "single", stateCode: "CA", stillEmployed: true, holdYears: 2, volatility: 0.3, ticker: "MSFT"}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string "market" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.
| Parameter | Type | Description |
|---|---|---|
| shares * | integer | Restricted Stock Unit (RSU) shares vesting in this tranche. Must come from the user. |
| ticker | string | Optional public-stock symbol (e.g. "NVDA", "AAPL"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resol… |
Use this when someone asks how risky a large single-stock position is, whether too much of their net worth is in one stock, whether they are over-concentrated in a single name, or how to reduce or diversify a concentrated position. Single-stock concentration risk analysis on an existing position. For standalone hedge pricing use `protective_put_price`; for the tax math on the option exercise or RSU vest that created the concentration, route to `amt_iso_optimize` / `nso_calculate` / `rsu_sell_vs_hold` first. Quantifies drawdown exposure at 30/50/70% downside, then compares three after-tax strategies over a three-year horizon (sell-down to target weight, hold, hedge with put or zero-cost collar), accounting for federal LTCG, state tax, the 3.8% Net Investment Income Tax (NIIT), and reinvestment opportunity cost. `totalAssets` (concentrated position + everything else) frames risk relative to the whole portfolio. Returns a top-level object with keys: `concentration` (position/totalAssets), `riskBand` (Low / Moderate / Concentrated / Highly concentrated / Extreme), `isLongTermToday`, `longTermDate`, `daysUntilLongTerm`, `lossExposure` ({drop, dollarLoss, newConcentration} for 30/50/70% drops), `waitForLtInsight`, `schedule` (yearly sales with per-year tax), `hedging` ({kind, protectionLevel, tenorYears, strike, putPrice, callStrike, callPrice, netPremium, sigma, riskFreeRate} - a 1-year 30%-OTM put by default, or the structure named by `hedgeChoice`), `sectorContextLine`, `advisorBenchmarkLine`. Example call: {positionValue: 400000, costBasis: 100000, acquisitionDate: "2022-01-01", sector: "tech_software", stateCode: "CA", filingStatus: "single", ordinaryIncome: 200000, totalAssets: 1200000, volatility: 0.45, ticker: "NVDA"}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string "market" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.
| Parameter |
|---|
Use this when someone asks how much it costs to hedge or protect a stock position against a drop, to protect gains, get downside protection, or limit losses on a position, or to price a protective put, a zero-cost collar, or a put spread. Closed-form pricing of a protective put, a zero-cost collar, and a put spread on a single-stock position. For concentration-vs-hedge tax-cost comparison, use `concentration_analyze` with a `hedgeChoice`. Parameter interactions: `volatility` omitted resolves from `ticker`, else a sector-typical implied volatility; an explicit sigma overrides it. For collars, omitting `upsideCapPct` lets the tool back-solve the cap that zeros the net premium (truly zero-cost collar); supplying `upsideCapPct` overrides the solver and yields a non-zero net premium when the cap is wider than zero-cost. `tenorYears` drives the risk-free-rate lookup AND the floor-hit / cap-hit probability metrics, so changing tenor shifts every probability output even at fixed strike. `expectedReturn` affects only the probability metrics (real-world drift in the floor-hit / cap-hit calculations); premium math is risk-neutral and ignores it (when a chain resolves it defaults to that stock's trailing annualized return, else to the sector's long-run return; never 0). `protectionLevel` sets the put strike as `(1 − protectionLevel) × spot`; raising it widens the protected zone but raises premium roughly linearly. `spreadRiskLevel` (default 0.10) sets the put spread's short strike by targeting the probability the stock ends below it; it affects only the `putSpread` block. The put spread finances the same floor with a short put at a lower strike (not a short call), so it is cheaper than the bare put and needs no shares to sell calls against, which makes it the one structure of the three that works on unexercised employee options; the trade-off is that protection stops at the short strike and losses resume below it. Closed-form and deterministic. With a `ticker` and no explicit `volatility`, each leg prices at its own strike's implied volatility off that stock's listed option chain as of the last close (`pricingMode` "chain-skew"); otherwise all legs price at one sigma ("flat"), understating out-of-the-money protection. Returns a top-level object with keys: `inputs` (echoed canonical input), `riskFreeRate` (used in option pricing), `realWorldDrift` (from expectedReturn), `barePut` (strike, premium, annualCost, annualCostPct, maxLoss, badYearPrice, badYearDropPct, coveredLossAtBadYear, premiumToCoveredRatio, expectedProfit, premiumToExpectedProfitRatio), `collar` (putStrike, callStrike, netPremium, annualCost, annualCostPct, maxLoss, upsideCap, upsideCapPct, isZeroCost, capProbability), `putSpread` (available, unavailableReason, longStrike, longPremium, shortStrike, shortPremium, shortSigma, netPremium, annualCost, annualCostPct, maxLossInBand, bandWidth, shortStrikeDropPct, breachProbability, riskLevel, savingsPct, coveredLossAtBadYear), `payoffTable`, `payoffRange`, and `recommended` (the structure, of collar / bare put / put spread, that the tool's comparison rule selects for these inputs, or none). When `putSpread.available` is false, `putSpread.unavailableReason` explains why that structure could not be priced. Prices are model estimates from the inputs and the option data as of the last close, for planning, not investment advice; the user should confirm a hedge with a financial professional before trading. Example call: {positionValue: 400000, sector: "tech_software", protectionLevel: 0.10, tenorYears: 1, spreadRiskLevel: 0.10}. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/b
Use this when someone asks whether stock qualifies for the qualified small business stock (QSBS) / Section 1202 gain exclusion, whether their startup stock can be sold tax-free, about the 5-year QSBS holding period, or how much of the gain would be federal-tax-free. Section 1202 Qualified Small Business Stock (QSBS) qualification check. Use this tool for §1202 / QSBS qualification. For AMT timing on the ISO exercise that produced the QSBS holding, use `amt_iso_optimize` first. Parameter interactions: `entityType="other"` short-circuits the verdict to `disqualified` regardless of other fields; `acquisitionMethod="secondary"` does the same; `assetCategory="over-75m"` likewise fails immediately. Under `acquisitionMethod="gift-or-inheritance"` the holding period tacks from the original holder, so supply that earlier date as `acquisitionDate` if known. `acquisitionDate` drives era classification independent of holding period: before 2009-02-17 caps exclusion at 50%, 2009-02-17 to 2010-09-27 at 75%, 2010-09-28 through 2025-07-04 reaches 100% after a 5-year hold (pre-OBBBA), and 2025-07-05 onward uses the OBBBA tiered schedule (50% at 3y, 75% at 4y, 100% at 5y). The per-issuer exclusion cap is `max($10M, 10 × adjustedBasis)` ($15M base for stock acquired after July 4, 2025); when `expectedGain` exceeds it, the overage is fully taxable and the response surfaces `taxableGain` for that delta. `industry` is the dominant industry (>80% revenue) when the corp operates in multiple. Evaluates the six statutory tests: domestic C-corporation entity, original-issuance acquisition method, gross assets at issuance (under $50M / $50-75M / over $75M tiered cap), qualified-trade-or-business industry, active-business posture (80% asset use), and holding period (3 / 4 / 5-year tiers under OBBBA). Pure stateless check: no filing, reporting, or IRS lookup happens; the six tests are evaluated against the bundled OBBBA 2026 rule set and per-state conformity table. Returns a top-level object with keys: `verdict` (qualifies / partial / too-soon / caveats / disqualified), `exclusionPercent` (0..1), `perIssuerCap` and `tenXBasisCap` (the two cap inputs), `applicableCap` (max of the two), `excludableGain`, `taxableGain`, `federalTaxSaved` (LTCG bracket on the excluded gain), `stateConforms` (full / partial / none) and `stateNote` (per-state explanation), `holdingYears`, `yearsUntilFullExclusion`, `era` (pre-2009 / pre-2010 / pre-obbba / obbba), and `tests` (array of {id, label, status, detail} for each of the six statutory tests, identifying any gate that failed). Example call: {acquisitionDate: "2020-01-15", saleDate: "2026-06-01", entityType: "us-c-corp", acquisitionMethod: "original-issuance", assetCategory: "under-50m", industry: "tech-software", activeBusiness: "yes", adjustedBasis: 100000, expectedGain: 5000000, stateCode: "CA", ordinaryIncome: 250000, filingStatus: "single"}. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi. For the enum fields that accept `unsure`, that value is the accurate encoding of a fact the user has not confirmed: it marks that test unconfirmed (a `caveats` verdict when the other tests pass), where encoding an unconfirmed fact as yes or no yields a verdict the underlying facts may not support.
Use this when someone asks which shares to sell and when to reach a cash goal by a deadline (down payment, tuition, a tax bill), or how to fund a goal from equity at a lower tax cost. Multi-year, multi-stack equity-funding optimizer. Given a target after-tax amount and a deadline (down payment, tax bill, expansion check), returns four named plans on the risk/wealth frontier: `lockInNow` (sell today, no further exposure to the stock price), `balanced` (bracket-aware spread across months), `holdForGrowth` (sell at the deadline, full exposure to the stock price), and `recommended` (the plan with the most projected wealth among those whose lognormal shortfall probability is at or below `riskToleranceShortfall`, default 10%). Also returns `frontier`, the full hybrid sweep between Lock-in-now and Balanced. Each plan carries its `plan` schedule plus `wealthAtTarget`, `totalTax`, and `shortfallProbability`; see `outputSchema` for the full shape. Use this when an equity holder needs cash by a deadline; for the upstream tax math on RSU/NSO/ISO events that PRODUCED the holdings, call `rsu_sell_vs_hold` / `nso_calculate` / `amt_iso_optimize` first. Out of scope: FICA, AMT, QSBS routing (use `qsbs_check`). Pass multi-ticker holdings via `stacks`; single-stack legacy callers can use top-level `lots` + `currentPrice`. The plans are calculations from the inputs and risk tolerance supplied, for planning, not investment or tax advice; the user should confirm a sale plan with a tax or financial professional before selling. Example: {targetAfterTax: 400000, targetDate: "2028-06-01", stacks: [{ticker: "NVDA", currentPrice: 140, expectedAnnualGrowth: 0.15, volatility: 0.45, lots: [{shares: 4000, costBasisPerShare: 60, acquisitionDate: "2023-06-15"}]}], ordinaryIncome: 280000, filingStatus: "married_joint", stateCode: "CA", cashInterestRate: 0.04, riskToleranceShortfall: 0.10}. Each stack needs `expectedAnnualGrowth`: a decimal, the string "market" (S&P 500 trailing average), or a covered `ticker` that resolves it from the trailing-returns table (a symbol like "NVDA" is enough; volatility still comes from the stack's `volatility` or `defaultVolatility`). Omitting growth (with no ticker that resolves it) assumes the S&P 500 trailing average, disclosed in `assumptions`/`assumptionNotice`, never a silent flat default; pass 0 to model flat prices deliberately. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.
Use this when someone asks which vested RSU lots to sell first, in which years, to divest part of a concentrated company-stock position, compared on total computed tax: "I want to sell down half my Amazon stock; which lots, and when?". Given the vested lots (vest date, shares, cost basis), a current price, and a divest fraction, it compares WHICH lots and WHICH sale dates to use, by computed total tax, to divest that many shares, using three levers: specific-lot identification (sell higher-basis lots to realize less gain, or underwater lots to harvest losses that net against gains), long-term deferral (wait past the one-year mark to convert short-term ordinary rates to long-term capital gains), and multi-year bracket spreading (split gains across 1 to 3 tax years, with in-plan capital-loss carryforward). Every sale is priced at today's price (flat-price assumption; there is no growth model). Returns the year-by-year sell schedule grouped by tax year, the total tax (federal LTCG + NIIT + state), what a first-in-first-out (FIFO) oldest-first sell order on the same schedule would have cost (`headlineDeltaVsFifo`), a 1/2/3-year horizon trade-off, and per-lot deferral callouts. This tool owns WHICH LOTS and WHICH DATES; for WHETHER and HOW MUCH to sell down a position use `concentration_analyze`, for a single new vest use `rsu_sell_vs_hold`, and to raise a specific cash amount by a deadline use `equity_funding_plan`. Out of scope: growth/return modeling, wash-sale basis migration, AMT, unvested grants. The lot order is a calculation from the lots and inputs supplied, for planning, not tax or investment advice; the user should have a tax professional confirm it before selling. Example: {lots: [{vestDate: "2022-08-15", shares: 120, costBasisPerShare: 95}, {vestDate: "2024-02-15", shares: 100, costBasisPerShare: 130}, {vestDate: "2026-05-15", shares: 80, costBasisPerShare: 210}], currentPrice: 180, divestFraction: 0.5, horizonYears: 2, ordinaryIncome: 200000, filingStatus: "single", stateCode: "CA"}. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.
| Parameter | Type | Description |
|---|---|---|
| lots * |
OptionsAhoy's tools compute US equity-compensation tax results from the inputs supplied: ISO exercise schedules and AMT, NSO and RSU sell-or-hold comparisons, RSU lot ordering, single-stock concentration, hedge pricing, QSBS qualification, and sale schedules that fund a cash goal. The multi-year, multi-state tax interactions are computed inside the tools, and the underlying tax math is independently verified. Input discipline, the rule that matters most: never invent an input value. Every number these tools compute on comes from the user, from a documented resolver, or from a documented default or placeholder, and from nothing else. The tools range-check what they are given but cannot tell a supplied figure from a guessed one, so a plausible volatility, growth rate, or income passes validation and returns a confident, wrong answer with no error. An omitted required field returns an error naming that field. When a required value is missing, ask the user for that specific field before calling. Which tool answers which question (one tool per line): - exercising ISOs, or the AMT on an exercise -> amt_iso_optimize - NSO (non-qualified option) exercise, exercise-and-hold vs exercise-and-sell -> nso_calculate - RSU vest, sell-at-vest vs hold -> rsu_sell_vs_hold - how risky or concentrated a single-stock position is, or how to diversify -> concentration_analyze - cost to hedge or protect a position (protective put, collar, put spread) -> protective_put_price - whether a holding qualifies for the QSBS / Section 1202 exclusion -> qsbs_check - which shares to sell and when to reach a cash goal by a deadline -> equity_funding_plan - which vested RSU lots to sell, and in which years, to divest a chosen fraction of a position -> rsu_lot_optimize "Stock options" can mean ISOs or NSOs, which are taxed differently and use different tools (ISO -> amt_iso_optimize, NSO -> nso_calculate), so ask which the user holds when they have not said. equity_funding_plan sizes sales to reach a cash target by a date; rsu_lot_optimize orders the sale of a chosen fraction of vested lots and compares it with selling oldest-first. Ticker: amt_iso_optimize, nso_calculate, rsu_sell_vs_hold, concentration_analyze and protective_put_price accept an optional ticker, resolved from OptionsAhoy's own published market data as of the last close: implied volatility, trailing growth, and for protective_put_price the listed option chain, priced strike by strike. Growth and volatility come from separate sources, so a symbol can resolve one and not the other; the covered-tickers resource under resources/list lists which symbols resolve growth. Fields outside `required` come in a few kinds, and each field description says which. Some carry a documented default: cashReturnRate, expectedMarketReturn, carryforwardCredit, cashInterestRate, riskToleranceShortfall, spreadRiskLevel, and equity_funding_plan's defaultVolatility and per-stack volatility. Omit those, do not ask the user for them, and do not supply a figure of your own. Some get a disclosed placeholder when neither the user nor a ticker supplies them: the expected growth/return/sale-price field gets the S&P 500 trailing average (the string "market" asks for it explicitly), and volatility gets the median implied volatility of the public companies OptionsAhoy covers (protective_put_price uses a sector-typical figure instead). A placeholder appears in the result as `assumptions` plus a plain-language `assumptionNotice`: relay that notice, and if the user has a figure of their own, rerun with it. Some are required only under a stated condition, such as terminationDate once hasLeftCompany is true, or `lots` plus `currentPrice` on equity_funding_plan when `stacks` is not used. The rest are pure enhancers that change what the tool does when supplied and need nothing when absent, such as `ticker`, `tickerLabel` and `hedgeChoice`. volatilityDrag and haircut are for a drag figure the user already has for this exact horizon; othe
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
| filingStatus * | string | Federal filing status. Drives the ordinary-bracket walk, the AMT exemption tier ($90,100 single / $140,200 MFJ for 2026), and the AMT exemption phaseout start ($500,000 single / $1,000,000 MFJ). |
| itemizedTaxes | number | Only if you itemize deductions: the state and local taxes deducted on Schedule A, line 7. The AMT adds these back instead of the standard deduction. Omit if you take the standard deduction. When omitted, the AMT add-back defaults to the full standard deduction. |
| cashReturnRate | number | Annual after-tax return on idle cash (decimal), used to time-value the cash-tax stream. 0.05 = 5% (~short-Treasury yield). Optional: defaults to 0.04 (4%, a short-Treasury-like after-tax yield) when omitted, and an explicit value overrides that default. At 0 the math collapses to a nominal sum. |
| expectedGrowth | ["number","string"] | Annual expected stock growth as a decimal (0.10 = 10%), or the string "market" to use the S&P 500 trailing average when the user has no view. Resolution order: this value, else the `ticker`'s trailing CAGR, else the S&P 500 trailing average, reported as a placeholder in `assumptions` and `assumption… |
| hasLeftCompany * | boolean | True if the user has separated from the company. Activates the 90-day post-termination ISO exercise window measured from terminationDate. |
| ordinaryIncome * | number | Annual ordinary income before this exercise, USD. Baseline for the bracket walk and the AMT exemption phaseout. Must come from the user. This is taxable income after deductions, not gross wages: regular tax is figured on it as given. For the AMT the calculation adds the standard deduction back (Form… |
| volatilityDrag | number | Alternative to `volatility`: the multiplicative price haircut already computed for the planning horizon. Supply this OR `volatility` (if both are given, volatilityDrag wins). This field is for a drag figure that already exists from a prior computation; the drag formula is horizon-dependent, so a fig… |
| terminationDate | any | Separation date (YYYY-MM-DD). Required only when hasLeftCompany=true (it drives the 90-day exercise-window deadline); omit it or pass null when still employed. No longer in `required` so the common employed case needs no placeholder. |
| carryforwardCredit | number | Existing federal AMT credit (Minimum Tax Credit, Form 8801) carryforward from prior tax years, USD. Recoverable in future years where regular federal tax exceeds tentative minimum tax. Optional; defaults to 0, which is correct for most first-time exercisers. Only a prior-year AMT credit makes it non… |
| strike * | number | Strike price per share, USD. Must come from the user. |
| ticker | string | Optional public-stock symbol (e.g. "NVDA", "AAPL"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resol… |
| haircut | number | Alternative to `volatility`: the multiplicative volatility-drag haircut on expectedSalePrice already computed for the hold. Supply this OR `volatility` (if both are given, haircut wins). This field is for a haircut figure that already exists from a prior computation; the haircut formula is horizon-d… |
| holdYears * | number | Years to hold after exercise (minimum 1). At ≥1 year, the appreciation since exercise is LTCG; sub-1-year holds are out of scope. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one. |
| stateCode * | string | Two-letter US state code. Drives state ordinary and LTCG treatment. |
| volatility | number | Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool derives the horizon-cumulative drag internally, and the correct formula is horizon-dependent. Resolution order: this value if passed, else the `ticker`'s implied volati… |
| holdFunding * | string | How the strike cost and exercise tax are funded. 'sell-to-cover' sells enough shares to cover strike + tax (reduces sharesRetained). 'cash' pays strike + tax from outside funds (full sharesRetained); no extra input is needed - the result reports the outside cash required as the output field cashNeed… |
| currentPrice * | number | Current fair market value per share, USD. The bargain element at exercise is shares × (currentPrice − strike). Must come from the user. |
| filingStatus * | string | Federal filing status. Drives ordinary brackets and LTCG brackets used at the hold horizon. |
| stillEmployed * | boolean | True if still employed at exercise. FICA (Social Security + Medicare + Additional Medicare) applies only when true. |
| ordinaryIncome * | number | Annual ordinary income before this exercise, USD. Baseline for the bracket walk on the bargain element. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it. |
| expectedSalePrice | ["number","string"] | Projected $/share at end of holdYears, or the string "market" to project currentPrice at the S&P 500 trailing average when the user has no view. Resolution order: this value, else currentPrice × (1 + the `ticker`'s trailing CAGR)^holdYears, else the same projection at the S&P 500 trailing average, r… |
| expectedMarketReturn | ["number","string"] | Annual after-tax-proceeds reinvestment rate. Defaults to SPY trailing CAGR for holdYears if omitted; the string "market" names that same default explicitly. |
{
"name": "nso_calculate",
"description": "Use this when someone asks whether to exercise and hold or exercise and sell non-qualified stock options (NSOs), about a cashless exercise or same-day sale of NSOs, or what tax an NSO exercise triggers. After-tax payout on a non-qualified stock option (NSO) exercise: federal (including the 3.8% NIIT on a long-term gain where it applies), state, and FICA (Social Security + Medicare + Additional Medicare), comparing sell-at-exercise vs hold-for-long-term-capital-gains over the chosen horizon. Use for NSOs; for ISOs use `amt_iso_optimize`, for RSUs use `rsu_sell_vs_hold`. Deterministic; tax tables compiled in, and the only data read at call time is OptionsAhoy's own published market data, for a `ticker` or the volatility placeholder. Optional `ticker` resolves `expectedSalePrice` from a bundled trailing-CAGR snapshot. Returns `exercise`, `hold`, `sellNowInvest` (the counterfactual: sell at exercise and reinvest at expectedMarketReturn), `holdMinusCashless` (the dollar delta between those two), and `bracketJump`; see `outputSchema` for the full shape. NSO hold is always long-term (sub-1-year is out of scope), so there is no separate long-term flag. Example call: {shares: 5000, strike: 10, currentPrice: 50, ordinaryIncome: 180000, filingStatus: \"single\", stateCode: \"CA\", stillEmployed: true, holdYears: 2, volatility: 0.3, holdFunding: \"cash\", ticker: \"AAPL\"}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string \"market\" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.",
"inputSchema": {
"type": "object",
"required": [
"shares",
"strike",
"currentPrice",
"ordinaryIncome",
"filingStatus",
"stateCode",
"stillEmployed",
"holdYears",
"holdFunding"
],
"properties": {
"shares": {
"type": "integer",
"minimum": 1,
"description": "Non-qualified Stock Option (NSO) shares to exercise. Must come from the user."
},
"strike": {
"type": "number",
"minimum": 0,
"description": "Strike price per share, USD. Must come from the user."
},
"ticker": {
"type": "string",
"description": "Optional public-stock symbol (e.g. \"NVDA\", \"AAPL\"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resolve only one, and a vol that is not current resolves as nothing. A field the ticker cannot resolve is treated as not provided: it gets the placeholder its own description names, disclosed in `assumptions` and `assumptionNotice`. Pass the user's figure instead when they have one; never invent a number. The covered-tickers resource (resources/list) lists which symbols resolve growth."
},
"haircut": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Alternative to `volatility`: the multiplicative volatility-drag haircut on expectedSalePrice already computed for the hold. Supply this OR `volatility` (if both are given, haircut wins). This field is for a haircut figure that already exists from a prior computation; the haircut formula is horizon-dependent, so a figure derived for a different horizon does not carry over. Supplying `volatility` instead lets the tool derive it."
},
"holdYears": {
"type": "number",
"minimum": 1,
"description": "Years to hold after exercise (minimum 1). At ≥1 year, the appreciation since exercise is LTCG; sub-1-year holds are out of scope. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
},
"stateCode": {
"enum": [
"AK",
"AL",
"AR",
"AZ",
"CA",
"CO",
"CT",
"DC",
"DE",
"FL",
"GA",
"HI",
"IA",
"ID",
"IL",
"IN",
"KS",
"KY",
"LA",
"MA",
"MD",
"ME",
"MI",
"MN",
"MO",
"MS",
"MT",
"NC",
"ND",
"NE",
"NH",
"NJ",
"NM",
"NV",
"NY",
"OH",
"OK",
"OR",
"PA",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VA",
"VT",
"WA",
"WI",
"WV",
"WY"
],
"type": "string",
"description": "Two-letter US state code. Drives state ordinary and LTCG treatment."
},
"volatility": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool derives the horizon-cumulative drag internally, and the correct formula is horizon-dependent. Resolution order: this value if passed, else the `ticker`'s implied volatility as of the last market close, else the median implied volatility of the public companies OptionsAhoy covers, which the result reports in `assumptions` and `assumptionNotice`."
},
"holdFunding": {
"enum": [
"sell-to-cover",
"cash"
],
"type": "string",
"description": "How the strike cost and exercise tax are funded. 'sell-to-cover' sells enough shares to cover strike + tax (reduces sharesRetained). 'cash' pays strike + tax from outside funds (full sharesRetained); no extra input is needed - the result reports the outside cash required as the output field cashNeededAtExercise."
},
"currentPrice": {
"type": "number",
"minimum": 0,
"description": "Current fair market value per share, USD. The bargain element at exercise is shares × (currentPrice − strike). Must come from the user."
},
"filingStatus": {
"enum": [
"single",
"married_joint",
"head_household"
],
"type": "string",
"description": "Federal filing status. Drives ordinary brackets and LTCG brackets used at the hold horizon."
},
"stillEmployed": {
"type": "boolean",
"description": "True if still employed at exercise. FICA (Social Security + Medicare + Additional Medicare) applies only when true."
},
"ordinaryIncome": {
"type": "number",
"minimum": 0,
"description": "Annual ordinary income before this exercise, USD. Baseline for the bracket walk on the bargain element. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
},
"expectedSalePrice": {
"type": [
"number",
"string"
],
"minimum": 0,
"description": "Projected $/share at end of holdYears, or the string \"market\" to project currentPrice at the S&P 500 trailing average when the user has no view. Resolution order: this value, else currentPrice × (1 + the `ticker`'s trailing CAGR)^holdYears, else the same projection at the S&P 500 trailing average, reported as a placeholder in `assumptions` and `assumptionNotice`. A price passed here must come from the user."
},
"expectedMarketReturn": {
"type": [
"number",
"string"
],
"description": "Annual after-tax-proceeds reinvestment rate. Defaults to SPY trailing CAGR for holdYears if omitted; the string \"market\" names that same default explicitly."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"exercise",
"bracketJump",
"hold",
"sellNowInvest",
"holdMinusCashless"
],
"properties": {
"hold": {
"type": "object",
"required": [
"funding",
"costBasis",
"strikeCost",
"cashNeededAtExercise",
"sharesSoldToCover",
"sharesRetained",
"effectiveSalePrice",
"expectedGain",
"ltcgFederal",
"ltcgState",
"ltcgTotal",
"afterTaxProceedsAtSale",
"y0OutflowGain",
"y0OutflowLtcgFederal",
"y0OutflowLtcgState",
"y0OutflowLtcgTotal",
"y0OutflowForgoneNet",
"netAtYearN"
],
"properties": {
"funding": {
"enum": [
"sell-to-cover",
"cash"
],
"type": "string",
"description": "How strike cost and exercise tax are funded (echo of holdFunding)."
},
"costBasis": {
"type": "number",
"description": "Cost basis per share in dollars (the FMV at exercise)."
},
"ltcgState": {
"type": "number",
"description": "State capital gains tax on the gain in dollars."
},
"ltcgTotal": {
"type": "number",
"description": "Total capital gains tax at sale in dollars."
},
"netAtYearN": {
"type": "number",
"description": "Net after-tax value of the hold strategy in dollars at end of holdYears (after subtracting forgone market growth)."
},
"strikeCost": {
"type": "number",
"description": "Total strike cost in dollars: shares x strike."
},
"ltcgFederal": {
"type": "number",
"description": "Federal long-term capital gains tax (including NIIT) on the gain in dollars."
},
"expectedGain": {
"type": "number",
"description": "Expected capital gain in dollars on the retained shares at sale."
},
"y0OutflowGain": {
"type": "number",
"description": "Opportunity-cost gain in dollars the year-0 cash outflow would have earned at the market rate (cash funding only; 0 for sell-to-cover)."
},
"sharesRetained": {
"type": "number",
"description": "Shares still held after funding the exercise."
},
"sharesSoldToCover": {
"type": "number",
"description": "Shares sold at exercise to cover strike + tax (sell-to-cover only; 0 in cash mode)."
},
"effectiveSalePrice": {
"type": "number",
"description": "Projected sale price per share in dollars at end of holdYears, after the volatility haircut."
},
"y0OutflowLtcgState": {
"type": "number",
"description": "State capital gains tax in dollars on the forgone market gain (cash funding only)."
},
"y0OutflowLtcgTotal": {
"type": "number",
"description": "Total capital gains tax in dollars on the forgone market gain (cash funding only)."
},
"y0OutflowForgoneNet": {
"type": "number",
"description": "After-tax market growth forgone in dollars by spending cash at exercise: y0OutflowGain - y0OutflowLtcgTotal."
},
"cashNeededAtExercise": {
"type": "number",
"description": "Outside cash required at exercise in dollars (strike + tax under cash funding; 0 under sell-to-cover)."
},
"y0OutflowLtcgFederal": {
"type": "number",
"description": "Federal capital gains tax in dollars on the forgone market gain (cash funding only)."
},
"afterTaxProceedsAtSale": {
"type": "number",
"description": "After-tax sale proceeds in dollars at end of holdYears."
}
},
"description": "Exercise now and hold the shares holdYears for long-term capital gains treatment."
},
"exercise": {
"type": "object",
"required": [
"bargainElement",
"federal",
"state",
"socialSecurity",
"medicare",
"additionalMedicare",
"total",
"netCashSellAll"
],
"properties": {
"state": {
"type": "number",
"description": "State income tax on the bargain element in dollars."
},
"total": {
"type": "number",
"description": "Total tax at exercise in dollars."
},
"federal": {
"type": "number",
"description": "Federal ordinary income tax on the bargain element in dollars."
},
"medicare": {
"type": "number",
"description": "Medicare tax in dollars."
},
"bargainElement": {
"type": "number",
"description": "shares x (currentPrice - strike) in dollars, taxed as ordinary income at exercise."
},
"netCashSellAll": {
"type": "number",
"description": "bargainElement - total: net cash in dollars if every share is sold at exercise."
},
"socialSecurity": {
"type": "number",
"description": "Social Security tax in dollars (0 when not employed or already past the wage base)."
},
"additionalMedicare": {
"type": "number",
"description": "Additional Medicare (0.9%) tax in dollars."
}
},
"description": "Tax bill at exercise on the bargain element (taxed as ordinary W-2 income)."
},
"assumptions": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"value",
"annualRate",
"basis",
"reason"
],
"properties": {
"basis": {
"type": "string"
},
"field": {
"type": "string"
},
"value": {
"type": "number"
},
"reason": {
"type": "string"
},
"annualRate": {
"type": "number"
}
}
},
"description": "Present only when a placeholder stood in for a growth or volatility input the user did not supply, one entry per such input: `field` (the input), `value` (what it took: a rate, or for expectedSalePrice a $/share price), `annualRate` (the rate behind it), and `basis` and `reason` in words."
},
"bracketJump": {
"type": [
"object",
"null"
],
"required": [
"fromRate",
"toRate",
"thresholdAtJump"
],
"properties": {
"toRate": {
"type": "number",
"description": "Marginal federal rate after the event, as a decimal."
},
"fromRate": {
"type": "number",
"description": "Marginal federal rate before the event, as a decimal (0.24 = 24%)."
},
"thresholdAtJump": {
"type": "number",
"description": "Taxable-income threshold in dollars where the bracket changes."
}
},
"description": "Marginal federal bracket change caused by the new ordinary income; null when the income stays within one bracket."
},
"sellNowInvest": {
"type": "object",
"required": [
"netCashAtY0",
"marketGain",
"ltcgFederal",
"ltcgState",
"ltcgTotal",
"netAtYearN"
],
"properties": {
"ltcgState": {
"type": "number",
"description": "State capital gains tax in dollars on the market gain."
},
"ltcgTotal": {
"type": "number",
"description": "Total capital gains tax in dollars on the market gain."
},
"marketGain": {
"type": "number",
"description": "Market growth in dollars on the reinvested cash over holdYears."
},
"netAtYearN": {
"type": "number",
"description": "Net after-tax value of sell-now-and-invest in dollars at end of holdYears."
},
"ltcgFederal": {
"type": "number",
"description": "Federal capital gains tax (including NIIT) in dollars on the market gain at the horizon."
},
"netCashAtY0": {
"type": "number",
"description": "Net cash in dollars after exercise tax, available to reinvest."
}
},
"description": "Counterfactual: sell every share at exercise and reinvest the net cash at expectedMarketReturn for holdYears."
},
"assumptionNotice": {
"type": "string",
"description": "Present with `assumptions`: one plain-language sentence naming each placeholder, written to be relayed to the user."
},
"holdMinusCashless": {
"type": "number",
"description": "hold.netAtYearN - sellNowInvest.netAtYearN in dollars. Positive favors holding the shares; negative favors selling at exercise and reinvesting."
}
},
"description": "NSO exercise sell-vs-hold result. All dollar amounts are USD."
},
"annotations": {
"title": "NSO Sell-vs-Hold Analysis",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| haircut | number | Alternative to `volatility`: the multiplicative volatility-drag haircut on expectedSalePrice already computed for the hold. Supply this OR `volatility` (if both are given, haircut wins). This field is for a haircut figure that already exists from a prior computation; the haircut formula is horizon-d… |
| holdYears * | number | Years to hold after vest (0.25..5). Below 1 year triggers the short-term capital gains cliff (ordinary rates on appreciation). The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one. |
| stateCode * | string | Two-letter US state code. |
| volatility | number | Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool derives the horizon-cumulative drag internally, and the correct formula is horizon-dependent. Resolution order: this value if passed, else the `ticker`'s implied volati… |
| currentPrice * | number | Fair market value per share at vest, USD. Also the cost basis on retained shares. Must come from the user. |
| filingStatus * | string | Federal filing status. |
| stillEmployed * | boolean | True if still employed at vest. Drives FICA applicability and whether the 22% supplemental withholding rule applies. |
| ordinaryIncome * | number | Annual ordinary income before this vest, USD. Baseline for the bracket walk on the vest amount. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it. |
| expectedSalePrice | ["number","string"] | Projected $/share at end of holdYears, or the string "market" to project currentPrice at the S&P 500 trailing average when the user has no view. Resolution order: this value, else currentPrice × (1 + the `ticker`'s trailing CAGR)^holdYears, else the same projection at the S&P 500 trailing average, r… |
| expectedMarketReturn | ["number","string"] | Annual after-tax-proceeds reinvestment rate. Defaults to SPY trailing CAGR for holdYears if omitted; the string "market" names that same default explicitly. |
{
"name": "rsu_sell_vs_hold",
"description": "Use this when someone asks whether to sell RSUs at vest or hold them, whether to sell their vested shares or diversify out of company stock, or about the tax and withholding on a restricted stock unit (RSU) vest. After-tax RSU vest analysis: sell-at-vest vs hold-to-long-term-capital-gains (LTCG) over `holdYears`. Covers federal ordinary tax, long-term capital gains tax including the 3.8% NIIT where it applies, state tax, FICA (Social Security + Medicare + Additional Medicare), and the shortfall between mandatory 22% supplemental withholding and the user's marginal bracket. Use for RSUs at vest; for ISO/AMT use `amt_iso_optimize`, for NSO use `nso_calculate`. Deterministic; tax tables compiled in, and the only data read at call time is OptionsAhoy's own published market data, for a `ticker` or the volatility placeholder. Returns `vest`, `hold`, `sellNowInvest`, `holdMinusSell`, and `bracketJump`; see `outputSchema` for the full shape. Example call: {shares: 1000, currentPrice: 100, ordinaryIncome: 200000, filingStatus: \"single\", stateCode: \"CA\", stillEmployed: true, holdYears: 2, volatility: 0.3, ticker: \"MSFT\"}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string \"market\" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.",
"inputSchema": {
"type": "object",
"required": [
"shares",
"currentPrice",
"ordinaryIncome",
"filingStatus",
"stateCode",
"stillEmployed",
"holdYears"
],
"properties": {
"shares": {
"type": "integer",
"minimum": 1,
"description": "Restricted Stock Unit (RSU) shares vesting in this tranche. Must come from the user."
},
"ticker": {
"type": "string",
"description": "Optional public-stock symbol (e.g. \"NVDA\", \"AAPL\"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resolve only one, and a vol that is not current resolves as nothing. A field the ticker cannot resolve is treated as not provided: it gets the placeholder its own description names, disclosed in `assumptions` and `assumptionNotice`. Pass the user's figure instead when they have one; never invent a number. The covered-tickers resource (resources/list) lists which symbols resolve growth."
},
"haircut": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Alternative to `volatility`: the multiplicative volatility-drag haircut on expectedSalePrice already computed for the hold. Supply this OR `volatility` (if both are given, haircut wins). This field is for a haircut figure that already exists from a prior computation; the haircut formula is horizon-dependent, so a figure derived for a different horizon does not carry over. Supplying `volatility` instead lets the tool derive it."
},
"holdYears": {
"type": "number",
"maximum": 5,
"minimum": 0.25,
"description": "Years to hold after vest (0.25..5). Below 1 year triggers the short-term capital gains cliff (ordinary rates on appreciation). The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
},
"stateCode": {
"enum": [
"AK",
"AL",
"AR",
"AZ",
"CA",
"CO",
"CT",
"DC",
"DE",
"FL",
"GA",
"HI",
"IA",
"ID",
"IL",
"IN",
"KS",
"KY",
"LA",
"MA",
"MD",
"ME",
"MI",
"MN",
"MO",
"MS",
"MT",
"NC",
"ND",
"NE",
"NH",
"NJ",
"NM",
"NV",
"NY",
"OH",
"OK",
"OR",
"PA",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VA",
"VT",
"WA",
"WI",
"WV",
"WY"
],
"type": "string",
"description": "Two-letter US state code."
},
"volatility": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool derives the horizon-cumulative drag internally, and the correct formula is horizon-dependent. Resolution order: this value if passed, else the `ticker`'s implied volatility as of the last market close, else the median implied volatility of the public companies OptionsAhoy covers, which the result reports in `assumptions` and `assumptionNotice`."
},
"currentPrice": {
"type": "number",
"minimum": 0,
"description": "Fair market value per share at vest, USD. Also the cost basis on retained shares. Must come from the user."
},
"filingStatus": {
"enum": [
"single",
"married_joint",
"head_household"
],
"type": "string",
"description": "Federal filing status."
},
"stillEmployed": {
"type": "boolean",
"description": "True if still employed at vest. Drives FICA applicability and whether the 22% supplemental withholding rule applies."
},
"ordinaryIncome": {
"type": "number",
"minimum": 0,
"description": "Annual ordinary income before this vest, USD. Baseline for the bracket walk on the vest amount. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
},
"expectedSalePrice": {
"type": [
"number",
"string"
],
"minimum": 0,
"description": "Projected $/share at end of holdYears, or the string \"market\" to project currentPrice at the S&P 500 trailing average when the user has no view. Resolution order: this value, else currentPrice × (1 + the `ticker`'s trailing CAGR)^holdYears, else the same projection at the S&P 500 trailing average, reported as a placeholder in `assumptions` and `assumptionNotice`. A price passed here must come from the user."
},
"expectedMarketReturn": {
"type": [
"number",
"string"
],
"description": "Annual after-tax-proceeds reinvestment rate. Defaults to SPY trailing CAGR for holdYears if omitted; the string \"market\" names that same default explicitly."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"vest",
"bracketJump",
"hold",
"sellNowInvest",
"holdMinusSell"
],
"properties": {
"hold": {
"type": "object",
"required": [
"costBasis",
"effectiveSalePrice",
"sharesRetained",
"expectedGain",
"capGainFederal",
"capGainState",
"capGainTotal",
"isLongTerm",
"netAtYearN"
],
"properties": {
"costBasis": {
"type": "number",
"description": "Cost basis per share in dollars (FMV at vest)."
},
"isLongTerm": {
"type": "boolean",
"description": "True when holdYears >= 1, so appreciation gets long-term capital gains treatment."
},
"netAtYearN": {
"type": "number",
"description": "Net after-tax value of holding in dollars at end of holdYears: sale proceeds - capGainTotal."
},
"capGainState": {
"type": "number",
"description": "State capital gains tax in dollars on the gain."
},
"capGainTotal": {
"type": "number",
"description": "Total capital gains tax in dollars at sale."
},
"expectedGain": {
"type": "number",
"description": "Expected capital gain in dollars on the retained shares: (effectiveSalePrice - costBasis) x sharesRetained."
},
"capGainFederal": {
"type": "number",
"description": "Federal capital gains tax in dollars on the gain: LTCG (including NIIT) when isLongTerm, else the marginal ordinary rate."
},
"sharesRetained": {
"type": "number",
"description": "Shares kept after the sell-to-cover dollar-equivalent of the vest tax."
},
"effectiveSalePrice": {
"type": "number",
"description": "Projected sale price per share in dollars at end of holdYears, after the volatility haircut."
}
},
"description": "Keep the after-tax shares for holdYears, then sell."
},
"vest": {
"type": "object",
"required": [
"vestValue",
"federal",
"state",
"socialSecurity",
"medicare",
"additionalMedicare",
"total",
"netCashAtVest",
"federalWithheldAtVest"
],
"properties": {
"state": {
"type": "number",
"description": "State income tax on the vest value in dollars."
},
"total": {
"type": "number",
"description": "Total tax at vest in dollars."
},
"federal": {
"type": "number",
"description": "True federal ordinary income tax on the vest value in dollars (marginal bracket, not the withholding)."
},
"medicare": {
"type": "number",
"description": "Medicare tax in dollars."
},
"vestValue": {
"type": "number",
"description": "shares x currentPrice in dollars, taxed as ordinary income at vest."
},
"netCashAtVest": {
"type": "number",
"description": "vestValue - total: net cash in dollars if every share is sold at vest."
},
"socialSecurity": {
"type": "number",
"description": "Social Security tax in dollars (0 when not employed or already past the wage base)."
},
"additionalMedicare": {
"type": "number",
"description": "Additional Medicare (0.9%) tax in dollars."
},
"federalWithheldAtVest": {
"type": "number",
"description": "Mandatory federal supplemental withholding in dollars (22% on the first $1M of supplemental wages, 37% above). When less than vest.federal, the difference is owed at tax time."
}
},
"description": "Tax bill at vest on the full vest value (taxed as ordinary W-2 income)."
},
"assumptions": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"value",
"annualRate",
"basis",
"reason"
],
"properties": {
"basis": {
"type": "string"
},
"field": {
"type": "string"
},
"value": {
"type": "number"
},
"reason": {
"type": "string"
},
"annualRate": {
"type": "number"
}
}
},
"description": "Present only when a placeholder stood in for a growth or volatility input the user did not supply, one entry per such input: `field` (the input), `value` (what it took: a rate, or for expectedSalePrice a $/share price), `annualRate` (the rate behind it), and `basis` and `reason` in words."
},
"bracketJump": {
"type": [
"object",
"null"
],
"required": [
"fromRate",
"toRate",
"thresholdAtJump"
],
"properties": {
"toRate": {
"type": "number",
"description": "Marginal federal rate after the event, as a decimal."
},
"fromRate": {
"type": "number",
"description": "Marginal federal rate before the event, as a decimal (0.24 = 24%)."
},
"thresholdAtJump": {
"type": "number",
"description": "Taxable-income threshold in dollars where the bracket changes."
}
},
"description": "Marginal federal bracket change caused by the new ordinary income; null when the income stays within one bracket."
},
"holdMinusSell": {
"type": "number",
"description": "hold.netAtYearN - sellNowInvest.netAtYearN in dollars. Positive favors holding the vested shares; negative favors selling at vest and reinvesting."
},
"sellNowInvest": {
"type": "object",
"required": [
"netCashAtY0",
"marketGain",
"capGainFederal",
"capGainState",
"capGainTotal",
"isLongTerm",
"netAtYearN"
],
"properties": {
"isLongTerm": {
"type": "boolean",
"description": "True when holdYears >= 1."
},
"marketGain": {
"type": "number",
"description": "Market growth in dollars on the reinvested cash over holdYears."
},
"netAtYearN": {
"type": "number",
"description": "Net after-tax value of sell-at-vest-and-invest in dollars at end of holdYears."
},
"netCashAtY0": {
"type": "number",
"description": "Net cash in dollars at vest available to reinvest (equals vest.netCashAtVest)."
},
"capGainState": {
"type": "number",
"description": "State capital gains tax in dollars on the market gain."
},
"capGainTotal": {
"type": "number",
"description": "Total capital gains tax in dollars on the market gain."
},
"capGainFederal": {
"type": "number",
"description": "Federal capital gains tax in dollars on the market gain: LTCG (including NIIT) when isLongTerm, else the marginal ordinary rate."
}
},
"description": "Counterfactual: sell every share at vest and reinvest the net cash at expectedMarketReturn for holdYears."
},
"assumptionNotice": {
"type": "string",
"description": "Present with `assumptions`: one plain-language sentence naming each placeholder, written to be relayed to the user."
}
},
"description": "RSU sell-at-vest vs hold result. All dollar amounts are USD."
},
"annotations": {
"title": "RSU Sell-at-Vest vs Hold",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| Type |
|---|
| Description |
|---|
| sector * | string | Sector tag. Sets the sector context line, and the sector-typical implied volatility the hedge is priced at when `volatilityDrag` is given without `volatility` or a `ticker` that resolves one. |
| ticker | string | Optional public-stock symbol (e.g. "NVDA", "AAPL"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resol… |
| costBasis * | number | Total cost basis of the position, USD (sum of strikes paid + ordinary-income inclusions on RSU vest / NSO exercise / disqualified ISO). Must come from the user. |
| stateCode * | string | Two-letter US state code. Drives state LTCG and ordinary brackets. |
| volatility | number | Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool uses it both for hedge pricing (as implied vol) and for the 3y horizon drag, derived internally (the drag formula is horizon-dependent). Resolution order: this value if… |
| hedgeChoice | object | Optional hedge specification. When supplied, the `hedging` output block prices this exact structure (kind, protectionLevel, tenorYears, plus a short call for a collar) instead of the default 1-year 30%-OTM put; the sell-down-vs-hold schedule is unaffected. For full standalone hedge pricing (protecti… |
| totalAssets * | number | Total investable portfolio in dollars (concentrated position + everything else). This value must come from the user, never inferred; if the user did not state it, ask. |
| filingStatus * | string | Federal filing status. Drives LTCG brackets and the NIIT MAGI threshold. |
| positionValue * | number | Current market value of the concentrated single-stock position, USD. Must come from the user. |
| ordinaryIncome * | number | Annual ordinary income before any sales, USD. Baseline for LTCG bracket determination. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it. |
| volatilityDrag | number | Alternative to `volatility`: the multiplicative price haircut already computed for the horizon. Supply this OR `volatility` (if both are given, volatilityDrag wins). This field is for a drag figure that already exists from a prior computation; the drag formula is horizon-dependent, so a figure deriv… |
| acquisitionDate * | string | Earliest acquisition date in the lot (YYYY-MM-DD). Drives the 1-year LTCG threshold and the long-term-vs-short-term tax routing. |
| expectedMarketReturn | ["number","string"] | Annual after-tax-proceeds reinvestment rate. Defaults to SPY trailing CAGR for the 3-year horizon if omitted; the string "market" names that same default explicitly. |
| expectedPositionReturn | ["number","string"] | Annual expected return on the concentrated stock as a decimal (0.10 = 10%), or the string "market" to use the S&P 500 trailing average when the user has no view. Resolution order: this value, else the `ticker`'s trailing CAGR, else the S&P 500 trailing average, reported as a placeholder in `assumpti… |
{
"name": "concentration_analyze",
"description": "Use this when someone asks how risky a large single-stock position is, whether too much of their net worth is in one stock, whether they are over-concentrated in a single name, or how to reduce or diversify a concentrated position. Single-stock concentration risk analysis on an existing position. For standalone hedge pricing use `protective_put_price`; for the tax math on the option exercise or RSU vest that created the concentration, route to `amt_iso_optimize` / `nso_calculate` / `rsu_sell_vs_hold` first. Quantifies drawdown exposure at 30/50/70% downside, then compares three after-tax strategies over a three-year horizon (sell-down to target weight, hold, hedge with put or zero-cost collar), accounting for federal LTCG, state tax, the 3.8% Net Investment Income Tax (NIIT), and reinvestment opportunity cost. `totalAssets` (concentrated position + everything else) frames risk relative to the whole portfolio. Returns a top-level object with keys: `concentration` (position/totalAssets), `riskBand` (Low / Moderate / Concentrated / Highly concentrated / Extreme), `isLongTermToday`, `longTermDate`, `daysUntilLongTerm`, `lossExposure` ({drop, dollarLoss, newConcentration} for 30/50/70% drops), `waitForLtInsight`, `schedule` (yearly sales with per-year tax), `hedging` ({kind, protectionLevel, tenorYears, strike, putPrice, callStrike, callPrice, netPremium, sigma, riskFreeRate} - a 1-year 30%-OTM put by default, or the structure named by `hedgeChoice`), `sectorContextLine`, `advisorBenchmarkLine`. Example call: {positionValue: 400000, costBasis: 100000, acquisitionDate: \"2022-01-01\", sector: \"tech_software\", stateCode: \"CA\", filingStatus: \"single\", ordinaryIncome: 200000, totalAssets: 1200000, volatility: 0.45, ticker: \"NVDA\"}. The expected growth (or return, or sale price) and the volatility come from the user, from a covered public-stock `ticker`, or, for growth only, from the string \"market\" (the S&P 500 trailing average). With none of these, the tool uses the S&P 500 trailing average for growth and the median implied volatility of the companies OptionsAhoy covers for volatility, both labeled as placeholders in `assumptions` and `assumptionNotice`. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.",
"inputSchema": {
"type": "object",
"required": [
"positionValue",
"costBasis",
"acquisitionDate",
"sector",
"stateCode",
"filingStatus",
"ordinaryIncome",
"totalAssets"
],
"properties": {
"sector": {
"enum": [
"tech_software",
"semiconductors",
"consumer_cyclical",
"consumer_defensive",
"financials",
"healthcare_biotech",
"energy",
"industrials",
"communication",
"broad_market"
],
"type": "string",
"description": "Sector tag. Sets the sector context line, and the sector-typical implied volatility the hedge is priced at when `volatilityDrag` is given without `volatility` or a `ticker` that resolves one."
},
"ticker": {
"type": "string",
"description": "Optional public-stock symbol (e.g. \"NVDA\", \"AAPL\"). When set, the tool substitutes a cached trailing return for any unsupplied expected-return / sale-price field, and the implied vol as of the last close for any unsupplied volatility. Growth and vol come from different sources, so some symbols resolve only one, and a vol that is not current resolves as nothing. A field the ticker cannot resolve is treated as not provided: it gets the placeholder its own description names, disclosed in `assumptions` and `assumptionNotice`. Pass the user's figure instead when they have one; never invent a number. The covered-tickers resource (resources/list) lists which symbols resolve growth."
},
"costBasis": {
"type": "number",
"minimum": 0,
"description": "Total cost basis of the position, USD (sum of strikes paid + ordinary-income inclusions on RSU vest / NSO exercise / disqualified ISO). Must come from the user."
},
"stateCode": {
"enum": [
"AK",
"AL",
"AR",
"AZ",
"CA",
"CO",
"CT",
"DC",
"DE",
"FL",
"GA",
"HI",
"IA",
"ID",
"IL",
"IN",
"KS",
"KY",
"LA",
"MA",
"MD",
"ME",
"MI",
"MN",
"MO",
"MS",
"MT",
"NC",
"ND",
"NE",
"NH",
"NJ",
"NM",
"NV",
"NY",
"OH",
"OK",
"OR",
"PA",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VA",
"VT",
"WA",
"WI",
"WV",
"WY"
],
"type": "string",
"description": "Two-letter US state code. Drives state LTCG and ordinary brackets."
},
"volatility": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "Annualized volatility (sigma) of the stock as a decimal (0.72 = 72%). Pass the volatility itself, not a pre-computed drag: the tool uses it both for hedge pricing (as implied vol) and for the 3y horizon drag, derived internally (the drag formula is horizon-dependent). Resolution order: this value if passed, else the `ticker`'s implied volatility as of the last market close, else the median implied volatility of the public companies OptionsAhoy covers, which the result reports in `assumptions` and `assumptionNotice`. When only `volatilityDrag` is given, hedge pricing uses a sector-typical implied volatility."
},
"hedgeChoice": {
"type": "object",
"required": [
"kind",
"protectionLevel",
"tenorYears"
],
"properties": {
"kind": {
"enum": [
"put",
"collar"
],
"type": "string",
"description": "Hedge instrument: 'put' (bare protective put, pay premium for downside protection) or 'collar' (put financed by a short call, caps upside in exchange for lower or zero net premium)."
},
"tenorYears": {
"type": "number",
"minimum": 0.25,
"description": "Option tenor in years. 1 = 12-month; 0.25 = ~90-day. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
},
"upsideCapPct": {
"type": "number",
"description": "For collars only: optional explicit upside cap as fraction above spot (e.g. 0.20 = 20% cap). Omit to let the tool solve for the cap that makes the collar zero-net-premium."
},
"protectionLevel": {
"type": "number",
"maximum": 0.5,
"minimum": 0.05,
"description": "Put strike chosen as (1 − this fraction) × spot. 0.10 = 10% OTM put. Range 0.05..0.50. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
}
},
"description": "Optional hedge specification. When supplied, the `hedging` output block prices this exact structure (kind, protectionLevel, tenorYears, plus a short call for a collar) instead of the default 1-year 30%-OTM put; the sell-down-vs-hold schedule is unaffected. For full standalone hedge pricing (protective put / collar / put spread) use `protective_put_price`."
},
"totalAssets": {
"type": "number",
"minimum": 0,
"description": "Total investable portfolio in dollars (concentrated position + everything else). This value must come from the user, never inferred; if the user did not state it, ask."
},
"filingStatus": {
"enum": [
"single",
"married_joint",
"head_household"
],
"type": "string",
"description": "Federal filing status. Drives LTCG brackets and the NIIT MAGI threshold."
},
"positionValue": {
"type": "number",
"minimum": 0,
"description": "Current market value of the concentrated single-stock position, USD. Must come from the user."
},
"ordinaryIncome": {
"type": "number",
"minimum": 0,
"description": "Annual ordinary income before any sales, USD. Baseline for LTCG bracket determination. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
},
"volatilityDrag": {
"type": "number",
"maximum": 0.99,
"minimum": 0,
"description": "Alternative to `volatility`: the multiplicative price haircut already computed for the horizon. Supply this OR `volatility` (if both are given, volatilityDrag wins). This field is for a drag figure that already exists from a prior computation; the drag formula is horizon-dependent, so a figure derived for a different horizon does not carry over. Supplying `volatility` instead lets the tool derive it."
},
"acquisitionDate": {
"type": "string",
"format": "date",
"description": "Earliest acquisition date in the lot (YYYY-MM-DD). Drives the 1-year LTCG threshold and the long-term-vs-short-term tax routing."
},
"expectedMarketReturn": {
"type": [
"number",
"string"
],
"description": "Annual after-tax-proceeds reinvestment rate. Defaults to SPY trailing CAGR for the 3-year horizon if omitted; the string \"market\" names that same default explicitly."
},
"expectedPositionReturn": {
"type": [
"number",
"string"
],
"description": "Annual expected return on the concentrated stock as a decimal (0.10 = 10%), or the string \"market\" to use the S&P 500 trailing average when the user has no view. Resolution order: this value, else the `ticker`'s trailing CAGR, else the S&P 500 trailing average, reported as a placeholder in `assumptions` and `assumptionNotice`. A number passed here must come from the user."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"concentration",
"riskBand",
"isLongTermToday",
"longTermDate",
"daysUntilLongTerm",
"lossExposure",
"waitForLtInsight",
"schedule",
"hedging",
"sectorContextLine",
"advisorBenchmarkLine"
],
"properties": {
"hedging": {
"type": "object",
"required": [
"kind",
"protectionLevel",
"tenorYears",
"strike",
"putPrice",
"netPremium",
"sigma",
"riskFreeRate"
],
"properties": {
"kind": {
"enum": [
"put",
"collar"
],
"type": "string",
"description": "Structure priced: \"put\" (default) or \"collar\" when a hedgeChoice with kind:\"collar\" and upsideCapPct was supplied."
},
"sigma": {
"type": "number",
"description": "Annualized volatility used in pricing (explicit or ticker-implied vol, else a sector-typical implied volatility)."
},
"strike": {
"type": "number",
"description": "Long put strike in dollars ((1 - protectionLevel) x position value)."
},
"putPrice": {
"type": "number",
"description": "Gross long-put premium in dollars for the tenor."
},
"callPrice": {
"type": "number",
"description": "Collar short-call premium in dollars received. Omitted for a put."
},
"callStrike": {
"type": "number",
"description": "Collar short-call strike in dollars ((1 + upsideCapPct) x position value). Omitted for a put."
},
"netPremium": {
"type": "number",
"description": "Net premium paid in dollars: putPrice for a put, max(0, putPrice - callPrice) for a collar."
},
"tenorYears": {
"type": "number",
"description": "Hedge tenor in years. Echoes hedgeChoice.tenorYears, else 1."
},
"riskFreeRate": {
"type": "number",
"description": "Annualized risk-free rate used in pricing, as a decimal."
},
"protectionLevel": {
"type": "number",
"description": "Floor as a fraction below spot (0.30 = a 30%-OTM put). Echoes hedgeChoice.protectionLevel, else 0.30."
}
},
"description": "Modeled cost of a protective hedge covering the full position. Defaults to a 1-year 30%-OTM put; if a `hedgeChoice` is supplied, this block prices that structure (kind / protectionLevel / tenorYears, plus a short call for a collar)."
},
"riskBand": {
"enum": [
"Low",
"Moderate",
"Concentrated",
"Highly concentrated",
"Extreme"
],
"type": "string",
"description": "Qualitative concentration band for the position weight."
},
"schedule": {
"type": "array",
"items": {
"type": "object",
"required": [
"planKey",
"planLabel",
"yearlySales",
"totalSale",
"totalTax",
"endOfHorizonWealth",
"savingsVsLumpSum",
"wealthVsLumpSum",
"year1IsShortTerm",
"taxBreakdown",
"wealthByYear"
],
"properties": {
"planKey": {
"enum": [
"lump_sum",
"two_year",
"three_year"
],
"type": "string",
"description": "Plan identifier."
},
"totalTax": {
"type": "number",
"description": "Total tax in dollars across the plan years."
},
"planLabel": {
"type": "string",
"description": "Human-readable plan name, e.g. \"Sell over 2 years\"."
},
"totalSale": {
"type": "number",
"description": "Total nominal sale dollars across the plan years."
},
"yearlySales": {
"type": "array",
"items": {
"type": "object",
"required": [
"year",
"saleAmount",
"gainAmount",
"isLongTerm",
"federalTax",
"stateTax",
"totalTax",
"breakdown"
],
"properties": {
"year": {
"type": "number",
"description": "Sale year, 1-indexed."
},
"stateTax": {
"type": "number",
"description": "State tax in dollars on this sale."
},
"totalTax": {
"type": "number",
"description": "Total tax in dollars on this sale."
},
"breakdown": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"rate",
"amount",
"tax"
],
"properties": {
"tax": {
"type": "number",
"description": "Tax in dollars: amount x rate, or the adjustment itself when `detail` is present."
},
"rate": {
"type": "number",
"description": "Rate applied to this slice as a decimal (0.15 = 15%)."
},
"label": {
"type": "string",
"description": "Tax line label, e.g. \"Federal LTCG\", \"NIIT\", \"California\"."
},
"amount": {
"type": "number",
"description": "Dollars of gain in this slice."
},
"detail": {
"type": "string",
"description": "Present only on an adjustment row (rate and amount 0): what the state brackets alone do not explain, such as deductions phasing out, add-ons and credits."
}
},
"description": "One tax slice: a dollar amount taxed at one rate, or one state adjustment row (when `detail` is present)."
},
"description": "Per-rate tax slices for this sale."
},
"federalTax": {
"type": "number",
"description": "Federal tax in dollars on this sale (including NIIT)."
},
"gainAmount": {
"type": "number",
"description": "Taxable gain in dollars within the sale."
},
"isLongTerm": {
"type": "boolean",
"description": "True when this sale gets long-term capital gains treatment."
},
"saleAmount": {
"type": "number",
"description": "Dollars sold this year."
}
}
},
"description": "One entry per sale year: year (1-indexed), saleAmount, gainAmount, isLongTerm, federalTax, stateTax, totalTax in dollars, plus a per-slice breakdown."
},
"taxBreakdown": {
"type": "array",
"items": {
"type": "object",
"required": [
"label",
"rate",
"amount",
"tax"
],
"properties": {
"tax": {
"type": "number",
"description": "Tax in dollars: amount x rate, or the adjustment itself when `detail` is present."
},
"rate": {
"type": "number",
"description": "Rate applied to this slice as a decimal (0.15 = 15%)."
},
"label": {
"type": "string",
"description": "Tax line label, e.g. \"Federal LTCG\", \"NIIT\", \"California\"."
},
"amount": {
"type": "number",
"description": "Dollars of gain in this slice."
},
"detail": {
"type": "string",
"description": "Present only on an adjustment row (rate and amount 0): what the state brackets alone do not explain, such as deductions phasing out, add-ons and credits."
}
},
"description": "One tax slice: a dollar amount taxed at one rate, or one state adjustment row (when `detail` is present)."
},
"description": "Plan-total tax slices, same-rate rows merged."
},
"wealthByYear": {
"type": "array",
"items": {
"type": "number"
},
"description": "Total wealth in dollars at the end of each year, t = 0..3 (4 points). For charting."
},
"wealthVsLumpSum": {
"type": "number",
"description": "End-of-horizon wealth delta in dollars vs the sell-everything-today baseline; positive means this plan ends wealthier."
},
"savingsVsLumpSum": {
"type": "number",
"description": "Raw tax saved in dollars vs selling everything today; positive means this plan pays less tax."
},
"year1IsShortTerm": {
"type": "boolean",
"description": "True when the first sale year would be taxed at short-term rates."
},
"endOfHorizonWealth": {
"type": "number",
"description": "Total after-tax wealth in dollars at the end of the 3-year comparison horizon."
}
}
},
"description": "Sell-down plans over 1, 2, and 3 years; empty when the position is already at or below the target weight."
},
"assumptions": {
"type": "array",
"items": {
"type": "object",
"required": [
"field",
"value",
"annualRate",
"basis",
"reason"
],
"properties": {
"basis": {
"type": "string"
},
"field": {
"type": "string"
},
"value": {
"type": "number"
},
"reason": {
"type": "string"
},
"annualRate": {
"type": "number"
}
}
},
"description": "Present only when a placeholder stood in for a growth or volatility input the user did not supply, one entry per such input: `field` (the input), `value` (what it took: a rate, or for expectedSalePrice a $/share price), `annualRate` (the rate behind it), and `basis` and `reason` in words."
},
"longTermDate": {
"type": "string",
"description": "Date the position turns long-term (acquisitionDate + 1 year). ISO 8601 date-time string."
},
"lossExposure": {
"type": "array",
"items": {
"type": "object",
"required": [
"drop",
"dollarLoss",
"newConcentration"
],
"properties": {
"drop": {
"type": "number",
"description": "Modeled drawdown as a fraction of position value (0.30, 0.50, 0.70)."
},
"dollarLoss": {
"type": "number",
"description": "Dollars lost at this drawdown."
},
"newConcentration": {
"type": "number",
"description": "Portfolio concentration (0..1) after the drawdown."
}
}
},
"description": "Dollar damage at 30/50/70% single-stock drawdowns."
},
"concentration": {
"type": "number",
"description": "Position value / total assets, 0..1."
},
"isLongTermToday": {
"type": "boolean",
"description": "True when the position already qualifies for long-term capital gains treatment."
},
"assumptionNotice": {
"type": "string",
"description": "Present with `assumptions`: one plain-language sentence naming each placeholder, written to be relayed to the user."
},
"waitForLtInsight": {
"type": [
"object",
"null"
],
"required": [
"longTermDate",
"daysAway",
"immediateLumpSumTax",
"delayedLumpSumTax",
"savings"
],
"properties": {
"savings": {
"type": "number",
"description": "immediateLumpSumTax - delayedLumpSumTax in dollars (floored at 0)."
},
"daysAway": {
"type": "number",
"description": "Days until that date."
},
"longTermDate": {
"type": "string",
"description": "Date the position turns long-term. ISO 8601 date-time string."
},
"delayedLumpSumTax": {
"type": "number",
"description": "Tax in dollars on the same sale executed after the long-term date."
},
"immediateLumpSumTax": {
"type": "number",
"description": "Tax in dollars on the full sell-down executed today (short-term rates)."
}
},
"description": "Tax saved by waiting for long-term treatment before selling; null when already long-term or no sale is needed."
},
"daysUntilLongTerm": {
"type": "number",
"description": "Days until long-term treatment; 0 when already long-term."
},
"sectorContextLine": {
"type": "string",
"description": "One-line volatility/drawdown context for the chosen sector."
},
"advisorBenchmarkLine": {
"type": "string",
"description": "One-line comparison of the user weight vs the common advisor 10% single-name guideline."
}
},
"description": "Single-stock concentration analysis. All dollar amounts are USD."
},
"annotations": {
"title": "Single-Stock Concentration Analysis",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| Parameter | Type | Description |
|---|---|---|
| sector * | string | Sector tag. Drives the default volatility when no explicit `volatility` is supplied (a sector-typical implied volatility). |
| ticker | string | Optional public-stock symbol (e.g. "NVDA"). When set without an explicit `volatility`, each leg prices at its own strike's chain-implied vol, else at its at-the-money vol as of the last close, else the sector default. Echoed to `tickerLabel` in the response. |
| tenorYears * | number | Option tenor in years. 1 = 12-month; 0.25 = ~90-day. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one. |
| volatility | number | Annualized implied volatility (sigma) of the stock. Resolution order: (1) explicit `volatility` if passed; (2) the `ticker`'s implied vol as of the last close; (3) sector-typical IV as last fallback. An explicit value must come from the user; otherwise set a covered `ticker`, or omit and let the sec… |
| tickerLabel | string | Optional display string echoed back in the result. Not used in pricing. |
| positionValue * | number | Market value of the underlying single-stock position, USD. Premium and max-loss scale linearly with this. Must come from the user. |
| expectedReturn | number | Annual expected stock return (decimal). Drives the real-world drift in the cap-hit / floor-hit probability metrics. Does not affect premium math. Defaults to the stock's trailing annualized return when its option chain resolves, else the sector's long-run return (never 0). |
| protectionLevel * | number | Put strike as (1 − this fraction) × spot. 0.10 = 10% OTM put. Range 0.05..0.50. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one. |
| spreadRiskLevel | number | Put-spread floor breach risk: target probability the stock ENDS below the spread's short (lower) strike at expiration. Presets 0.20 / 0.10 / 0.05 / 0.01 ("1 in 5 / 10 / 20 / 100"); off-preset values snap to the nearest. A lower value pushes the short strike deeper, widening the protected band and ra… |
{
"name": "protective_put_price",
"description": "Use this when someone asks how much it costs to hedge or protect a stock position against a drop, to protect gains, get downside protection, or limit losses on a position, or to price a protective put, a zero-cost collar, or a put spread. Closed-form pricing of a protective put, a zero-cost collar, and a put spread on a single-stock position. For concentration-vs-hedge tax-cost comparison, use `concentration_analyze` with a `hedgeChoice`. Parameter interactions: `volatility` omitted resolves from `ticker`, else a sector-typical implied volatility; an explicit sigma overrides it. For collars, omitting `upsideCapPct` lets the tool back-solve the cap that zeros the net premium (truly zero-cost collar); supplying `upsideCapPct` overrides the solver and yields a non-zero net premium when the cap is wider than zero-cost. `tenorYears` drives the risk-free-rate lookup AND the floor-hit / cap-hit probability metrics, so changing tenor shifts every probability output even at fixed strike. `expectedReturn` affects only the probability metrics (real-world drift in the floor-hit / cap-hit calculations); premium math is risk-neutral and ignores it (when a chain resolves it defaults to that stock's trailing annualized return, else to the sector's long-run return; never 0). `protectionLevel` sets the put strike as `(1 − protectionLevel) × spot`; raising it widens the protected zone but raises premium roughly linearly. `spreadRiskLevel` (default 0.10) sets the put spread's short strike by targeting the probability the stock ends below it; it affects only the `putSpread` block. The put spread finances the same floor with a short put at a lower strike (not a short call), so it is cheaper than the bare put and needs no shares to sell calls against, which makes it the one structure of the three that works on unexercised employee options; the trade-off is that protection stops at the short strike and losses resume below it. Closed-form and deterministic. With a `ticker` and no explicit `volatility`, each leg prices at its own strike's implied volatility off that stock's listed option chain as of the last close (`pricingMode` \"chain-skew\"); otherwise all legs price at one sigma (\"flat\"), understating out-of-the-money protection. Returns a top-level object with keys: `inputs` (echoed canonical input), `riskFreeRate` (used in option pricing), `realWorldDrift` (from expectedReturn), `barePut` (strike, premium, annualCost, annualCostPct, maxLoss, badYearPrice, badYearDropPct, coveredLossAtBadYear, premiumToCoveredRatio, expectedProfit, premiumToExpectedProfitRatio), `collar` (putStrike, callStrike, netPremium, annualCost, annualCostPct, maxLoss, upsideCap, upsideCapPct, isZeroCost, capProbability), `putSpread` (available, unavailableReason, longStrike, longPremium, shortStrike, shortPremium, shortSigma, netPremium, annualCost, annualCostPct, maxLossInBand, bandWidth, shortStrikeDropPct, breachProbability, riskLevel, savingsPct, coveredLossAtBadYear), `payoffTable`, `payoffRange`, and `recommended` (the structure, of collar / bare put / put spread, that the tool's comparison rule selects for these inputs, or none). When `putSpread.available` is false, `putSpread.unavailableReason` explains why that structure could not be priced. Prices are model estimates from the inputs and the option data as of the last close, for planning, not investment advice; the user should confirm a hedge with a financial professional before trading. Example call: {positionValue: 400000, sector: \"tech_software\", protectionLevel: 0.10, tenorYears: 1, spreadRiskLevel: 0.10}. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/b",
"inputSchema": {
"type": "object",
"required": [
"positionValue",
"sector",
"protectionLevel",
"tenorYears"
],
"properties": {
"sector": {
"enum": [
"tech_software",
"semiconductors",
"consumer_cyclical",
"consumer_defensive",
"financials",
"healthcare_biotech",
"energy",
"industrials",
"communication",
"broad_market"
],
"type": "string",
"description": "Sector tag. Drives the default volatility when no explicit `volatility` is supplied (a sector-typical implied volatility)."
},
"ticker": {
"type": "string",
"description": "Optional public-stock symbol (e.g. \"NVDA\"). When set without an explicit `volatility`, each leg prices at its own strike's chain-implied vol, else at its at-the-money vol as of the last close, else the sector default. Echoed to `tickerLabel` in the response."
},
"tenorYears": {
"type": "number",
"minimum": 0.25,
"description": "Option tenor in years. 1 = 12-month; 0.25 = ~90-day. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
},
"volatility": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "Annualized implied volatility (sigma) of the stock. Resolution order: (1) explicit `volatility` if passed; (2) the `ticker`'s implied vol as of the last close; (3) sector-typical IV as last fallback. An explicit value must come from the user; otherwise set a covered `ticker`, or omit and let the sector default apply."
},
"tickerLabel": {
"type": "string",
"description": "Optional display string echoed back in the result. Not used in pricing."
},
"positionValue": {
"type": "number",
"minimum": 0,
"description": "Market value of the underlying single-stock position, USD. Premium and max-loss scale linearly with this. Must come from the user."
},
"expectedReturn": {
"type": "number",
"description": "Annual expected stock return (decimal). Drives the real-world drift in the cap-hit / floor-hit probability metrics. Does not affect premium math. Defaults to the stock's trailing annualized return when its option chain resolves, else the sector's long-run return (never 0)."
},
"protectionLevel": {
"type": "number",
"maximum": 0.5,
"minimum": 0.05,
"description": "Put strike as (1 − this fraction) × spot. 0.10 = 10% OTM put. Range 0.05..0.50. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
},
"spreadRiskLevel": {
"type": "number",
"maximum": 0.2,
"minimum": 0.01,
"description": "Put-spread floor breach risk: target probability the stock ENDS below the spread's short (lower) strike at expiration. Presets 0.20 / 0.10 / 0.05 / 0.01 (\"1 in 5 / 10 / 20 / 100\"); off-preset values snap to the nearest. A lower value pushes the short strike deeper, widening the protected band and raising the net premium toward the bare put. Only affects the `putSpread` block. Default 0.10."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"inputs",
"riskFreeRate",
"realWorldDrift",
"barePut",
"collar",
"putSpread",
"payoffTable",
"payoffRange",
"recommended"
],
"properties": {
"collar": {
"type": "object",
"required": [
"putStrike",
"callStrike",
"netPremium",
"annualCost",
"annualCostPct",
"maxLoss",
"upsideCap",
"upsideCapPct",
"isZeroCost",
"capProbability"
],
"properties": {
"maxLoss": {
"type": "number",
"description": "Worst-case loss in dollars with the collar in place."
},
"putStrike": {
"type": "number",
"description": "Long put strike in dollars (same floor as the bare put)."
},
"upsideCap": {
"type": "number",
"description": "Maximum upside in dollars before the short call caps gains: callStrike - position value."
},
"annualCost": {
"type": "number",
"description": "Net premium annualized, in dollars per year."
},
"callStrike": {
"type": "number",
"description": "Short call strike in dollars (the upside cap level)."
},
"isZeroCost": {
"type": "boolean",
"description": "True when the solved call strike makes the collar effectively zero net premium."
},
"netPremium": {
"type": "number",
"description": "Net premium in dollars: put premium - call premium, floored at 0."
},
"upsideCapPct": {
"type": "number",
"description": "Maximum upside as a fraction of position value."
},
"annualCostPct": {
"type": "number",
"description": "Annualized net premium as a fraction of position value."
},
"capProbability": {
"type": "number",
"description": "Real-world probability (0..1) the stock finishes above the call strike at expiration, i.e. the upside cap binds."
}
},
"description": "Put financed by a short call: lower or zero net premium in exchange for capped upside."
},
"inputs": {
"type": "object",
"required": [
"positionValue",
"sector",
"volatility",
"volatilitySource",
"pricingMode",
"protectionLevel",
"tenorYears"
],
"properties": {
"sector": {
"type": "string",
"description": "Sector tag used for defaults."
},
"tenorYears": {
"type": "number",
"description": "Option tenor in years."
},
"volatility": {
"type": "number",
"description": "Annualized sigma actually used in pricing, as a decimal."
},
"pricingMode": {
"enum": [
"chain-skew",
"flat"
],
"type": "string",
"description": "How the legs were priced. \"chain-skew\": each leg is priced at the implied volatility of its own strike, read off the stock's option chain as of the last close, so the floor put carries the market's downside skew and the put spread's short leg carries its own. \"flat\": every leg is priced at the single `volatility` above, which understates what out-of-the-money protection costs and overstates the rebate the spread's short leg earns - the quote is an estimate of this structure's cost, not a strike-aware one. Reached whenever no chain applies: an explicit `volatility`, no `ticker`, or a chain that could not be fetched or was not current."
},
"tickerLabel": {
"type": "string",
"description": "Display label echoed from the request (ticker or tickerLabel). Omitted when not supplied."
},
"positionValue": {
"type": "number",
"description": "Position value priced, in dollars."
},
"expectedReturn": {
"type": "number",
"description": "Caller-supplied annual expected return used for probability metrics. Omitted when not supplied."
},
"protectionLevel": {
"type": "number",
"description": "Protection level as a fraction below spot (0.10 = 10% OTM put)."
},
"spreadRiskLevel": {
"type": "number",
"description": "Put spread floor breach risk echoed from the request (snapped to a supported preset). Omitted when not supplied."
},
"volatilitySource": {
"enum": [
"explicit",
"ticker",
"sector-default",
"chain"
],
"type": "string",
"description": "Which source produced the sigma actually priced: \"explicit\" (caller-supplied), \"chain\" (interpolated from the stock's listed option chain as of the last close, at the strike being priced), \"ticker\" (the stock's published at-the-money implied vol as of the last close), or \"sector-default\" (feed unavailable or ticker uncovered; a sector-typical estimate - tell the user the price is not stock-specific)."
}
},
"description": "Echo of the resolved inputs actually priced: positionValue, sector, volatility (the sigma priced), volatilitySource (where that sigma came from) and pricingMode (how the legs were priced), protectionLevel, tenorYears, plus expectedReturn, spreadRiskLevel, and tickerLabel when supplied."
},
"barePut": {
"type": "object",
"required": [
"strike",
"premium",
"annualCost",
"annualCostPct",
"maxLoss",
"badYearPrice",
"badYearDropPct",
"coveredLossAtBadYear",
"premiumToCoveredRatio",
"expectedProfit",
"premiumToExpectedProfitRatio"
],
"properties": {
"strike": {
"type": "number",
"description": "Put strike in dollars: (1 - protectionLevel) x position value."
},
"maxLoss": {
"type": "number",
"description": "Worst-case loss in dollars with the put in place: position - strike + premium."
},
"premium": {
"type": "number",
"description": "Put premium in dollars for the full tenor."
},
"annualCost": {
"type": "number",
"description": "Premium annualized, in dollars per year."
},
"badYearPrice": {
"type": "number",
"description": "Position value in dollars at the 10th-percentile (1-in-10 bad year) outcome under real-world drift."
},
"annualCostPct": {
"type": "number",
"description": "Annualized premium as a fraction of position value."
},
"badYearDropPct": {
"type": "number",
"description": "Bad-year drawdown as a fraction of position value (always >= 0)."
},
"expectedProfit": {
"type": "number",
"description": "Expected position profit in dollars over the tenor under real-world drift."
},
"coveredLossAtBadYear": {
"type": "number",
"description": "Dollars the put pays at the bad-year price; 0 when the bad-year drop never reaches the protection floor."
},
"premiumToCoveredRatio": {
"type": [
"number",
"null"
],
"description": "Premium per dollar of bad-year coverage. null (serialized from Infinity) when the put covers nothing at the bad-year price; above ~0.40 the floor is set too deep."
},
"premiumToExpectedProfitRatio": {
"type": [
"number",
"null"
],
"description": "Fraction of typical-period expected profit consumed by the premium. null (serialized from Infinity) when expected profit is zero or negative; above ~0.50 the hedge eats most of the upside."
}
},
"description": "Bare protective put: pay premium for a hard floor."
},
"putSpread": {
"type": "object",
"required": [
"available",
"unavailableReason",
"longStrike",
"longPremium",
"shortStrike",
"shortPremium",
"shortSigma",
"netPremium",
"annualCost",
"annualCostPct",
"maxLossInBand",
"bandWidth",
"shortStrikeDropPct",
"breachProbability",
"riskLevel",
"savingsPct",
"coveredLossAtBadYear"
],
"properties": {
"available": {
"type": "boolean",
"description": "False when no useful spread exists at these inputs: the 1-in-N short strike lands at/above the floor (floor already deep for this risk level) or the short leg does not reduce cost. When false, the numeric fields of this block are null and unavailableReason carries the explanation in their place."
},
"bandWidth": {
"type": "number",
"description": "Width of the protected band in dollars: longStrike - shortStrike (the spread max payout)."
},
"riskLevel": {
"type": "number",
"description": "The spreadRiskLevel preset the solve targeted (0.20 / 0.10 / 0.05 / 0.01), after snapping."
},
"annualCost": {
"type": "number",
"description": "Net premium annualized, in dollars per year."
},
"longStrike": {
"type": "number",
"description": "Long put strike in dollars (same floor as the bare put)."
},
"netPremium": {
"type": "number",
"description": "Net debit in dollars: long premium - short premium, floored at 0."
},
"savingsPct": {
"type": "number",
"description": "Fraction of the bare put premium rebated by the short leg: shortPremium / longPremium."
},
"shortSigma": {
"type": "number",
"description": "Annualized sigma used to price the short leg, as a decimal (equals volatility in flat-sigma mode)."
},
"longPremium": {
"type": "number",
"description": "Long put premium in dollars for the full tenor (same as barePut.premium)."
},
"shortStrike": {
"type": "number",
"description": "Short put strike in dollars, solved so P(end below it) = spreadRiskLevel."
},
"shortPremium": {
"type": "number",
"description": "Short put premium in dollars received for the full tenor."
},
"annualCostPct": {
"type": "number",
"description": "Annualized net premium as a fraction of position value."
},
"maxLossInBand": {
"type": "number",
"description": "Loss in dollars if the stock ends anywhere inside the protected band (floor holds): position - longStrike + netPremium. Below the short strike, losses resume dollar-for-dollar on top of this."
},
"breachProbability": {
"type": "number",
"description": "Achieved real-world probability (0..1) the stock ends below the short strike; approximately spreadRiskLevel after the solve."
},
"unavailableReason": {
"enum": [
"floor",
"no-rebate",
null
],
"type": [
"string",
"null"
],
"description": "Why the spread is unavailable; null when available. 'floor' = the solved short strike sits at/above the protection floor (or within 1% of position of it). 'no-rebate' = the short leg does not strictly reduce cost."
},
"shortStrikeDropPct": {
"type": "number",
"description": "Short strike as a drawdown from spot, as a fraction of position value."
},
"coveredLossAtBadYear": {
"type": "number",
"description": "Dollars the spread pays at the bad-year price, capped at bandWidth; 0 when the bad-year drop never reaches the floor."
}
},
"description": "Put debit spread: long put at the protection floor financed by a short put at a lower strike. Cheaper than the bare put and needs no short call (so it works on unexercised employee options a collar cannot cover), but protection stops at the short strike and losses resume below it. The short strike is solved so the real-world probability the stock ENDS below it equals spreadRiskLevel."
},
"payoffRange": {
"type": "object",
"required": [
"lowerPct",
"upperPct"
],
"properties": {
"lowerPct": {
"type": "number",
"description": "Lower bound of the modeled price move, as a fraction of spot (negative)."
},
"upperPct": {
"type": "number",
"description": "Upper bound of the modeled price move, as a fraction of spot."
}
},
"description": "Price-move range covered by payoffTable, extended at least 15% beyond each collar arm and at least +/-50%."
},
"payoffTable": {
"type": "array",
"items": {
"type": "object",
"required": [
"drawdownPct",
"barePutPnl",
"collarPnl",
"spreadPnl",
"unhedgedPnl"
],
"properties": {
"collarPnl": {
"type": "number",
"description": "Position + collar P&L in dollars at this move."
},
"spreadPnl": {
"type": [
"number",
"null"
],
"description": "Position + put-spread P&L in dollars at this move. null (serialized from NaN) when putSpread.available is false."
},
"barePutPnl": {
"type": "number",
"description": "Position + put P&L in dollars at this move."
},
"drawdownPct": {
"type": "number",
"description": "Price move as a fraction of spot (-0.30 = down 30%, 0.2 = up 20%)."
},
"unhedgedPnl": {
"type": "number",
"description": "Unhedged position P&L in dollars at this move."
}
}
},
"description": "Terminal P&L in dollars at each 10%-step drawdown across payoffRange, for the bare put, the collar, the put spread, and the unhedged position."
},
"recommended": {
"enum": [
"collar",
"protective-put",
"put-spread",
"none"
],
"type": "string",
"description": "Suggested structure, in triage order: collar unless its cap binds too often (>20% probability); then protective-put unless the put is expensive; then put-spread when one is available and cleanly priced (cheaper by construction); none when nothing is clean. The recommended structure is the one whose card carries no warning."
},
"riskFreeRate": {
"type": "number",
"description": "Annualized risk-free rate used in option pricing, looked up for the tenor, as a decimal."
},
"realWorldDrift": {
"type": "number",
"description": "Annual real-world drift used for the probability metrics: expectedReturn when supplied, else the sector long-run return. Does not affect premium math."
}
},
"description": "Protective put, zero-cost collar, and put-spread pricing on a single-stock position. All dollar amounts are USD."
},
"annotations": {
"title": "Protective Put / Collar / Put Spread Pricing",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| Parameter | Type | Description |
|---|---|---|
| industry * | string | §1202 Test 4: Industry classification of the corporation. Four values qualify: tech-software, manufacturing, biotech-research, retail-wholesale. Specified service trades or businesses (law, engineering, architecture, accounting-actuarial, consulting, finance, health-services, performing-arts) do NOT… |
| saleDate * | string | Planned or actual sale date (YYYY-MM-DD). Together with acquisitionDate determines holdingYears. |
| stateCode * | string | Two-letter US state code. Drives the state-conformity verdict: CA/AL/PA/MS do not conform (full state tax owed); HI/MA partial; NJ 2026-01-01 conformity switch; most others fully conform. |
| entityType * | string | §1202 Test 1: Type of issuer at the time of acquisition. Only 'us-c-corp' qualifies. S-corps, LLCs, partnerships, and foreign entities fail. |
| expectedGain * | number | Expected total gain on sale, USD. Compared against the per-issuer exclusion cap to compute excludableGain and taxableGain. Must come from the user. |
| filingStatus * | string | Federal filing status. Drives the LTCG bracket on any non-excluded gain and the NIIT MAGI threshold. |
| adjustedBasis * | number | Adjusted basis of the QSBS shares, USD. Used in the 10× basis cap: the per-issuer exclusion cap is max($10M, 10 × adjustedBasis). Must come from the user. |
| assetCategory * | string | §1202 Test 3: Aggregate gross assets of the issuing corporation at the time of issuance. 'under-50m' qualifies pre-OBBBA. '50m-to-75m' qualifies ONLY under OBBBA 2026+ (post-2025-07-05). 'over-75m' never qualifies. 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass). |
| activeBusiness * | string | §1202 Test 5: Did the corporation use ≥80% of its assets in the active conduct of a qualified trade throughout the holding period? 'yes' qualifies. 'no' fails. 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass). The user should confirm it with their CFO. |
| ordinaryIncome * | number | Annual ordinary income, USD. Baseline for the federal LTCG bracket on any taxable gain. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it. |
| acquisitionDate * | string | Date the QSBS shares were acquired (YYYY-MM-DD). Drives the holding-period test and the era classification (50% pre-2009 era, 75% pre-2010 era, 100% after a 5-year hold for acquisitions from 2010-09-28 through 2025-07-04, OBBBA tiered after 2025-07-05). |
| acquisitionMethod * | string | §1202 Test 2: How the user obtained the shares. 'original-issuance' (direct from the company) qualifies. 'gift-or-inheritance' tacks the original holder's basis and clock. 'secondary' (bought on a secondary market) does NOT qualify. 'unsure' marks this test unconfirmed (a `caveats` verdict when the … |
{
"name": "qsbs_check",
"description": "Use this when someone asks whether stock qualifies for the qualified small business stock (QSBS) / Section 1202 gain exclusion, whether their startup stock can be sold tax-free, about the 5-year QSBS holding period, or how much of the gain would be federal-tax-free. Section 1202 Qualified Small Business Stock (QSBS) qualification check. Use this tool for §1202 / QSBS qualification. For AMT timing on the ISO exercise that produced the QSBS holding, use `amt_iso_optimize` first. Parameter interactions: `entityType=\"other\"` short-circuits the verdict to `disqualified` regardless of other fields; `acquisitionMethod=\"secondary\"` does the same; `assetCategory=\"over-75m\"` likewise fails immediately. Under `acquisitionMethod=\"gift-or-inheritance\"` the holding period tacks from the original holder, so supply that earlier date as `acquisitionDate` if known. `acquisitionDate` drives era classification independent of holding period: before 2009-02-17 caps exclusion at 50%, 2009-02-17 to 2010-09-27 at 75%, 2010-09-28 through 2025-07-04 reaches 100% after a 5-year hold (pre-OBBBA), and 2025-07-05 onward uses the OBBBA tiered schedule (50% at 3y, 75% at 4y, 100% at 5y). The per-issuer exclusion cap is `max($10M, 10 × adjustedBasis)` ($15M base for stock acquired after July 4, 2025); when `expectedGain` exceeds it, the overage is fully taxable and the response surfaces `taxableGain` for that delta. `industry` is the dominant industry (>80% revenue) when the corp operates in multiple. Evaluates the six statutory tests: domestic C-corporation entity, original-issuance acquisition method, gross assets at issuance (under $50M / $50-75M / over $75M tiered cap), qualified-trade-or-business industry, active-business posture (80% asset use), and holding period (3 / 4 / 5-year tiers under OBBBA). Pure stateless check: no filing, reporting, or IRS lookup happens; the six tests are evaluated against the bundled OBBBA 2026 rule set and per-state conformity table. Returns a top-level object with keys: `verdict` (qualifies / partial / too-soon / caveats / disqualified), `exclusionPercent` (0..1), `perIssuerCap` and `tenXBasisCap` (the two cap inputs), `applicableCap` (max of the two), `excludableGain`, `taxableGain`, `federalTaxSaved` (LTCG bracket on the excluded gain), `stateConforms` (full / partial / none) and `stateNote` (per-state explanation), `holdingYears`, `yearsUntilFullExclusion`, `era` (pre-2009 / pre-2010 / pre-obbba / obbba), and `tests` (array of {id, label, status, detail} for each of the six statutory tests, identifying any gate that failed). Example call: {acquisitionDate: \"2020-01-15\", saleDate: \"2026-06-01\", entityType: \"us-c-corp\", acquisitionMethod: \"original-issuance\", assetCategory: \"under-50m\", industry: \"tech-software\", activeBusiness: \"yes\", adjustedBasis: 100000, expectedGain: 5000000, stateCode: \"CA\", ordinaryIncome: 250000, filingStatus: \"single\"}. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi. For the enum fields that accept `unsure`, that value is the accurate encoding of a fact the user has not confirmed: it marks that test unconfirmed (a `caveats` verdict when the other tests pass), where encoding an unconfirmed fact as yes or no yields a verdict the underlying facts may not support.",
"inputSchema": {
"type": "object",
"required": [
"acquisitionDate",
"saleDate",
"entityType",
"acquisitionMethod",
"assetCategory",
"industry",
"activeBusiness",
"adjustedBasis",
"expectedGain",
"stateCode",
"ordinaryIncome",
"filingStatus"
],
"properties": {
"industry": {
"enum": [
"tech-software",
"manufacturing",
"biotech-research",
"retail-wholesale",
"health-services",
"law",
"engineering",
"architecture",
"accounting-actuarial",
"consulting",
"finance",
"farming",
"extraction",
"hospitality",
"performing-arts",
"other-services",
"unsure"
],
"type": "string",
"description": "§1202 Test 4: Industry classification of the corporation. Four values qualify: tech-software, manufacturing, biotech-research, retail-wholesale. Specified service trades or businesses (law, engineering, architecture, accounting-actuarial, consulting, finance, health-services, performing-arts) do NOT qualify, and farming, extraction and hospitality are separately excluded, so they do not qualify either. 'other-services' or 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass)."
},
"saleDate": {
"type": "string",
"format": "date",
"description": "Planned or actual sale date (YYYY-MM-DD). Together with acquisitionDate determines holdingYears."
},
"stateCode": {
"enum": [
"AK",
"AL",
"AR",
"AZ",
"CA",
"CO",
"CT",
"DC",
"DE",
"FL",
"GA",
"HI",
"IA",
"ID",
"IL",
"IN",
"KS",
"KY",
"LA",
"MA",
"MD",
"ME",
"MI",
"MN",
"MO",
"MS",
"MT",
"NC",
"ND",
"NE",
"NH",
"NJ",
"NM",
"NV",
"NY",
"OH",
"OK",
"OR",
"PA",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VA",
"VT",
"WA",
"WI",
"WV",
"WY"
],
"type": "string",
"description": "Two-letter US state code. Drives the state-conformity verdict: CA/AL/PA/MS do not conform (full state tax owed); HI/MA partial; NJ 2026-01-01 conformity switch; most others fully conform."
},
"entityType": {
"enum": [
"us-c-corp",
"other"
],
"type": "string",
"description": "§1202 Test 1: Type of issuer at the time of acquisition. Only 'us-c-corp' qualifies. S-corps, LLCs, partnerships, and foreign entities fail."
},
"expectedGain": {
"type": "number",
"description": "Expected total gain on sale, USD. Compared against the per-issuer exclusion cap to compute excludableGain and taxableGain. Must come from the user."
},
"filingStatus": {
"enum": [
"single",
"married_joint",
"head_household"
],
"type": "string",
"description": "Federal filing status. Drives the LTCG bracket on any non-excluded gain and the NIIT MAGI threshold."
},
"adjustedBasis": {
"type": "number",
"minimum": 0,
"description": "Adjusted basis of the QSBS shares, USD. Used in the 10× basis cap: the per-issuer exclusion cap is max($10M, 10 × adjustedBasis). Must come from the user."
},
"assetCategory": {
"enum": [
"under-50m",
"50m-to-75m",
"over-75m",
"unsure"
],
"type": "string",
"description": "§1202 Test 3: Aggregate gross assets of the issuing corporation at the time of issuance. 'under-50m' qualifies pre-OBBBA. '50m-to-75m' qualifies ONLY under OBBBA 2026+ (post-2025-07-05). 'over-75m' never qualifies. 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass)."
},
"activeBusiness": {
"enum": [
"yes",
"no",
"unsure"
],
"type": "string",
"description": "§1202 Test 5: Did the corporation use ≥80% of its assets in the active conduct of a qualified trade throughout the holding period? 'yes' qualifies. 'no' fails. 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass). The user should confirm it with their CFO."
},
"ordinaryIncome": {
"type": "number",
"minimum": 0,
"description": "Annual ordinary income, USD. Baseline for the federal LTCG bracket on any taxable gain. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
},
"acquisitionDate": {
"type": "string",
"format": "date",
"description": "Date the QSBS shares were acquired (YYYY-MM-DD). Drives the holding-period test and the era classification (50% pre-2009 era, 75% pre-2010 era, 100% after a 5-year hold for acquisitions from 2010-09-28 through 2025-07-04, OBBBA tiered after 2025-07-05)."
},
"acquisitionMethod": {
"enum": [
"original-issuance",
"gift-or-inheritance",
"secondary",
"unsure"
],
"type": "string",
"description": "§1202 Test 2: How the user obtained the shares. 'original-issuance' (direct from the company) qualifies. 'gift-or-inheritance' tacks the original holder's basis and clock. 'secondary' (bought on a secondary market) does NOT qualify. 'unsure' marks this test unconfirmed (a `caveats` verdict when the other tests pass)."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"verdict",
"exclusionPercent",
"perIssuerCap",
"tenXBasisCap",
"applicableCap",
"excludableGain",
"taxableGain",
"federalTaxSaved",
"stateConforms",
"holdingYears",
"yearsUntilFullExclusion",
"era",
"tests"
],
"properties": {
"era": {
"enum": [
"pre-2009",
"pre-2010",
"pre-obbba",
"obbba"
],
"type": "string",
"description": "Acquisition-era classification that sets the exclusion schedule (50% pre-2009 era, 75% pre-2010 era, 100% at 5y pre-OBBBA, tiered 50/75/100% at 3/4/5y under OBBBA)."
},
"tests": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"label",
"status",
"detail"
],
"properties": {
"id": {
"type": "string",
"description": "Stable test identifier."
},
"label": {
"type": "string",
"description": "Human-readable test name."
},
"detail": {
"type": "string",
"description": "One-line explanation of the test outcome."
},
"status": {
"enum": [
"pass",
"fail",
"unsure",
"wait"
],
"type": "string",
"description": "\"wait\" means the test will pass with more holding time."
}
}
},
"description": "The six statutory tests with per-test status, identifying any gate that failed."
},
"verdict": {
"enum": [
"qualifies",
"partial",
"too-soon",
"caveats",
"disqualified"
],
"type": "string",
"description": "Overall verdict. \"partial\" = qualifies but at a sub-100% exclusion tier (e.g. an OBBBA 3- or 4-year hold gives 50% or 75%). \"caveats\" = qualifies, but one or more tests returned \"unsure\" (pass conditional on facts the caller marked unknown). \"too-soon\" = the holding period has not reached any exclusion tier yet."
},
"stateNote": {
"type": "string",
"description": "Per-state conformity explanation. May be omitted."
},
"taxableGain": {
"type": "number",
"description": "Portion of expectedGain still federally taxable in dollars (overage above the cap plus any non-excluded fraction)."
},
"holdingYears": {
"type": "number",
"description": "Calendar-aware years between acquisitionDate and saleDate."
},
"perIssuerCap": {
"type": "number",
"description": "Statutory per-issuer cap in dollars: $10M pre-OBBBA, $15M for stock acquired after July 4, 2025."
},
"tenXBasisCap": {
"type": "number",
"description": "10 x adjustedBasis cap in dollars."
},
"applicableCap": {
"type": "number",
"description": "max(perIssuerCap, tenXBasisCap): the exclusion cap actually applied, in dollars."
},
"stateConforms": {
"enum": [
"full",
"partial",
"none"
],
"type": "string",
"description": "Whether the user state conforms to the federal 1202 exclusion."
},
"excludableGain": {
"type": "number",
"description": "Portion of expectedGain excludable from federal tax in dollars."
},
"federalTaxSaved": {
"type": "number",
"description": "Federal LTCG tax (including NIIT) avoided on the excluded gain, in dollars."
},
"exclusionPercent": {
"enum": [
0,
0.5,
0.75,
1
],
"type": "number",
"description": "Fraction of the capped gain excludable from federal tax, per the era and holding-period tier."
},
"cappedOverageNote": {
"type": "string",
"description": "Present only when expectedGain exceeds applicableCap and an exclusion is in play: explains that the overage is fully taxable regardless of holding period and that spreading shares across separate taxpayers (e.g. non-grantor trusts) can multiply the per-issuer exclusion. Omitted otherwise."
},
"yearsUntilFullExclusion": {
"type": "number",
"description": "Additional years to hold before reaching the 100% exclusion tier; 0 when already reached."
}
},
"description": "Section 1202 QSBS qualification result. All dollar amounts are USD."
},
"annotations": {
"title": "QSBS Qualification Check",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| Parameter | Type | Description |
|---|---|---|
| lots | array | Legacy single-stack input (v1.5 / v1.6). Provide either `stacks` (v1.7+) or these legacy fields, not both. Lot is one cost-basis cohort (one RSU vest tranche, one ESPP purchase, one open-market buy). |
| stacks | array | Holdings, multi-stack form. Provide either `stacks` (this) OR the legacy `lots`+`currentPrice` pair, not both. Each stack is one equity position (one ticker) with its own current price, growth, optional volatility, and lot list. Use when the user holds multiple tickers (e.g. current-employer RSUs + … |
| stateCode * | string | Two-letter US state code (e.g. CA, NY, TX). Drives state ordinary or LTCG treatment depending on state (CA taxes LTCG as ordinary; WA has no LTCG tax under $250K; TX/FL/etc. have no state income tax). |
| targetDate * | string | Date by which the user needs the net cash (YYYY-MM-DD). Bounds the planning horizon. Sales in non-target years happen on Dec 31; the target year's sale happens on this exact date. Must come from the user. |
| currentPrice | number | Legacy single-stack current share price, USD. Pair with legacy `lots` (omit `stacks`). This value must come from the user. |
| filingStatus * | string | Federal filing status. Drives LTCG brackets, NIIT threshold ($200K single / $250K MFJ MAGI), and state bracket lookups. |
| ordinaryIncome * | number | Annual ordinary income, USD. Used as the baseline for the federal LTCG bracket walk in each candidate year and for NIIT threshold tests. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it. |
| targetAfterTax * | number | Net cash needed in the user's pocket after all applicable taxes (federal LTCG/ordinary + state + NIIT), USD. Example: a $1M house with 20% down minus existing savings might give a $200,000 target. Must come from the user. |
| cashInterestRate | number | Annualized PRE-tax yield on cash held between each sale and the target date (money-market / short-term Treasury). The tool internally discounts this by the user's marginal federal + state ordinary rate before compounding, so the after-tax cash growth stays apples-to-apples with stock appreciation. D… |
| defaultVolatility | number | Annualized σ assumed for any stack that omits its own `volatility`. Drives the per-sale σ × √Δt shortfall calculation. Override per-stack on the stack object when one position is materially more or less volatile than the rest. Default 0.30. |
| expectedAnnualGrowth | ["number","string"] | Legacy single-stack annual growth decimal, or the string "market" for the S&P 500 trailing average. Used with `lots`: pass 0 for a deliberately flat-price plan; if omitted it falls back to the S&P 500 trailing average, disclosed in `assumptions` (never a silent flat default). Each future year's proj… |
| riskToleranceShortfall | number | Max acceptable P(realized cash < target) under the lognormal price model, as a fraction (0.10 = 10%). The `recommended` plan is the plan with the most projected wealth whose shortfall is at or below this value. Tighter values push the recommendation toward Lock-in-now; looser values let `recommended… |
{
"name": "equity_funding_plan",
"description": "Use this when someone asks which shares to sell and when to reach a cash goal by a deadline (down payment, tuition, a tax bill), or how to fund a goal from equity at a lower tax cost. Multi-year, multi-stack equity-funding optimizer. Given a target after-tax amount and a deadline (down payment, tax bill, expansion check), returns four named plans on the risk/wealth frontier: `lockInNow` (sell today, no further exposure to the stock price), `balanced` (bracket-aware spread across months), `holdForGrowth` (sell at the deadline, full exposure to the stock price), and `recommended` (the plan with the most projected wealth among those whose lognormal shortfall probability is at or below `riskToleranceShortfall`, default 10%). Also returns `frontier`, the full hybrid sweep between Lock-in-now and Balanced. Each plan carries its `plan` schedule plus `wealthAtTarget`, `totalTax`, and `shortfallProbability`; see `outputSchema` for the full shape. Use this when an equity holder needs cash by a deadline; for the upstream tax math on RSU/NSO/ISO events that PRODUCED the holdings, call `rsu_sell_vs_hold` / `nso_calculate` / `amt_iso_optimize` first. Out of scope: FICA, AMT, QSBS routing (use `qsbs_check`). Pass multi-ticker holdings via `stacks`; single-stack legacy callers can use top-level `lots` + `currentPrice`. The plans are calculations from the inputs and risk tolerance supplied, for planning, not investment or tax advice; the user should confirm a sale plan with a tax or financial professional before selling. Example: {targetAfterTax: 400000, targetDate: \"2028-06-01\", stacks: [{ticker: \"NVDA\", currentPrice: 140, expectedAnnualGrowth: 0.15, volatility: 0.45, lots: [{shares: 4000, costBasisPerShare: 60, acquisitionDate: \"2023-06-15\"}]}], ordinaryIncome: 280000, filingStatus: \"married_joint\", stateCode: \"CA\", cashInterestRate: 0.04, riskToleranceShortfall: 0.10}. Each stack needs `expectedAnnualGrowth`: a decimal, the string \"market\" (S&P 500 trailing average), or a covered `ticker` that resolves it from the trailing-returns table (a symbol like \"NVDA\" is enough; volatility still comes from the stack's `volatility` or `defaultVolatility`). Omitting growth (with no ticker that resolves it) assumes the S&P 500 trailing average, disclosed in `assumptions`/`assumptionNotice`, never a silent flat default; pass 0 to model flat prices deliberately. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.",
"inputSchema": {
"type": "object",
"required": [
"targetAfterTax",
"targetDate",
"ordinaryIncome",
"filingStatus",
"stateCode"
],
"properties": {
"lots": {
"type": "array",
"items": {
"type": "object",
"required": [
"shares",
"costBasisPerShare",
"acquisitionDate"
],
"properties": {
"shares": {
"type": "integer",
"minimum": 1,
"description": "Whole shares in this lot."
},
"vestDate": {
"type": "string",
"format": "date",
"description": "Optional future vest date for an unvested RSU tranche. The lot is excluded from sales whose date precedes `vestDate`. For unvested RSUs, set `vestDate` to the future vest date and pass `costBasisPerShare: 0`; the calc overrides basis with the projected FMV at vest. Same semantics as `stacks[].lots[].vestDate`."
},
"acquisitionDate": {
"type": "string",
"format": "date",
"description": "Date the lot was acquired. Drives the 1-year long-term-vs-short-term classification at each candidate sale date."
},
"costBasisPerShare": {
"type": "number",
"minimum": 0,
"description": "Per-share cost basis, USD. For RSU vests this is the FMV at vest. For ESPP/open-market this is the purchase price."
}
}
},
"minItems": 1,
"description": "Legacy single-stack input (v1.5 / v1.6). Provide either `stacks` (v1.7+) or these legacy fields, not both. Lot is one cost-basis cohort (one RSU vest tranche, one ESPP purchase, one open-market buy)."
},
"stacks": {
"type": "array",
"items": {
"type": "object",
"required": [
"currentPrice",
"lots"
],
"properties": {
"lots": {
"type": "array",
"items": {
"type": "object",
"required": [
"shares",
"costBasisPerShare",
"acquisitionDate"
],
"properties": {
"shares": {
"type": "integer",
"minimum": 1,
"description": "Whole shares in this lot."
},
"vestDate": {
"type": "string",
"format": "date",
"description": "Optional future vest date for an unvested RSU tranche. The lot is excluded from sales whose date precedes `vestDate`. For unvested RSUs, set `vestDate` to the future vest date and pass `costBasisPerShare: 0`; the calc overrides basis with the projected FMV at vest."
},
"acquisitionDate": {
"type": "string",
"format": "date",
"description": "Acquisition date. Sales 366+ days later are long-term capital gains; earlier sales are short-term ordinary. Drives the LT-vs-ST classification at every candidate sale date."
},
"costBasisPerShare": {
"type": "number",
"minimum": 0,
"description": "$/share basis. RSU = FMV at vest; ISO/NSO = exercise price; ESPP/open-market = purchase price."
}
}
},
"minItems": 1,
"description": "Cost-basis cohorts within this stack (one per vest tranche / ESPP purchase / open-market buy)."
},
"ticker": {
"type": "string",
"description": "Optional ticker label (e.g. \"NVDA\"). When set without `expectedAnnualGrowth`, growth is resolved from the cached trailing-CAGR snapshot when the symbol is covered there (see the covered-tickers resource for the current set). Echoed back in each SaleEntry for display."
},
"volatility": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "Per-stack annualized σ used in the shortfall calculation (σ × √Δt per sale). Overrides `defaultVolatility` for THIS stack only. Useful when one stack is a single tech name (σ ≈ 0.40-0.60) and another is an ETF (σ ≈ 0.15-0.20). Omit to inherit `defaultVolatility`."
},
"currentPrice": {
"type": "number",
"minimum": 0,
"description": "$/share today for this stack. Anchors the projected-price compounding for every future candidate sale date in this stack. Must come from the user."
},
"expectedAnnualGrowth": {
"type": [
"number",
"string"
],
"description": "Per-stack growth decimal (0.08 = 8%/yr), or the string \"market\" for the S&P 500 trailing average. Projected sale price = currentPrice × (1 + expectedAnnualGrowth)^Δyears. Negative values model decline; pass 0 for a deliberately flat-price plan. If omitted and `ticker` does not resolve it, falls back to the S&P 500 trailing average, disclosed in `assumptions` (never a silent flat default)."
}
}
},
"minItems": 1,
"description": "Holdings, multi-stack form. Provide either `stacks` (this) OR the legacy `lots`+`currentPrice` pair, not both. Each stack is one equity position (one ticker) with its own current price, growth, optional volatility, and lot list. Use when the user holds multiple tickers (e.g. current-employer RSUs + ETF + prior-employer holdings); the optimizer searches sales across all stacks jointly so the schedule can draw on lower-tax inventory first in each year."
},
"stateCode": {
"enum": [
"AK",
"AL",
"AR",
"AZ",
"CA",
"CO",
"CT",
"DC",
"DE",
"FL",
"GA",
"HI",
"IA",
"ID",
"IL",
"IN",
"KS",
"KY",
"LA",
"MA",
"MD",
"ME",
"MI",
"MN",
"MO",
"MS",
"MT",
"NC",
"ND",
"NE",
"NH",
"NJ",
"NM",
"NV",
"NY",
"OH",
"OK",
"OR",
"PA",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VA",
"VT",
"WA",
"WI",
"WV",
"WY"
],
"type": "string",
"description": "Two-letter US state code (e.g. CA, NY, TX). Drives state ordinary or LTCG treatment depending on state (CA taxes LTCG as ordinary; WA has no LTCG tax under $250K; TX/FL/etc. have no state income tax)."
},
"targetDate": {
"type": "string",
"format": "date",
"description": "Date by which the user needs the net cash (YYYY-MM-DD). Bounds the planning horizon. Sales in non-target years happen on Dec 31; the target year's sale happens on this exact date. Must come from the user."
},
"currentPrice": {
"type": "number",
"minimum": 0,
"description": "Legacy single-stack current share price, USD. Pair with legacy `lots` (omit `stacks`). This value must come from the user."
},
"filingStatus": {
"enum": [
"single",
"married_joint",
"head_household"
],
"type": "string",
"description": "Federal filing status. Drives LTCG brackets, NIIT threshold ($200K single / $250K MFJ MAGI), and state bracket lookups."
},
"ordinaryIncome": {
"type": "number",
"minimum": 0,
"description": "Annual ordinary income, USD. Used as the baseline for the federal LTCG bracket walk in each candidate year and for NIIT threshold tests. Must come from the user. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it."
},
"targetAfterTax": {
"type": "number",
"minimum": 0,
"description": "Net cash needed in the user's pocket after all applicable taxes (federal LTCG/ordinary + state + NIIT), USD. Example: a $1M house with 20% down minus existing savings might give a $200,000 target. Must come from the user."
},
"cashInterestRate": {
"type": "number",
"description": "Annualized PRE-tax yield on cash held between each sale and the target date (money-market / short-term Treasury). The tool internally discounts this by the user's marginal federal + state ordinary rate before compounding, so the after-tax cash growth stays apples-to-apples with stock appreciation. Default 0 (interest ignored)."
},
"defaultVolatility": {
"type": "number",
"maximum": 5,
"minimum": 0,
"description": "Annualized σ assumed for any stack that omits its own `volatility`. Drives the per-sale σ × √Δt shortfall calculation. Override per-stack on the stack object when one position is materially more or less volatile than the rest. Default 0.30."
},
"expectedAnnualGrowth": {
"type": [
"number",
"string"
],
"description": "Legacy single-stack annual growth decimal, or the string \"market\" for the S&P 500 trailing average. Used with `lots`: pass 0 for a deliberately flat-price plan; if omitted it falls back to the S&P 500 trailing average, disclosed in `assumptions` (never a silent flat default). Each future year's projected price is `currentPrice × (1 + expectedAnnualGrowth)^Δyears`. Negative values model decline."
},
"riskToleranceShortfall": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Max acceptable P(realized cash < target) under the lognormal price model, as a fraction (0.10 = 10%). The `recommended` plan is the plan with the most projected wealth whose shortfall is at or below this value. Tighter values push the recommendation toward Lock-in-now; looser values let `recommended` accept more price exposure for higher expected wealth. Default 0.10."
}
}
},
"outputSchema": {
"truncated": true,
"chars": 25513
},
"annotations": {
"title": "Equity-Funding Plan Comparison",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| array |
| The vested RSU lots still held (after any sell-to-cover), one entry per vest tranche. The tool decides which of these to sell and when. Unvested grants are out of scope. At most 20 lots per call, the same cap the web calculator uses. With more tranches than that, combine the ones sharing a vest date… |
| stateCode * | string | Two-letter US state code (e.g. CA, NY, TX). Drives state capital-gains treatment (CA taxes gains as ordinary; WA/TX/FL have no tax on most capital gains). |
| currentPrice * | number | Current share price, USD. Every sale, on every date, is priced at this value (flat-price assumption). This value must come from the user. |
| filingStatus * | string | Federal filing status. Drives LTCG brackets, the NIIT threshold, and state bracket lookups. |
| horizonYears * | integer | Tax years the plan may span: 1 = sell everything now, 2, or 3. More years let the plan spread gains across brackets and defer short-term lots to long-term, at the cost of staying exposed to the stock longer. The user's choice, not a modelling detail, and it changes the answer: use the value they gav… |
| divestFraction * | number | Fraction of TOTAL shares to divest, as a decimal (0.5 = sell half). Range 0.10 to 1.0. NOTE: a decimal fraction, NOT a percent, so pass 0.5 not 50. The tool sells round(divestFraction x totalShares) shares, floored at 1. The user's choice, not a modelling detail, and it changes the answer: use the v… |
| ordinaryIncome * | number | Total household ordinary income for the year, USD, from all sources. Sets the federal LTCG bracket floor, the short-term ordinary rate, and the net investment income tax (NIIT) threshold test. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduct… |
{
"name": "rsu_lot_optimize",
"description": "Use this when someone asks which vested RSU lots to sell first, in which years, to divest part of a concentrated company-stock position, compared on total computed tax: \"I want to sell down half my Amazon stock; which lots, and when?\". Given the vested lots (vest date, shares, cost basis), a current price, and a divest fraction, it compares WHICH lots and WHICH sale dates to use, by computed total tax, to divest that many shares, using three levers: specific-lot identification (sell higher-basis lots to realize less gain, or underwater lots to harvest losses that net against gains), long-term deferral (wait past the one-year mark to convert short-term ordinary rates to long-term capital gains), and multi-year bracket spreading (split gains across 1 to 3 tax years, with in-plan capital-loss carryforward). Every sale is priced at today's price (flat-price assumption; there is no growth model). Returns the year-by-year sell schedule grouped by tax year, the total tax (federal LTCG + NIIT + state), what a first-in-first-out (FIFO) oldest-first sell order on the same schedule would have cost (`headlineDeltaVsFifo`), a 1/2/3-year horizon trade-off, and per-lot deferral callouts. This tool owns WHICH LOTS and WHICH DATES; for WHETHER and HOW MUCH to sell down a position use `concentration_analyze`, for a single new vest use `rsu_sell_vs_hold`, and to raise a specific cash amount by a deadline use `equity_funding_plan`. Out of scope: growth/return modeling, wash-sale basis migration, AMT, unvested grants. The lot order is a calculation from the lots and inputs supplied, for planning, not tax or investment advice; the user should have a tax professional confirm it before selling. Example: {lots: [{vestDate: \"2022-08-15\", shares: 120, costBasisPerShare: 95}, {vestDate: \"2024-02-15\", shares: 100, costBasisPerShare: 130}, {vestDate: \"2026-05-15\", shares: 80, costBasisPerShare: 210}], currentPrice: 180, divestFraction: 0.5, horizonYears: 2, ordinaryIncome: 200000, filingStatus: \"single\", stateCode: \"CA\"}. Every field in `required` is a fact about the user's situation with no built-in default: a missing one returns an error naming it, and validation cannot tell a supplied figure from a guessed one. Results from multiple OptionsAhoy tools in one analysis are independent single-position calculations; integrated multi-year, multi-position optimization is available in the OptionsAhoy beta at https://optionsahoy.com/beta?src=mcp_multi.",
"inputSchema": {
"type": "object",
"required": [
"lots",
"currentPrice",
"divestFraction",
"horizonYears",
"ordinaryIncome",
"filingStatus",
"stateCode"
],
"properties": {
"lots": {
"type": "array",
"items": {
"type": "object",
"required": [
"vestDate",
"shares",
"costBasisPerShare"
],
"properties": {
"shares": {
"type": "number",
"description": "Shares still held from this vest. Fractional allowed (dividend-reinvest / net-settlement lots).",
"exclusiveMinimum": 0
},
"vestDate": {
"type": "string",
"format": "date",
"description": "Date this lot vested (YYYY-MM-DD), on or before today. Drives long-term-vs-short-term status and the long-term-crossing sale date."
},
"costBasisPerShare": {
"type": "number",
"minimum": 0,
"description": "Per-share cost basis, USD: the share price on vest day, which your broker's lot-detail page lists."
}
}
},
"maxItems": 20,
"minItems": 1,
"description": "The vested RSU lots still held (after any sell-to-cover), one entry per vest tranche. The tool decides which of these to sell and when. Unvested grants are out of scope. At most 20 lots per call, the same cap the web calculator uses. With more tranches than that, combine the ones sharing a vest date and cost basis."
},
"stateCode": {
"enum": [
"AK",
"AL",
"AR",
"AZ",
"CA",
"CO",
"CT",
"DC",
"DE",
"FL",
"GA",
"HI",
"IA",
"ID",
"IL",
"IN",
"KS",
"KY",
"LA",
"MA",
"MD",
"ME",
"MI",
"MN",
"MO",
"MS",
"MT",
"NC",
"ND",
"NE",
"NH",
"NJ",
"NM",
"NV",
"NY",
"OH",
"OK",
"OR",
"PA",
"RI",
"SC",
"SD",
"TN",
"TX",
"UT",
"VA",
"VT",
"WA",
"WI",
"WV",
"WY"
],
"type": "string",
"description": "Two-letter US state code (e.g. CA, NY, TX). Drives state capital-gains treatment (CA taxes gains as ordinary; WA/TX/FL have no tax on most capital gains)."
},
"currentPrice": {
"type": "number",
"minimum": 0,
"description": "Current share price, USD. Every sale, on every date, is priced at this value (flat-price assumption). This value must come from the user."
},
"filingStatus": {
"enum": [
"single",
"married_joint",
"head_household"
],
"type": "string",
"description": "Federal filing status. Drives LTCG brackets, the NIIT threshold, and state bracket lookups."
},
"horizonYears": {
"type": "integer",
"maximum": 3,
"minimum": 1,
"description": "Tax years the plan may span: 1 = sell everything now, 2, or 3. More years let the plan spread gains across brackets and defer short-term lots to long-term, at the cost of staying exposed to the stock longer. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
},
"divestFraction": {
"type": "number",
"maximum": 1,
"minimum": 0.1,
"description": "Fraction of TOTAL shares to divest, as a decimal (0.5 = sell half). Range 0.10 to 1.0. NOTE: a decimal fraction, NOT a percent, so pass 0.5 not 50. The tool sells round(divestFraction x totalShares) shares, floored at 1. The user's choice, not a modelling detail, and it changes the answer: use the value they gave, and if they gave none, ask for it rather than assuming one."
},
"ordinaryIncome": {
"type": "number",
"minimum": 0,
"description": "Total household ordinary income for the year, USD, from all sources. Sets the federal LTCG bracket floor, the short-term ordinary rate, and the net investment income tax (NIIT) threshold test. This is taxable income after deductions, not gross wages: the engine applies no standard or itemized deduction to it. Assumed constant across plan years. Must come from the user."
}
}
},
"outputSchema": {
"type": "object",
"required": [
"sharesToSell",
"totalShares",
"totalGross",
"totalTax",
"totalAfterTax",
"schedule",
"keptUnrealizedGain",
"carryforwardRemaining",
"headlineAfterTaxKept",
"headlineDeltaVsFifo",
"attribution",
"horizonCards",
"deferralCallouts"
],
"properties": {
"schedule": {
"type": "array",
"items": {
"type": "object",
"required": [
"year",
"sales",
"netLong",
"netShort",
"tax",
"effectiveRate",
"carryforwardGenerated"
],
"properties": {
"tax": {
"type": "number",
"description": "Total tax for this year (federal + state + NIIT), in dollars."
},
"year": {
"type": "number",
"description": "Calendar tax year."
},
"sales": {
"type": "array",
"items": {
"type": "object",
"required": [
"lotIndex",
"vestDate",
"saleDate",
"year",
"shares",
"grossProceeds",
"gainAmount",
"isLongTerm",
"taxAttributed"
],
"properties": {
"year": {
"type": "number",
"description": "Calendar tax year of the sale."
},
"shares": {
"type": "number",
"description": "Shares sold in this row (may be fractional)."
},
"lotIndex": {
"type": "number",
"description": "0-based index into the input lots array this row draws from."
},
"saleDate": {
"type": "string",
"description": "Date this block is sold, ISO date-time string: today, a long-term-crossing date, or Jan 2 of a later plan year."
},
"vestDate": {
"type": "string",
"description": "Vest (acquisition) date of the lot, ISO date-time string."
},
"gainAmount": {
"type": "number",
"description": "Realized capital gain, negative for a loss, in dollars."
},
"isLongTerm": {
"type": "boolean",
"description": "True when the lot was held more than one year at the sale date (long-term capital gain)."
},
"grossProceeds": {
"type": "number",
"description": "Gross sale proceeds in dollars (shares x current price; flat-price assumption)."
},
"taxAttributed": {
"type": "number",
"description": "Signed tax attributed to this row in dollars; a loss row is negative (the tax it removes)."
}
},
"description": "One vested lot sold, in whole or part, on one date."
},
"description": "Per-lot sale rows in this year."
},
"netLong": {
"type": "number",
"description": "Net long-term gain or loss after netting, in dollars."
},
"netShort": {
"type": "number",
"description": "Net short-term gain or loss after netting, in dollars."
},
"effectiveRate": {
"type": "number",
"description": "Year tax divided by year net gain, 0..1."
},
"carryforwardGenerated": {
"type": "number",
"description": "Capital loss carried into the next plan year from this year, in dollars (0 when the year nets positive)."
}
},
"description": "All sales in one tax year, after Schedule D netting."
},
"description": "The sell plan, grouped by tax year."
},
"totalTax": {
"type": "number",
"description": "Total plan tax across all years (federal LTCG + NIIT + state, net of in-plan loss carryforward), in dollars."
},
"totalGross": {
"type": "number",
"description": "Gross proceeds from the divested shares, in dollars."
},
"attribution": {
"type": "object",
"required": [
"lotSelection",
"spreadingDeferral",
"total"
],
"properties": {
"total": {
"type": "number",
"description": "Total saving vs selling oldest-first, all today, in dollars."
},
"lotSelection": {
"type": "number",
"description": "Saving from choosing which lots to sell (equals headlineDeltaVsFifo), in dollars."
},
"spreadingDeferral": {
"type": "number",
"description": "Saving from spreading sales across years and deferring for long-term status, in dollars. Can be <= 0 in loss-mix cases."
}
},
"description": "Telescoping attribution of the total saving vs a FIFO-all-today sale. lotSelection + spreadingDeferral = total."
},
"totalShares": {
"type": "number",
"description": "Total shares across all input lots."
},
"horizonCards": {
"type": "array",
"items": {
"type": "object",
"required": [
"horizonYears",
"totalTax",
"afterTaxKept"
],
"properties": {
"totalTax": {
"type": "number",
"description": "Total plan tax under this horizon, in dollars."
},
"afterTaxKept": {
"type": "number",
"description": "After-tax proceeds from the divested shares under this horizon, in dollars."
},
"horizonYears": {
"type": "number",
"description": "Plan length in tax years (1 = sell all now, 2, or 3)."
}
},
"description": "Total tax and after-tax proceeds for the same divest target under a given horizon."
},
"description": "The same divest target under a 1-year (\"all now\"), 2-year, and 3-year plan, for the trade-off strip."
},
"sharesToSell": {
"type": "number",
"description": "Shares the plan divests (round(divestFraction x totalShares), floored at 1)."
},
"totalAfterTax": {
"type": "number",
"description": "After-tax proceeds from the divested shares, in dollars."
},
"deferralCallouts": {
"type": "array",
"items": {
"type": "object",
"required": [
"lotIndex",
"longTermDate",
"daysToWait",
"taxSaved",
"amountAtRisk"
],
"properties": {
"lotIndex": {
"type": "number",
"description": "0-based index into the input lots array."
},
"taxSaved": {
"type": "number",
"description": "Tax saved by waiting for long-term treatment, in dollars."
},
"daysToWait": {
"type": "number",
"description": "Days from the planned sale date to longTermDate."
},
"amountAtRisk": {
"type": "number",
"description": "Position value kept exposed to the stock while waiting, in dollars."
},
"longTermDate": {
"type": "string",
"description": "Date the lot becomes long-term, ISO date-time string (a sale strictly after the first vest anniversary)."
}
},
"description": "A short-term lot that becomes long-term if its sale waits past longTermDate."
},
"description": "Per-lot short-term-to-long-term deferral opportunities."
},
"keptUnrealizedGain": {
"type": "number",
"description": "Unrealized gain still carried by the shares NOT sold, in dollars (deferred, not eliminated)."
},
"headlineDeltaVsFifo": {
"type": "number",
"description": "Dollars saved versus selling oldest-first (FIFO) on the SAME schedule. Pure lot-selection benefit; >= 0 by construction."
},
"headlineAfterTaxKept": {
"type": "number",
"description": "After-tax proceeds under the plan, in dollars: the headline \"you keep $X\" figure."
},
"carryforwardRemaining": {
"type": "number",
"description": "Capital loss remaining at the end of the plan horizon, in dollars (reported, not modeled into future years)."
}
},
"description": "RSU lot-order divest plan: which lots to sell on which dates to divest the target share count at the lowest total tax, versus a first-in-first-out (FIFO) sell order. All dollar amounts are USD."
},
"annotations": {
"title": "RSU Lot-Order Divest Plan",
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}