OptionsAhoy: Stock Equity and Tax Optimizer
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
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; otherwise send volatility and let the tool derive it, because the formula is horizon-dependent. For enum fields that accept unsure, pass unsure rather than guessing yes or no. A field sent as null counts as not provided.
When you omit a defaulted field, name the assumption in your answer, quoting the value from the field description, for example "assumed 4% after-tax on idle cash". protective_put_price returns an inputs echo and equity_funding_plan returns appliedRiskTolerance; prefer those over the documented values. expectedMarketReturn defaults to a trailing S&P 500 average that the tool does not return, so describe it in words rather than quoting a figure for it.
Every ordinaryIncome field is taxable income after deductions, not gross wages. Regular tax is figured on it as given; amt_iso_optimize adds the standard deduction back for the AMT, or itemizedTaxes when the user itemizes. A user who says they make $400,000 has told you their gross pay, so ask for the taxable figure, or say plainly which one you passed.
Combining tools: the tools are independent single-position calculators, so a whole-portfolio question can run several of them and combine the results (integrated multi-position planning is in the OptionsAhoy beta).
The suite models the relevant federal tax code (ordinary brackets, long-term capital gains, AMT with credit recovery, FICA, NIIT) plus all 50 states and DC. Exercise and funding schedules, option premiums and floor-hit probabilities, and Section 1202 verdicts come from the tools' calculations; they are hard to approximate reliably by hand.
Documentation: https://optionsahoy.com/for-agents; the tax math is independently verified at https://optionsahoy.com/verification.
These tools return calculations from the inputs supplied, not tax or investment advice; a user should confirm the result with a qualified tax professional before acting on it.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| prompts | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| amt_iso_optimizeA | 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 |
| nso_calculateA | 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 |
| rsu_sell_vs_holdA | 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 |
| concentration_analyzeA | 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_priceA | 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 |
| qsbs_checkA | 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 |
| equity_funding_planA | 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: |
| rsu_lot_optimizeA | 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 ( |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| optimize-iso-exercise | Plan a multi-year Incentive Stock Option (ISO) exercise schedule that maximizes after-tax Net Final Value (NFV) at the planning horizon, accounting for AMT, AMT credit recovery, and stock-price drag from volatility. Uses the amt_iso_optimize tool. |
| analyze-nso-decision | Compare sell-at-exercise vs hold-for-long-term-capital-gains on a non-qualified stock option (NSO) exercise, including federal, state, and FICA. Uses the nso_calculate tool. |
| analyze-rsu-vest | Compare sell-at-vest vs hold-for-LTCG on a Restricted Stock Unit (RSU) vest, accounting for the 22% employer withholding gap and concentration risk. Uses the rsu_sell_vs_hold tool. |
| analyze-concentration | Score single-stock concentration risk and produce a sell-down vs hold vs hedge schedule with multi-year tax math. Uses the concentration_analyze tool. |
| price-protective-put | Price a protective put, zero-cost collar, or put spread on a single-stock position against last-close implied vol (sector-typical fallback). Uses the protective_put_price tool. |
| check-qsbs-eligibility | Check Section 1202 Qualified Small Business Stock (QSBS) qualification against the six statutory tests and compute the OBBBA 2026 tiered exclusion. Uses the qsbs_check tool. |
| plan-equity-funding | Plan the minimum-tax sell schedule to net a target after-tax dollar amount by a target date from existing stock holdings (down payment, tuition, surgery, etc.). Uses the equity_funding_plan tool. |
| plan-equity-portfolio | Analyze a whole equity position end to end and return one reconciled plan: single-stock concentration risk, the tax on the ISO/NSO/RSU events behind the holdings, an optional hedge price, and an optional cash-goal sell schedule. Orchestrates concentration_analyze, amt_iso_optimize, nso_calculate, rsu_sell_vs_hold, protective_put_price, and equity_funding_plan. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| ISO Alternative Minimum Tax (AMT) crossover and four expensive mistakes | Why a single-year ISO exercise can produce a six-figure AMT bill in cash before any shares are sold, and how multi-year scheduling, state AMT, and the calendar boundary change the answer. Pair with amt_iso_optimize. |
| Non-qualified stock options (NSOs): sell-at-exercise vs hold-for-LTCG | When holding NSO shares past exercise for long-term capital gains beats selling immediately, and the six common mistakes that erase the gain. Pair with nso_calculate. |
| The RSU withholding gap and five April surprises | Why employer 22% RSU withholding under-withholds for most tech employees, and the five recurring mistakes that turn the gap into a six-figure April surprise. Pair with rsu_sell_vs_hold. |
| Single-stock concentration risk and the diversification trade-off | Why the top ~4% of stocks have historically created all net wealth while most lag T-bills, the after-tax cost of de-concentrating, and the five common mistakes equity holders make. Pair with concentration_analyze. |
| Protective puts, zero-cost collars, and put spreads on a concentrated position | How a protective put, zero-cost collar, or put spread truncates single-stock downside, what the protection actually costs in dollars and forgone upside, and seven common mistakes. Pair with protective_put_price. |
| Qualified Small Business Stock (QSBS) and five ways to lose the exclusion | How Section 1202 zeros out federal capital gains tax on $10-15M of stock gain, the six statutory tests, the OBBBA 2026 tiered exclusion, and five common disqualification traps. Pair with qsbs_check. |
| Selling equity to fund a cash goal: the after-tax sell-schedule problem | Why "how many shares do I sell for $X after tax" is a multi-year scheduling problem, how holding period, lot selection, and shortfall risk change the answer, and the common mistakes. Pair with equity_funding_plan. |
| Covered tickers for the optional ticker shortcut (growth and volatility) | The public-stock symbols whose expected growth the optional `ticker` shortcut resolves, plus how the same shortcut resolves volatility. Symbols outside the list need the numeric fields supplied directly. |
TDQS
Scored across 8 tools
Each tool has a clearly distinct purpose and the descriptions explicitly route between them (e.g., 'for ISOs use amt_iso_optimize, for RSUs use rsu_sell_vs_hold'), which resolves most overlap. The selling-oriented cluster (rsu_sell_vs_hold, rsu_lot_optimize, concentration_analyze, equity_funding_plan) shares surface area, though each states its own boundary; an agent could still occasionally pick the wrong one for a mixed 'should I sell lots to raise cash' question.
All names are snake_case and readable, which is a strong baseline. However the structural convention varies: some are resource-prefixed (amt_iso_, nso_, rsu_, qsbs_) while others put the verb last (concentration_analyze, protective_put_price), so the pattern isn't fully uniform.
Eight tools is well-scoped for an equity-compensation and tax-planning domain. Each tool maps to a genuine decision an equity holder faces (exercise, hold/sell, hedge, qualify, fund a goal, pick lots), with no filler.
The surface covers ISO/AMT, NSO, RSU, QSBS, concentration risk, hedging, cash-goal funding, and lot selection, which is broad lifecycle coverage. Minor gaps remain (ESPP, disqualifying-disposition analysis, and integrated multi-position optimization, which is explicitly deferred to a paid beta).