Skip to main content
Glama

Agent Financial Advisor

Tax lot selection and wash-sale check

tax_lot_plan

Act as the tax advisor for a sale: compares FIFO, LIFO, HIFO and minimum-tax lot selection, splits short- and long-term gains, estimates tax, flags wash sales, and notes lots about to turn long-term. With mode=harvest it scans positions for tax-loss harvesting. Price: $0.02.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lotsYes
modeNosell
sellNomode=sell
as_ofNomode=harvest: date, default today
pricesNomode=harvest: {SYMBOL: current price}
symbolNo
tax_ratesNo
min_harvest_lossNomode=harvest: ignore losses smaller than this (USD), default 100.
recent_transactionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.