madeonsol_kol_pairs
Discover KOL pairs that frequently co-trade the same tokens within a selected time window. Analyze shared token activity to reveal trading affinities.
Instructions
KOL affinity matrix — discover which KOLs frequently co-trade the same tokens within a time window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Time period: 7d or 30d | 7d |
| min_shared | No | Minimum number of shared tokens to qualify as a pair | |
| limit | No | Number of KOL pairs to return |
Implementation Reference
- src/index.ts:194-196 (handler)The handler function for madeonsol_kol_pairs tool. It calls the external API endpoint /api/x402/kol/pairs with period, min_shared, and limit parameters, returning the result as text content.
async ({ period, min_shared, limit }) => ({ content: [{ type: "text" as const, text: await query("/api/x402/kol/pairs", { period, min_shared, limit }) }], }) - src/index.ts:188-193 (schema)Input schema for madeonsol_kol_pairs: period (7d/30d, default 7d), min_shared (1-20, default 3), limit (1-50, default 20). All validated via Zod.
{ period: z.enum(["7d", "30d"]).default("7d").describe("Time period: 7d or 30d"), min_shared: z.number().min(1).max(20).default(3).describe("Minimum number of shared tokens to qualify as a pair"), limit: z.number().min(1).max(50).default(20).describe("Number of KOL pairs to return"), }, readOnlyAnnotations, - src/index.ts:185-197 (registration)Tool registration via server.tool('madeonsol_kol_pairs', ...) inside the registerTools function. Also listed in the server card (line 1031).
server.tool( "madeonsol_kol_pairs", "KOL affinity matrix — discover which KOLs frequently co-trade the same tokens within a time window.", { period: z.enum(["7d", "30d"]).default("7d").describe("Time period: 7d or 30d"), min_shared: z.number().min(1).max(20).default(3).describe("Minimum number of shared tokens to qualify as a pair"), limit: z.number().min(1).max(50).default(20).describe("Number of KOL pairs to return"), }, readOnlyAnnotations, async ({ period, min_shared, limit }) => ({ content: [{ type: "text" as const, text: await query("/api/x402/kol/pairs", { period, min_shared, limit }) }], }) );