Polyrank Ranking Builder (custom composite ranking)
polyrank_rank_walletsRank every Polymarket wallet with your own composite — exactly what the Ranking Builder runs (POST /v1/rankings/custom). weights: metric id → weight (or {weight, window}); any of the 84 catalog metrics at any window it exists at (polyrank_get_metric_windows), plus copy-engine (sk_score_14d) and entry-timing ids at lifetime. filters: min_trades, min_resolved, min_inband_n_30d (the in-band positions behind inband_return_30d: a sort by engine:inband_return_30d applies 10 unless you set it, 1 = every measured wallet; the floor that ran is in applied_filters), min_volume_usdc, min_realized_pnl(_net_fees), min_win_rate_pct, max_roi_pct, active_within_days/hours, categories, exclude_bonders, skill_gates [{metric,min_pctile,window}], metric_filters [{metric,min,max,window}], copy_engine {sleeve}, timing {sub,bucket,window,min_n}, cluster_policy, copy_placeable, smart_money_tags_any_of, follower_count_max … (the server rejects anything it cannot apply, with the reason). A HISTORY BOARD (a Strategy Lab history ranking's latest seat) is filters {history_board: {board}} with board one of underdog-specialists | copier-consensus | predictors-early-underdog | sports-closing-line and NO weights: it is ranked by the seat's own order and served as that preset board; only active_within_days, active_within_hours and best_category may narrow it (window_days, score, min_positions, one_per_operator and other keys are not accepted there), plus limit, offset, sort_by, sort_dir, include_breakdown, include_verdict, extra_metrics, extra_engine_metrics, dedupe_clusters. as_of=YYYY-MM-DD ranks the board as it stood that day (lifetime snapshot metrics only — refused with the reason otherwise, never answered live). To reproduce a Builder goal, pass its request from polyrank_list_ranking_templates as request. Needs POLYRANK_API_KEY (a plan with the Builder).
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": "polyrank_rank_wallets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | Rank the board as it stood on this day (ISO date). Lifetime snapshot metrics only. | |
| limit | No | Rows (default 100, max 500). | |
| offset | No | ||
| window | No | Default window for every weight given as a bare number (default lifetime). | |
| explain | No | How many wallets each filter dropped. | |
| filters | No | Ranking filters (see description). | |
| request | No | A complete POST /v1/rankings/custom body (e.g. a goal's `request`). When given, the other arguments override its fields. | |
| sort_by | No | composite (default), metric:<id>, pctile:<id>, engine:<id>, timing:<id>, or a board column. engine:inband_return_30d is a mean over few positions for most wallets: it carries a min_inband_n_30d floor (default 10) and projects inband_n_30d beside it. | |
| weights | No | metric id → weight, or → {weight, window}. Weights are auto-normalized. | |
| sort_dir | No | ||
| na_policy | No | ||
| include_raw | No | Raw values beside the percentiles (dollars, hours). | |
| extra_metrics | No | More metric columns to project. | |
| dedupe_clusters | No | Keep one wallet per wallet-farm cluster. | |
| include_verdict | No | The copy verdict the trader page shows. | |
| include_breakdown | No | Per-metric percentile cells per row. | |
| extra_engine_metrics | No | Copy-engine columns to project. |