Skip to main content
Glama
LamboPoewert

MadeOnSol — Solana memecoin intelligence

madeonsol_token_buyer_quality

Read-onlyIdempotent

Scores a token's first-buyer cohort from 0 to 100. Basic tier provides signal; PRO/ULTRA offers full buyer-quality breakdown.

Instructions

0–100 buyer-quality score for a token's first-buyer cohort. 5-min cached. BASIC: score+signal only. PRO/ULTRA: full breakdown.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mintYesToken mint address (base58)

Implementation Reference

  • src/index.ts:634-642 (registration)
    Registration of the 'madeonsol_token_buyer_quality' tool using server.tool() — the MCP tool registration call.
    server.tool(
      "madeonsol_token_buyer_quality",
      "0–100 buyer-quality score for a token's first-buyer cohort. 5-min cached. BASIC: score+signal only. PRO/ULTRA: full breakdown.",
      { mint: z.string().describe("Token mint address (base58)") },
      { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
      async ({ mint }) => ({
        content: [{ type: "text" as const, text: await restQuery("GET", `/tokens/${encodeURIComponent(mint)}/buyer-quality`) }],
      })
    );
  • Handler function: takes a 'mint' parameter, calls restQuery with GET to /tokens/{mint}/buyer-quality endpoint, returns the result as text content.
      async ({ mint }) => ({
        content: [{ type: "text" as const, text: await restQuery("GET", `/tokens/${encodeURIComponent(mint)}/buyer-quality`) }],
      })
    );
  • Input schema: accepts a single 'mint' parameter (string, base58 Solana token mint address) via Zod validation.
    { mint: z.string().describe("Token mint address (base58)") },
    { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
  • Helper function 'restQuery' used by the handler to make authenticated REST API calls to MadeOnSol's /api/v1/ endpoints. It handles auth headers, JSON serialization, and error formatting.
        server.tool(
          "madeonsol_wallet_tracker_watchlist",
          "List your tracked wallets with labels and remaining watchlist capacity. BASIC=10, PRO=50, ULTRA=100.",
          {},
          { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
          async () => ({
            content: [{ type: "text" as const, text: await walletTrackerRequest("GET", "/wallet-tracker/watchlist") }],
          })
        );
    
        server.tool(
          "madeonsol_wallet_tracker_add",
          "Add a Solana wallet to your watchlist. Returns 409 if already tracked or limit reached.",
          {
            wallet_address: z.string().describe("Solana wallet address (base58) to track"),
            label: z.string().optional().describe("Optional human-readable label for this wallet"),
          },
          { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
          async ({ wallet_address, label }) => {
            const body: Record<string, unknown> = { wallet_address };
            if (label) body.label = label;
            return { content: [{ type: "text" as const, text: await walletTrackerRequest("POST", "/wallet-tracker/watchlist", body) }] };
          }
        );
    
        server.tool(
          "madeonsol_wallet_tracker_remove",
          "Remove a wallet from your watchlist.",
          {
            wallet_address: z.string().describe("Solana wallet address to remove from watchlist"),
          },
          { readOnlyHint: false, destructiveHint: true, idempotentHint: true, openWorldHint: true },
          async ({ wallet_address }) => ({
            content: [{ type: "text" as const, text: await walletTrackerRequest("DELETE", `/wallet-tracker/watchlist/${encodeURIComponent(wallet_address)}`) }],
          })
        );
    
        server.tool(
          "madeonsol_wallet_tracker_trades",
          "Historical swap and transfer events for all your watched wallets. BASIC: truncated wallets, no tx_signature.",
          {
            wallet: z.string().optional().describe("Filter to a specific wallet address"),
            action: z.enum(["buy", "sell", "transfer_in", "transfer_out"]).optional().describe("Filter by action type"),
            event_type: z.enum(["swap", "transfer"]).optional().describe("Filter by event type: swap (token trade) or transfer (SOL moved)"),
            limit: z.number().min(1).max(200).default(50).describe("Max results (1–200)"),
            before: z.number().optional().describe("Pagination cursor: block_time of the last event from previous page"),
          },
          { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
          async ({ wallet, action, event_type, limit, before }) => {
            const params: Record<string, string | number> = { limit };
            if (wallet) params.wallet = wallet;
            if (action) params.action = action;
            if (event_type) params.event_type = event_type;
            if (before !== undefined) params.before = before;
            const url = new URL(`${BASE_URL}/api/v1/wallet-tracker/trades`);
            for (const [k, v] of Object.entries(params)) url.searchParams.set(k, String(v));
            const res = await fetch(url.toString(), { headers: { "Content-Type": "application/json", ...apiKeyHeaders() } });
            const text = res.ok ? JSON.stringify(await res.json(), null, 2) : `Error ${res.status}: ${await res.text().catch(() => "")}`;
            return { content: [{ type: "text" as const, text }] };
          }
        );
    
        server.tool(
          "madeonsol_wallet_tracker_summary",
          "Per-wallet stats: swap counts, SOL bought/sold, and last activity time across your watchlist.",
          {
            period: z.enum(["24h", "7d", "30d"]).default("7d").describe("Time window for stats"),
            wallet: z.string().optional().describe("Filter to a specific wallet address"),
          },
          { readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: true },
          async ({ period, wallet }) => {
            const url = new URL(`${BASE_URL}/api/v1/wallet-tracker/summary`);
            url.searchParams.set("period", period);
            if (wallet) url.searchParams.set("wallet", wallet);
            const res = await fetch(url.toString(), { headers: { "Content-Type": "application/json", ...apiKeyHeaders() } });
            const text = res.ok ? JSON.stringify(await res.json(), null, 2) : `Error ${res.status}: ${await res.text().catch(() => "")}`;
            return { content: [{ type: "text" as const, text }] };
          }
        );
    
        console.error("[madeonsol-mcp] Wallet tracker tools enabled");
      } else {
        console.error("[madeonsol-mcp] Wallet tracker tools disabled (requires MADEONSOL_API_KEY)");
      }
    }
    
    // ── Webhook & Streaming tools (require MadeOnSol API key — Pro/Ultra tier) ──
    
    const hasRestAuth = authMode === "madeonsol";
    if (hasRestAuth) {
      async function restQuery(method: string, path: string, body?: unknown): Promise<string> {
Behavior4/5

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

Annotations already indicate read-only, idempotent, open-world. Description adds valuable behavioral context: 5-minute caching and plan-dependent output detail (BASIC vs PRO/ULTRA). No contradictions.

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 concise sentences: first defines purpose, second adds caching and plan differentiation. No extraneous content; every sentence adds value.

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 low complexity and rich annotations, the description covers core functionality and caching. However, missing output schema means the agent lacks details on return structure (e.g., shape of 'score+signal' or 'full breakdown'), which is a minor gap.

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

Parameters3/5

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

Input schema has 100% coverage for the single parameter (mint). Description does not add extra parameter-level meaning beyond what schema already provides; it focuses on output behavior.

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?

Description clearly states it provides a 0–100 buyer-quality score for a token's first-buyer cohort, with plan-level output differentiation. This is specific and distinguishable from sibling `madeonsol_tokens_batch_buyer_quality` which does batch processing.

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

Usage Guidelines3/5

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

Implies usage for single-token analysis via contrast with batch sibling, and hints at plan-dependent output interpretation, but lacks explicit when-to-use or when-not-to-use guidance or 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