Skip to main content
Glama
LamboPoewert

MadeOnSol — Solana memecoin intelligence

madeonsol_stream_token

Generate a WebSocket token to stream KOL, deployer, and all-DEX trade data on Solana.

Instructions

Generate a 24h WebSocket streaming token. Includes ws_url for KOL/deployer streaming (Pro/Ultra) and dex_ws_url for all-DEX trade streaming (Ultra only).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • src/index.ts:524-532 (registration)
    Registration of the 'madeonsol_stream_token' tool using server.tool() — it's defined inside the Webhook & Streaming tools block, only active when hasRestAuth (authMode === 'madeonsol').
    server.tool(
      "madeonsol_stream_token",
      "Generate a 24h WebSocket streaming token. Includes ws_url for KOL/deployer streaming (Pro/Ultra) and dex_ws_url for all-DEX trade streaming (Ultra only).",
      {},
      { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
      async () => ({
        content: [{ type: "text" as const, text: await restQuery("POST", "/stream/token") }],
      })
    );
  • Handler function for madeonsol_stream_token — calls restQuery('POST', '/stream/token') to generate a 24h WebSocket streaming token.
      async () => ({
        content: [{ type: "text" as const, text: await restQuery("POST", "/stream/token") }],
      })
    );
  • Schema (input) — empty object '{}' meaning no parameters required for this tool.
    {},
  • The restQuery helper function used by the handler — sends HTTP requests to the MadeOnSol API v1 with Bearer auth. Defined inside the same conditional block.
    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);
    }
  • src/index.ts:1045-1045 (registration)
    Also listed in the Smithery server card / tool manifest array under tools[] for discovery.
    { name: "madeonsol_stream_token", description: "Get a 24h WebSocket streaming token. Pro/Ultra." },
Behavior4/5

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

Annotations provide minimal behavioral info (openWorldHint=true). The description adds context about the 24h token expiry and the purpose of each URL, which goes beyond annotations. It does not contradict annotations.

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-loaded with the action verb 'Generate', and no extraneous words. Highly efficient.

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 zero parameters and no output schema, the description adequately covers what the tool does and what it returns. It could mention that the token is used for subsequent WebSocket connections, but the current description is sufficient.

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?

Input schema has zero parameters, so per instructions baseline is 4. No parameter explanations needed.

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?

Clearly states it generates a 24h WebSocket streaming token and specifies the included URLs and their purposes (ws_url for KOL/deployer streaming, dex_ws_url for all-DEX trade streaming). This differentiates it from all sibling tools, none of which are streaming token generators.

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 setting up WebSocket streams, and the description mentions tier restrictions (Pro/Ultra vs Ultra only). However, it does not explicitly state when to use this tool versus alternatives or provide exclusions.

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