Skip to main content
Glama
LamboPoewert

MadeOnSol — Solana memecoin intelligence

madeonsol_first_touch_subscriptions_create

Set up a first-touch webhook subscription for ULTRA plan. Filter by KOL wallet, mint suffix, minimum first buy in SOL, scout tier, and minimum touches. Receive a one-time webhook secret for integration.

Instructions

Create a first-touch webhook subscription. ULTRA only — up to 10 active. Filters: kol (wallet), mint_suffix, min_first_buy_sol, min_scout_tier (S/A/B/C), min_n_touches. Returns webhook_secret ONCE — store it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoOptional label
filtersNo
delivery_modeNoDefault 'webhook'
webhook_urlNoRequired when delivery_mode includes 'webhook'

Implementation Reference

  • src/index.ts:892-913 (registration)
    Registration of the madeonsol_first_touch_subscriptions_create tool via server.tool() with schema (name, filters, delivery_mode, webhook_url) and handler.
    server.tool(
      "madeonsol_first_touch_subscriptions_create",
      "Create a first-touch webhook subscription. ULTRA only — up to 10 active. Filters: kol (wallet), mint_suffix, min_first_buy_sol, min_scout_tier (S/A/B/C), min_n_touches. Returns webhook_secret ONCE — store it.",
      {
        name: z.string().optional().describe("Optional label"),
        filters: z.object({
          kol: z.string().optional(),
          mint_suffix: z.string().optional(),
          min_first_buy_sol: z.number().min(0).optional(),
          min_scout_tier: z.enum(["S", "A", "B", "C"]).optional(),
          min_n_touches: z.number().min(1).optional(),
        }).optional(),
        delivery_mode: z.enum(["websocket", "webhook", "both"]).optional().describe("Default 'webhook'"),
        webhook_url: z.string().url().optional().describe("Required when delivery_mode includes 'webhook'"),
      },
      { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
      async (args) => {
        const body: Record<string, unknown> = {};
        for (const [k, v] of Object.entries(args)) if (v !== undefined) body[k] = v;
        return { content: [{ type: "text" as const, text: await restQuery("POST", "/kol/first-touches/subscriptions", body) }] };
      }
    );
  • Zod schema defining input parameters: name (optional string), filters (optional object with kol, mint_suffix, min_first_buy_sol, min_scout_tier, min_n_touches), delivery_mode (enum websocket/webhook/both), webhook_url (optional URL string).
    {
      name: z.string().optional().describe("Optional label"),
      filters: z.object({
        kol: z.string().optional(),
        mint_suffix: z.string().optional(),
        min_first_buy_sol: z.number().min(0).optional(),
        min_scout_tier: z.enum(["S", "A", "B", "C"]).optional(),
        min_n_touches: z.number().min(1).optional(),
      }).optional(),
      delivery_mode: z.enum(["websocket", "webhook", "both"]).optional().describe("Default 'webhook'"),
      webhook_url: z.string().url().optional().describe("Required when delivery_mode includes 'webhook'"),
    },
  • Handler function: collects all input args into a body object, then calls restQuery('POST', '/kol/first-touches/subscriptions', body). The restQuery helper makes an authenticated POST to the MadeOnSol API v1 endpoint.
      async (args) => {
        const body: Record<string, unknown> = {};
        for (const [k, v] of Object.entries(args)) if (v !== undefined) body[k] = v;
        return { content: [{ type: "text" as const, text: await restQuery("POST", "/kol/first-touches/subscriptions", body) }] };
      }
    );
  • The restQuery helper function used by the handler that performs authenticated HTTP requests to the MadeOnSol API, defaulting to the /api/v1 base path.
    async function restQuery(method: string, path: string, body?: unknown): Promise<string> {
      const headers: Record<string, string> = {
        "Content-Type": "application/json",
        ...apiKeyHeaders(),
      };
      const res = await fetch(`${BASE_URL}/api/v1${path}`, {
        method,
        headers,
        ...(body ? { body: JSON.stringify(body) } : {}),
      });
      if (!res.ok) {
        const text = await res.text().catch(() => "");
        return `Error ${res.status}: ${text}`;
      }
      return JSON.stringify(await res.json(), null, 2);
    }
Behavior4/5

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

Annotations indicate it is a mutation (readOnlyHint=false). The description adds valuable behavioral info: returns webhook_secret only once and must be stored. No contradictions with annotations. Could mention behavior when limit exceeded or validation fails.

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

Conciseness4/5

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

The description is concise, front-loading the action and key constraints. The list of filters is clear but could benefit from bullet points for readability. No superfluous sentences.

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

Completeness3/5

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

Given the tool's complexity (multiple filters, no output schema), the description covers purpose, constraints, and a key behavioral trait. However, it lacks details on response structure (beyond secret) and error handling, leaving gaps for an agent.

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?

Schema coverage is 75% with descriptions for name, delivery_mode, and webhook_url. The description lists filters (kol, mint_suffix, etc.) but does not explain their meanings or usage beyond names, leaving some ambiguity for nested properties.

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

Purpose4/5

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

The description clearly states the tool creates a first-touch webhook subscription and lists key filters. However, it does not explicitly distinguish from sibling tools like 'madeonsol_create_webhook' or other subscription creation tools, which would elevate it to a 5.

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?

The description specifies that it is 'ULTRA only' and has a limit of 10 active subscriptions, giving usage constraints. It does not provide guidance on when to use this over alternatives like coordination or copytrade subscriptions, lacking exclusionary context.

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