Skip to main content
Glama
LamboPoewert

MadeOnSol — Solana memecoin intelligence

madeonsol_kol_trending_tokens

Read-onlyIdempotent

Identify trending tokens ranked by KOL buy volume to capture capital-flow signals. Filter by time window and minimum KOL buyers.

Instructions

Tokens ranked by KOL buy volume — pure capital-flow signal. Sub-hour periods (5m/15m/30m) require PRO/ULTRA.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNoTime window1h
min_kolsNoMinimum KOL buyers
limitNoNumber of trending tokens to return

Implementation Reference

  • Handler function that executes the tool logic. It defines input schema (period, min_kols, limit), and the async handler calls the query() helper with the API path /api/x402/kol/tokens/trending, passing the parameters to fetch trending tokens ranked by KOL buy volume.
    server.tool(
      "madeonsol_kol_trending_tokens",
      "Tokens ranked by KOL buy volume — pure capital-flow signal. Sub-hour periods (5m/15m/30m) require PRO/ULTRA.",
      {
        period: z.enum(["5m", "15m", "30m", "1h", "2h", "4h", "12h"]).default("1h").describe("Time window"),
        min_kols: z.number().min(1).max(20).default(1).describe("Minimum KOL buyers"),
        limit: z.number().min(1).max(50).default(20).describe("Number of trending tokens to return"),
      },
      readOnlyAnnotations,
      async ({ period, min_kols, limit }) => ({
        content: [{ type: "text" as const, text: await query("/api/x402/kol/tokens/trending", { period, min_kols, limit }) }],
      })
    );
  • Zod schema defining the input parameters for madeonsol_kol_trending_tokens: period (enum: 5m/15m/30m/1h/2h/4h/12h, default 1h), min_kols (1-20, default 1), limit (1-50, default 20).
    {
      period: z.enum(["5m", "15m", "30m", "1h", "2h", "4h", "12h"]).default("1h").describe("Time window"),
      min_kols: z.number().min(1).max(20).default(1).describe("Minimum KOL buyers"),
      limit: z.number().min(1).max(50).default(20).describe("Number of trending tokens to return"),
    },
    readOnlyAnnotations,
  • src/index.ts:317-329 (registration)
    MCP tool registration via server.tool() with the name 'madeonsol_kol_trending_tokens' inside the registerTools function, which is called from main() during server initialization.
    server.tool(
      "madeonsol_kol_trending_tokens",
      "Tokens ranked by KOL buy volume — pure capital-flow signal. Sub-hour periods (5m/15m/30m) require PRO/ULTRA.",
      {
        period: z.enum(["5m", "15m", "30m", "1h", "2h", "4h", "12h"]).default("1h").describe("Time window"),
        min_kols: z.number().min(1).max(20).default(1).describe("Minimum KOL buyers"),
        limit: z.number().min(1).max(50).default(20).describe("Number of trending tokens to return"),
      },
      readOnlyAnnotations,
      async ({ period, min_kols, limit }) => ({
        content: [{ type: "text" as const, text: await query("/api/x402/kol/tokens/trending", { period, min_kols, limit }) }],
      })
    );
  • The query() helper function used by the handler. It builds the API URL, manages auth headers (API key or x402), performs the fetch, and returns formatted JSON or error text.
    async function query(path: string, params?: Record<string, string | number>) {
      // API key uses /api/v1/ endpoints; x402 uses /api/x402/
      const apiPath = authMode === "x402" || authMode === "none"
        ? path
        : path.replace("/api/x402/", "/api/v1/");
      const url = new URL(apiPath, BASE_URL);
      if (params) {
        for (const [k, v] of Object.entries(params)) {
          if (v !== undefined) url.searchParams.set(k, String(v));
        }
      }
      const headers = apiKeyHeaders();
      const res = authMode === "x402"
        ? await paidFetch(url.toString())
        : await fetch(url.toString(), { headers });
      if (!res.ok) {
        const body = await res.text().catch(() => "");
        return `Error ${res.status}: ${body}`;
      }
      return JSON.stringify(await res.json(), null, 2);
    }
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already provide readOnlyHint and idempotentHint. The description adds the 'capital-flow signal' context and subscription restriction, but does not detail return behavior or side effects beyond what annotations cover.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences front-load purpose and usage condition. No extraneous text; every sentence is essential.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given 3 optional params, full schema coverage, and clear annotations, the description adequately covers purpose, constraints, and param insights. Missing output schema but that's not required per guidelines.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema covers all 3 parameters with descriptions. The description adds value by noting the PRO/ULTRA requirement for sub-hour periods, which is not in schema. Baseline 3 plus incremental context yields 4.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool ranks tokens by KOL buy volume, a specific verb-resource pair. It distinguishes from KOL siblings like 'kol_hot_tokens' by emphasizing it's a 'pure capital-flow signal'.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description explicitly notes that sub-hour periods require PRO/ULTRA, guiding when the tool can be used. It implies use for capital-flow ranking but does not explicitly exclude other metrics or name alternatives.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/LamboPoewert/mcp-server-madeonsol'

If you have feedback or need assistance with the MCP directory API, please join our Discord server