Skip to main content
Glama

Create Alert

create_alert

Server-side alert on the live stream; fires once, keeps watching after you leave. value: a price (price_above/below), a % within window_minutes (change_pct: +5 rise, -5 fall), USD liquidated within window_minutes (liquidations), USD of one trade (big_trade). notify: 'wait' holds the call until it fires or wait_seconds pass (then list_alerts(alert_id, wait=true)); 'webhook' POSTs signed JSON to an HTTPS URL (secret shown once); 'mcp' only if your client keeps a notification stream. Limit 5/50/500 by plan.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "pair": "<pair>",
      "condition": "<condition>",
      "value": "<value>"
    },
    "name": "create_alert"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNo
pairYesPair, e.g. BTCUSDT.
sideNoliquidations: long|short; big_trade: buy|sell.
valueYes
marketNo'futures' (perpetual, default) or 'spot'.futures
notifyNowait
conditionYes
webhook_urlNo
wait_secondsNo
window_minutesNo1-240, default 60.
expires_in_hoursNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (which only say non-read-only, non-destructive, open-world), the description discloses that the alert is server-side and outlives the session, fires once, holds the call up to wait_seconds, shows the webhook secret only once, and enforces plan-based limits of 5/50/500. That is exactly the operational context an agent needs before creating a persistent resource.

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?

Content is front-loaded with purpose, then value, notify, and limits in a compact telegraphic style with no filler. The dense semicolon/parenthetical syntax ("change_pct: +5 rise, -5 fall") is efficient but slightly harder to parse than plain prose.

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?

For an 11-parameter mutation tool with no output schema and thin schema descriptions, the definition covers the behaviors that matter most: firing semantics, blocking vs webhook vs mcp delivery, secret handling, and quota limits. Minor gaps remain around what identifier is returned and how expiry interacts with the alert lifecycle.

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?

With schema coverage at only 36%, the description carries real weight: it defines what value means for each condition (price thresholds, signed % within window_minutes, liquidation USD, single-trade USD) and explains notify behavior and wait_seconds. It leaves expires_in_hours, side, market and note entirely to the schema, hence a 4 rather than 5.

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?

"Server-side alert on the live stream; fires once, keeps watching after you leave" names a specific verb and resource and distinguishes the semantics from a client-side listener. It does not explicitly contrast with siblings beyond referencing list_alerts for the wait flow, so it stops short of 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 Guidelines4/5

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

It gives clear conditional guidance for the notify modes, e.g. 'mcp' only if your client keeps a notification stream, and points to list_alerts(alert_id, wait=true) as the follow-up when wait_seconds elapses. It stops short of explicit when-not-to-use-create-this-alert guidance versus alternatives like get_stream_status.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources