@0xinsider/mcp 3.22.0 → 3.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -0
- package/dist/constants.d.ts +1 -1
- package/dist/constants.js +1 -1
- package/dist/product-cli/operations.js +1 -1
- package/dist/product-cli/operations.js.map +1 -1
- package/dist/sdk/client.d.ts +1 -1
- package/dist/sdk/client.d.ts.map +1 -1
- package/dist/sdk/schema.d.ts +147 -12
- package/dist/sdk/schema.d.ts.map +1 -1
- package/dist/tools/get-insider-radar.d.ts.map +1 -1
- package/dist/tools/get-insider-radar.js +2 -1
- package/dist/tools/get-insider-radar.js.map +1 -1
- package/dist/tools/get-leaderboard.js +1 -1
- package/dist/tools/get-leaderboard.js.map +1 -1
- package/dist/tools/get-positions.js +1 -1
- package/dist/tools/get-positions.js.map +1 -1
- package/dist/tools/get-suspicious-trades.d.ts +6 -2
- package/dist/tools/get-suspicious-trades.d.ts.map +1 -1
- package/dist/tools/get-suspicious-trades.js +12 -5
- package/dist/tools/get-suspicious-trades.js.map +1 -1
- package/dist/tools/get-trader.js +1 -1
- package/dist/tools/pick-of-the-day.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-insider-radar.d.ts","sourceRoot":"","sources":["../../src/tools/get-insider-radar.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzC,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"get-insider-radar.d.ts","sourceRoot":"","sources":["../../src/tools/get-insider-radar.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AAEzD,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAOzC,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,IAAI,CA8BlF"}
|
|
@@ -15,7 +15,7 @@ export function registerGetInsiderRadar(server, client) {
|
|
|
15
15
|
idempotentHint: true,
|
|
16
16
|
openWorldHint: false,
|
|
17
17
|
},
|
|
18
|
-
}, async ({ limit, cursor, min_suspicion, severity, mode }, ctx) => {
|
|
18
|
+
}, async ({ limit, cursor, min_suspicion, severity, mode, sort }, ctx) => {
|
|
19
19
|
try {
|
|
20
20
|
const response = await client.request("/api/v1/insider-radar", {
|
|
21
21
|
limit,
|
|
@@ -23,6 +23,7 @@ export function registerGetInsiderRadar(server, client) {
|
|
|
23
23
|
min_suspicion,
|
|
24
24
|
severity,
|
|
25
25
|
mode,
|
|
26
|
+
sort,
|
|
26
27
|
}, undefined, { signal: ctx.mcpReq.signal });
|
|
27
28
|
return ok(listResult(response));
|
|
28
29
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-insider-radar.js","sourceRoot":"","sources":["../../src/tools/get-insider-radar.ts"],"names":[],"mappings":"AAAA,2EAA2E;AAC3E,+EAA+E;AAC/E,8DAA8D;AAG9D,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACnD,OAAO,EACL,6BAA6B,EAC7B,2BAA2B,GAC5B,MAAM,4BAA4B,CAAC;AAEpC,MAAM,UAAU,uBAAuB,CAAC,MAAiB,EAAE,MAAiB;IAC1E,MAAM,CAAC,YAAY,CACjB,mBAAmB,EACnB;QACE,KAAK,EAAE,yBAAyB;QAChC,WAAW,EAAE,yKAAyK,6BAA6B,EAAE;QACrN,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,2BAA2B,CAAC;QAClD,WAAW,EAAE;YACX,YAAY,EAAE,IAAI;YAClB,eAAe,EAAE,KAAK;Y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AC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;QAClC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -44,7 +44,7 @@ Args:
|
|
|
44
44
|
- dir (string, optional): asc or desc; omitted, rank 1 first for rank and largest first for the rest
|
|
45
45
|
- activity (string, optional): all (default), active (last trade 30 days ago or less) or inactive
|
|
46
46
|
|
|
47
|
-
Returns: Ranked list of traders with grade, score, sports and esports P&L, markets, win rate, edge over the price paid, and strategy. Without category or strategy, also summary: the whole board's ranked_total, by_grade (S, A, B), active_30d (last trade 30 days ago or less) and as_of, the counts the site's leaderboard shows.`,
|
|
47
|
+
Returns: Ranked list of traders with grade, score, sports and esports P&L, markets, win rate, edge over the price paid, and strategy. Under 5 decided markets win_rate_status is not_enough_data: give the decided count (in_scope.markets_decided), not win_rate as a rate. Without category or strategy, also summary: the whole board's ranked_total, by_grade (S, A, B), active_30d (last trade 30 days ago or less) and as_of, the counts the site's leaderboard shows.`,
|
|
48
48
|
inputSchema: z.object({
|
|
49
49
|
limit: z.number().int().min(1).max(100).default(20)
|
|
50
50
|
.describe("Max results (1-100, default 20)"),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-leaderboard.js","sourceRoot":"","sources":["../../src/tools/get-leaderboard.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AAEnD;;;;;;GAMG;AACH,MAAM,sBAAsB,GAAG;IAC7B,kBAAkB;IAClB,aAAa;IACb,eAAe;IACf,OAAO;IACP,WAAW;IACX,cAAc;CACN,CAAC;AAEX;;;GAGG;AACH,MAAM,iBAAiB,GAAG;IACxB,MAAM;IACN,OAAO;IACP,QAAQ;IACR,aAA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AG,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC,CAAC;YAE7C,MAAM,MAAM,GAAG,UAAU,CAAC,QAAQ,CAAC,CAAC;YAEpC,OAAO,EAAE,CAAC,MAAM,CAAC,CAAC;QACpB,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
|
|
@@ -56,7 +56,7 @@ Args:
|
|
|
56
56
|
- side (string, optional): Filter by binary side: "yes" or "no"
|
|
57
57
|
- consistency (string, optional): live (default) or snapshot. snapshot requires wallet and freezes up to 500 positions and 2 MB for up to five minutes; repeat the same filters and consistency on every page. A new first page replaces the API key's prior snapshot; a changed filter errors, and an expired or replaced cursor returns cursor_expired
|
|
58
58
|
|
|
59
|
-
Returns: List of current positions with pagination metadata. The page carries data_quality beside data: status, as_of (the oldest clock the page rests on) and field_groups. fresh and stale both mean tracked and clocked; stale means as_of is older than max_age_s, the refresh budget of the group writer. Neither is a tolerance: compare as_of with your own. unknown means this read cannot date that group, never that it is recent. With consistency=snapshot, the page also carries snapshot: as_of, expires_at, row_count.`,
|
|
59
|
+
Returns: List of current positions with pagination metadata. Under 5 decided markets trader.win_rate_status is not_enough_data: give trader.markets_decided, not trader.win_rate as a rate. The page carries data_quality beside data: status, as_of (the oldest clock the page rests on) and field_groups. fresh and stale both mean tracked and clocked; stale means as_of is older than max_age_s, the refresh budget of the group writer. Neither is a tolerance: compare as_of with your own. unknown means this read cannot date that group, never that it is recent. With consistency=snapshot, the page also carries snapshot: as_of, expires_at, row_count.`,
|
|
60
60
|
inputSchema: z.object(positionsParamsSchema),
|
|
61
61
|
annotations: {
|
|
62
62
|
readOnlyHint: true,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-positions.js","sourceRoot":"","sources":["../../src/tools/get-positions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAA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AACJ,CAAC"}
|
|
@@ -14,6 +14,10 @@ export declare const suspiciousTradesInputSchema: {
|
|
|
14
14
|
live: "live";
|
|
15
15
|
stable: "stable";
|
|
16
16
|
}>>;
|
|
17
|
+
readonly sort: z.ZodDefault<z.ZodEnum<{
|
|
18
|
+
recent: "recent";
|
|
19
|
+
suspicion_score: "suspicion_score";
|
|
20
|
+
}>>;
|
|
17
21
|
};
|
|
18
22
|
/**
|
|
19
23
|
* Shared by the canonical by-ID tool and its deprecated alias.
|
|
@@ -25,8 +29,8 @@ export declare const suspiciousTradesInputSchema: {
|
|
|
25
29
|
export declare const suspiciousTradeInputSchema: {
|
|
26
30
|
readonly id: z.ZodString;
|
|
27
31
|
};
|
|
28
|
-
export declare const SUSPICIOUS_TRADES_DESCRIPTION = "Stored trades whose recorded suspicion score meets the live flag threshold. Cursor-paginated by suspicion score (highest first). Use mode=stable when a walk must stay on one published scoring generation; restart when it returns cursor_expired.\n\nEach suspicious trade includes:\n- suspicion_score (60-100)\n- severity (currently flag)\n- Sub-scores: size and fresh_wallet when recorded; timing and edge are null\n- Evidence JSON with the scorer's stored signals\n\nArgs:\n - limit (number, 1-100, default 20): Max results per page\n - cursor (string, optional): Pagination cursor from previous response\n - min_suspicion (number, 0-100, default 0): Minimum score; the live floor of 60 also applies\n - severity (string, optional): \"flag\" selects live rows; \"watch\" returns none because no live watch policy exists\n - mode (string, optional): \"live\" (default) uses fresh cached pages; \"stable\" pins the walk to one published scoring generation\n\nReturns: List of suspicious trades with trader, market, scores, and
|
|
29
|
-
export declare const SUSPICIOUS_TRADE_DESCRIPTION = "Read one suspicious trade by ID. Accepts the rf_ ID returned by list responses or the raw numeric whale_alerts.id.\n\nArgs:\n - id (string, required): Suspicious trade ID such as rf_123 or 123\n\nReturns: One suspicious trade with trader, market, suspicion scores, and
|
|
32
|
+
export declare const SUSPICIOUS_TRADES_DESCRIPTION = "Stored trades whose recorded suspicion score meets the live flag threshold. Cursor-paginated by suspicion score (highest first); sort=recent lists the newest flagged trade first. Use mode=stable when a walk must stay on one published scoring generation; restart when it returns cursor_expired.\n\nEach suspicious trade includes:\n- suspicion_score (60-100)\n- severity (currently flag)\n- Sub-scores: size and fresh_wallet when recorded; timing and edge are deprecated and always null\n- Evidence JSON with the scorer's stored signals\n- result: how the market settled for the trade's side (won, lost, void, pending, unknown), with the fill's settled P&L\n- clv: the trade against the market's closing line at kickoff, the object large trades carry\n- hedge: what else the wallet holds that pays if the flagged outcome loses, the hedge the Suspicious trades page shows (state hedged, none, unknown or sell; opposing_usd; legs with place, shares and usd); a fact about positions, never a verdict\n\nArgs:\n - limit (number, 1-100, default 20): Max results per page\n - cursor (string, optional): Pagination cursor from previous response\n - min_suspicion (number, 0-100, default 0): Minimum score; the live floor of 60 also applies\n - severity (string, optional): \"flag\" selects live rows; \"watch\" returns none because no live watch policy exists\n - mode (string, optional): \"live\" (default) uses fresh cached pages; \"stable\" pins the walk to one published scoring generation\n - sort (string, optional): \"suspicion_score\" (default) lists the highest score first; \"recent\" lists the newest flagged trade first\n\nReturns: List of suspicious trades with trader, market, scores, evidence, result, clv, and hedge.";
|
|
33
|
+
export declare const SUSPICIOUS_TRADE_DESCRIPTION = "Read one suspicious trade by ID. Accepts the rf_ ID returned by list responses or the raw numeric whale_alerts.id.\n\nArgs:\n - id (string, required): Suspicious trade ID such as rf_123 or 123\n\nReturns: One suspicious trade with trader, market, suspicion scores, evidence, result, clv, and hedge.";
|
|
30
34
|
export declare function registerGetSuspiciousTrades(server: McpServer, client: ApiClient): void;
|
|
31
35
|
export declare function registerGetSuspiciousTrade(server: McpServer, client: ApiClient): void;
|
|
32
36
|
//# sourceMappingURL=get-suspicious-trades.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-suspicious-trades.d.ts","sourceRoot":"","sources":["../../src/tools/get-suspicious-trades.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAUzC,kEAAkE;AAClE,eAAO,MAAM,2BAA2B;aACtC,KAAK;aAEL,MAAM;aASN,aAAa;aAEb,QAAQ;;;;aAER,IAAI;;;;CAEI,CAAC;AAEX;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B;aACrC,EAAE;CACM,CAAC;AAEX,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"get-suspicious-trades.d.ts","sourceRoot":"","sources":["../../src/tools/get-suspicious-trades.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAUzC,kEAAkE;AAClE,eAAO,MAAM,2BAA2B;aACtC,KAAK;aAEL,MAAM;aASN,aAAa;aAEb,QAAQ;;;;aAER,IAAI;;;;aAEJ,IAAI;;;;CAEI,CAAC;AAEX;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B;aACrC,EAAE;CACM,CAAC;AAEX,eAAO,MAAM,6BAA6B,ssDAmBwD,CAAC;AAEnG,eAAO,MAAM,4BAA4B,gTAK8D,CAAC;AAExG,wBAAgB,2BAA2B,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,IAAI,CAyBtF;AAED,wBAAgB,0BAA0B,CAAC,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,SAAS,GAAG,IAAI,CAoBrF"}
|
|
@@ -30,6 +30,8 @@ export const suspiciousTradesInputSchema = {
|
|
|
30
30
|
.describe('"flag" selects live rows; "watch" returns none because no live watch policy exists'),
|
|
31
31
|
mode: z.enum(["live", "stable"]).default("live")
|
|
32
32
|
.describe("live uses the fresh response cache; stable pins pagination to one published scoring generation"),
|
|
33
|
+
sort: z.enum(["suspicion_score", "recent"]).default("suspicion_score")
|
|
34
|
+
.describe("suspicion_score lists the highest score first; recent lists the newest flagged trade first. A cursor continues only the sort that issued it"),
|
|
33
35
|
};
|
|
34
36
|
/**
|
|
35
37
|
* Shared by the canonical by-ID tool and its deprecated alias.
|
|
@@ -41,13 +43,16 @@ export const suspiciousTradesInputSchema = {
|
|
|
41
43
|
export const suspiciousTradeInputSchema = {
|
|
42
44
|
id: z.string().trim().min(1).describe("Suspicious trade ID such as rf_123 or 123"),
|
|
43
45
|
};
|
|
44
|
-
export const SUSPICIOUS_TRADES_DESCRIPTION = `Stored trades whose recorded suspicion score meets the live flag threshold. Cursor-paginated by suspicion score (highest first). Use mode=stable when a walk must stay on one published scoring generation; restart when it returns cursor_expired.
|
|
46
|
+
export const SUSPICIOUS_TRADES_DESCRIPTION = `Stored trades whose recorded suspicion score meets the live flag threshold. Cursor-paginated by suspicion score (highest first); sort=recent lists the newest flagged trade first. Use mode=stable when a walk must stay on one published scoring generation; restart when it returns cursor_expired.
|
|
45
47
|
|
|
46
48
|
Each suspicious trade includes:
|
|
47
49
|
- suspicion_score (60-100)
|
|
48
50
|
- severity (currently flag)
|
|
49
|
-
- Sub-scores: size and fresh_wallet when recorded; timing and edge are null
|
|
51
|
+
- Sub-scores: size and fresh_wallet when recorded; timing and edge are deprecated and always null
|
|
50
52
|
- Evidence JSON with the scorer's stored signals
|
|
53
|
+
- result: how the market settled for the trade's side (won, lost, void, pending, unknown), with the fill's settled P&L
|
|
54
|
+
- clv: the trade against the market's closing line at kickoff, the object large trades carry
|
|
55
|
+
- hedge: what else the wallet holds that pays if the flagged outcome loses, the hedge the Suspicious trades page shows (state hedged, none, unknown or sell; opposing_usd; legs with place, shares and usd); a fact about positions, never a verdict
|
|
51
56
|
|
|
52
57
|
Args:
|
|
53
58
|
- limit (number, 1-100, default 20): Max results per page
|
|
@@ -55,21 +60,22 @@ Args:
|
|
|
55
60
|
- min_suspicion (number, 0-100, default 0): Minimum score; the live floor of 60 also applies
|
|
56
61
|
- severity (string, optional): "flag" selects live rows; "watch" returns none because no live watch policy exists
|
|
57
62
|
- mode (string, optional): "live" (default) uses fresh cached pages; "stable" pins the walk to one published scoring generation
|
|
63
|
+
- sort (string, optional): "suspicion_score" (default) lists the highest score first; "recent" lists the newest flagged trade first
|
|
58
64
|
|
|
59
|
-
Returns: List of suspicious trades with trader, market, scores, and
|
|
65
|
+
Returns: List of suspicious trades with trader, market, scores, evidence, result, clv, and hedge.`;
|
|
60
66
|
export const SUSPICIOUS_TRADE_DESCRIPTION = `Read one suspicious trade by ID. Accepts the rf_ ID returned by list responses or the raw numeric whale_alerts.id.
|
|
61
67
|
|
|
62
68
|
Args:
|
|
63
69
|
- id (string, required): Suspicious trade ID such as rf_123 or 123
|
|
64
70
|
|
|
65
|
-
Returns: One suspicious trade with trader, market, suspicion scores, and
|
|
71
|
+
Returns: One suspicious trade with trader, market, suspicion scores, evidence, result, clv, and hedge.`;
|
|
66
72
|
export function registerGetSuspiciousTrades(server, client) {
|
|
67
73
|
server.registerTool("get_suspicious_trades", {
|
|
68
74
|
title: "Get suspicious trades",
|
|
69
75
|
description: SUSPICIOUS_TRADES_DESCRIPTION,
|
|
70
76
|
inputSchema: z.object(suspiciousTradesInputSchema),
|
|
71
77
|
annotations: readAnnotations,
|
|
72
|
-
}, async ({ limit, cursor, min_suspicion, severity, mode }, ctx) => {
|
|
78
|
+
}, async ({ limit, cursor, min_suspicion, severity, mode, sort }, ctx) => {
|
|
73
79
|
try {
|
|
74
80
|
const response = await client.request("/api/v1/suspicious-trades", {
|
|
75
81
|
limit,
|
|
@@ -77,6 +83,7 @@ export function registerGetSuspiciousTrades(server, client) {
|
|
|
77
83
|
min_suspicion,
|
|
78
84
|
severity,
|
|
79
85
|
mode,
|
|
86
|
+
sort,
|
|
80
87
|
}, undefined, { signal: ctx.mcpReq.signal });
|
|
81
88
|
return ok(listResult(response));
|
|
82
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-suspicious-tr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AAC,CAAC;YAC7C,OAAO,EAAE,CAAC,UAAU,CAAC,QAAQ,CAAC,CAAC,CAAC;QAClC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,0BAA0B,CAAC,MAAiB,EAAE,MAAiB;IAC7E,MAAM,CAAC,YAAY,CACjB,sBAAsB,EACtB;QACE,KAAK,EAAE,sBAAsB;QAC7B,WAAW,EAAE,4BAA4B;QACzC,WAAW,EAAE,CAAC,CAAC,MAAM,CAAC,0BAA0B,CAAC;QACjD,WAAW,EAAE,eAAe;KAC7B,EACD,KAAK,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,EAAE,EAAE;QACpB,IAAI,CAAC;YACH,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,OAAO,CACnC,6BAA6B,kBAAkB,CAAC,EAAE,CAAC,EAAE,EAAE,SAAS,EAAE,SAAS,EAAE,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,EAAE,CAC3G,CAAC;YACF,OAAO,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC;QACpD,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO,IAAI,CAAC,KAAK,CAAC,CAAC;QACrB,CAAC;IACH,CAAC,CACF,CAAC;AACJ,CAAC"}
|
package/dist/tools/get-trader.js
CHANGED
|
@@ -4,7 +4,7 @@ export const traderLookupSchema = z.string().trim().min(1).max(100);
|
|
|
4
4
|
export function registerGetTrader(server, client) {
|
|
5
5
|
server.registerTool("get_trader", {
|
|
6
6
|
title: "Get trader",
|
|
7
|
-
description: `Look up a prediction market trader by wallet address or username. Returns grade (S through F), the edge over the price paid the profile badge shows (price_edge), and the sports and esports record: realized P&L (pnl.in_scope), markets traded, win rate, and volume. Wallet figures cover sports and esports markets only.
|
|
7
|
+
description: `Look up a prediction market trader by wallet address or username. Returns grade (S through F), the edge over the price paid the profile badge shows (price_edge), and the sports and esports record: realized P&L (pnl.in_scope), markets traded, win rate, and volume. Under 5 decided markets stats.win_rate_status is not_enough_data: read stats.markets_won of stats.markets_decided, not win_rate as a rate. Wallet figures cover sports and esports markets only.
|
|
8
8
|
|
|
9
9
|
Optional expand fields for heavier data:
|
|
10
10
|
- strategy: Trading strategy classification
|
|
@@ -35,7 +35,7 @@ With \`date\`, the tool reads that past day's slate as the dated web page shows
|
|
|
35
35
|
|
|
36
36
|
For today, when no active pick is available, the tool returns reason pick_not_released and retry_at. Schedule the next read from the returned retry guidance or an entitled scheduled slot's release_at instead of polling. While today's list can still grow, the response carries more_picks_until, the instant until which another pick can still be added; it is absent once the day is final. A later pick is possible, not promised. An entitled published pick whose holder proof is not readable appears in \`proof_pending_picks\` (pick_rank, release_at, kickoff, retry_at), while \`picks\` contains readable picks. The tool returns read_model_warming only when no entitled published pick has readable proof. If only Max-locked selections have published, a successful state=none response carries picks=[], pick_count=0, locked_picks and an upgrade action.
|
|
37
37
|
|
|
38
|
-
The default view=summary lists each entitled pick in about 600 characters: pick_id, publication_order, is_free_selection, matchup, category, event_slug, polymarket_url, token_id, pick_outcome_label, outcome, backed_price, stake_usd, return_usd, unit_score, top_grade, holder_count, clv_status, clv_pct, release_at, kickoff, game_started and game_ended, with the disclaimer once and the same scheduled_picks, proof_pending_picks, locked_picks and more_picks_until. Send pick_id to read one pick of any day, with no date needed; with pick_id the view defaults to full, the whole record of that pick (its thesis, and its holders, sports context, lead backer and entry_authorization when recorded), carried once in picks[0] beside state, pick_date and pick_count. view=full without pick_id returns every pick in full and can pass 200,000 characters on a Max slate. A pick_id that is not an entitled published pick (of the date sent, when one is sent) returns not_found with param pick_id; a proof-pending one returns read_model_warming.
|
|
38
|
+
The default view=summary lists each entitled pick in about 600 characters: pick_id, publication_order, is_free_selection, matchup, category, event_slug, polymarket_url, token_id, pick_outcome_label, outcome, backed_price, stake_usd, return_usd, unit_score, top_grade, holder_count, backed_side_share, sharp_positioned_usd, clv_status, clv_pct, release_at, kickoff, game_started and game_ended, with the disclaimer once and the same scheduled_picks, proof_pending_picks, locked_picks and more_picks_until. Send pick_id to read one pick of any day, with no date needed; with pick_id the view defaults to full, the whole record of that pick (its thesis, and its holders, sports context, lead backer and entry_authorization when recorded), carried once in picks[0] beside state, pick_date and pick_count. view=full without pick_id returns every pick in full and can pass 200,000 characters on a Max slate. A pick_id that is not an entitled published pick (of the date sent, when one is sent) returns not_found with param pick_id; a proof-pending one returns read_model_warming.
|
|
39
39
|
|
|
40
40
|
For automated entry, read the pick with pick_id and require a present, matching, unexpired entry_authorization. A pick released without one never gains one later; skip it rather than wait. Honor its returned max_entry_price and expires_at, quote a current executable book for the actual stake and retain any stricter local limits. Fees are separate; authorization guarantees neither liquidity nor execution.
|
|
41
41
|
|
package/package.json
CHANGED