Skip to main content
Glama
LamboPoewert

MadeOnSol — Solana memecoin intelligence

madeonsol_coordination_alerts_update

Update coordination alert rules: adjust parameters like minimum KOLs, time window, score threshold, and toggle active status.

Instructions

Update fields on a coordination alert rule, including is_active toggle.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesRule UUID
nameNo
min_kolsNo
window_minutesNo
min_scoreNo
include_majorsNo
cooldown_minNo
score_jump_breakNo
delivery_modeNo
webhook_urlNo
is_activeNo

Implementation Reference

  • src/index.ts:820-842 (registration)
    Tool registration via server.tool() — binds the tool name 'madeonsol_coordination_alerts_update' to its schema and handler.
    server.tool(
      "madeonsol_coordination_alerts_update",
      "Update fields on a coordination alert rule, including is_active toggle.",
      {
        id: z.string().describe("Rule UUID"),
        name: z.string().nullable().optional(),
        min_kols: z.number().min(2).max(50).optional(),
        window_minutes: z.number().min(1).max(60).optional(),
        min_score: z.number().min(0).max(100).optional(),
        include_majors: z.boolean().optional(),
        cooldown_min: z.number().min(1).optional(),
        score_jump_break: z.number().min(1).max(100).optional(),
        delivery_mode: z.enum(["websocket", "webhook", "both"]).optional(),
        webhook_url: z.string().url().nullable().optional(),
        is_active: z.boolean().optional(),
      },
      { readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: true },
      async ({ id, ...patch }) => {
        const body: Record<string, unknown> = {};
        for (const [k, v] of Object.entries(patch)) if (v !== undefined) body[k] = v;
        return { content: [{ type: "text" as const, text: await restQuery("PATCH", `/kol/coordination/alerts/${encodeURIComponent(id)}`, body) }] };
      }
    );
  • Zod schema defining the input parameters for the update tool: id (Rule UUID, required), and optional fields for name, min_kols, window_minutes, min_score, include_majors, cooldown_min, score_jump_break, delivery_mode, webhook_url, is_active.
    {
      id: z.string().describe("Rule UUID"),
      name: z.string().nullable().optional(),
      min_kols: z.number().min(2).max(50).optional(),
      window_minutes: z.number().min(1).max(60).optional(),
      min_score: z.number().min(0).max(100).optional(),
      include_majors: z.boolean().optional(),
      cooldown_min: z.number().min(1).optional(),
      score_jump_break: z.number().min(1).max(100).optional(),
      delivery_mode: z.enum(["websocket", "webhook", "both"]).optional(),
      webhook_url: z.string().url().nullable().optional(),
      is_active: z.boolean().optional(),
    },
  • Handler function — collects optional fields into a body object, then sends a PATCH request to /api/v1/kol/coordination/alerts/{id} via the restQuery helper.
    async ({ id, ...patch }) => {
      const body: Record<string, unknown> = {};
      for (const [k, v] of Object.entries(patch)) if (v !== undefined) body[k] = v;
      return { content: [{ type: "text" as const, text: await restQuery("PATCH", `/kol/coordination/alerts/${encodeURIComponent(id)}`, body) }] };
    }
  • Helper function restQuery — makes authenticated REST API requests to the MadeOnSol API (under /api/v1/). Used by the update handler to PATCH the coordination alert rule.
    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);
    }
Behavior3/5

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

Annotations already indicate non-readonly and non-destructive behavior. The description adds minimal behavioral insight beyond mentioning the is_active toggle. It does not disclose side effects, required permissions, or constraints like whether updates are atomic or partial.

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

Conciseness3/5

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

The description is a single sentence, making it concise. However, it is too brief to be informative, lacking structure or organization that would help an agent quickly parse key points.

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

Completeness2/5

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

Given the tool's complexity (11 parameters, constraints like min/max, enums) and no output schema, the description is woefully incomplete. It fails to cover parameter semantics, update behavior for partial fields, validation rules, or any return value, making it difficult for an AI agent to use correctly.

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

Parameters2/5

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

Schema description coverage is only 9% (only the 'id' field has a description). The description does not explain the meaning or usage of the 10 other parameters, such as min_kols, window_minutes, or delivery_mode, leaving the AI agent with little guidance on how to use them correctly.

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?

Description clearly states it updates a coordination alert rule and highlights the is_active toggle. However, it does not explicitly differentiate from sibling tools like create or delete, but the verb 'update' and context of siblings imply it modifies existing rules.

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?

Usage context is implied by the action (update) and the sibling set (create, delete, list, get). The description offers no explicit guidance on when to use this tool versus alternatives, such as preferring create for new rules or delete for removal.

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