Get Politician P&L Scorecard
get_politician_scorecardRanks politicians by estimated 90-day trading P&L, showing the top and bottom performers against a SPY benchmark plus an image card for sharing and comparison.
Instructions
Top 5 and bottom 5 politicians (Congress + executive-branch officials) by estimated trading P&L over a trailing window (default and only supported window: 90 days), plus SPY's return over the same window as a benchmark, and imageUrl: a 2160x2700 PNG card of the same ranking (null when unavailable; card.reason says why). All P&L figures are estimates (estimate: true, estimateRange "±25–40%"): disclosed amount ranges are converted to shares at the historical close, FIFO-matched, and open positions marked to the latest quote. The card prints "Estimates from disclosed amount ranges (±25–40%). Not investment advice." The metric field defines the figure: P&L on trades disclosed inside the window only, i.e. realized on round trips opened and closed in the window plus unrealized on positions opened in the window. It is not lifetime P&L; sales of positions bought before the window are not counted. Eligibility: at least 5 trades in the window (eligibility.minTradesInWindow), so a single lucky trade cannot top the board. Each row: slug, fullTitle ("Senator", "Representative", or an executive official's filed title), fullName, displayName, party and state as full words (the publishable form, rather than "Sen." or "D-CA"), estimatedPnl, winRate (0-1; null = no position closed in the window, which is not measured and not 0%), tradesInWindow, unrealizedMeasured, and portraitUrl (always null for executive officials). benchmark.available false means SPY was not measured (benchmark.reason); it is not a 0% return. available false with reason "pending" means the window has not been computed yet, not that nobody traded.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_politician_scorecard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| window | No | Trailing window in days. Only 90 is supported (default 90). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No |