Skip to main content
Glama

alert_link

Destructive

Prepare a price, indicator, chart-drawing, news or calendar alert and get a link that sets it in Basis in one click. Use it whenever the person wants to be told when something happens -- a level breaks, RSI crosses 70, price crosses a trend line, a high-impact ETF headline lands, or an event approaches. Pass exactly one of price, conditions, drawingId or eventTrigger. Give the URL as a link and say in one line what it watches. Nothing is armed until they open it and confirm. Market alerts can run in an open tab; background and event alerts require a signed-in Basis account. The link lasts seven days.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoWhat the person sees when it fires. Chosen for you if omitted.
whenNoWith price. Omit to pick the crossing from where price is now.
matchNoHow conditions combine. Default all.
priceNoShorthand for a price-level alert.
marketNo
symbolNoe.g. BTCUSDT. Defaults to the chart you are building.
messageNoOptional note carried into the notification.
exchangeNo
drawingIdNoID returned by drawing_add. Supports horizontalLine, horizontalRay, trendLine, ray and extendedLine.
frequencyNoDefault once: fires, then switches itself off.
timeframeNoBars the alert is checked on. Free presets: 1m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M. Founder-only custom intervals: 1–1440 minutes (17m), 1–168 hours (7h), 1–365 days (2d).
conditionsNoInstead of price. Each {left, operator, right}. An operand is a number, a price field ("close"), an indicator name ("rsi", "ema50"), or {"type":"indicator","studyId":"macd","plotKey":"histogram","params":{}}. rising and falling need no right; changeUpPercent and changeDownPercent take a percent.
eventTriggerNoInstead of market conditions. A news or Basis calendar event filter.
cooldownMinutesNoWith frequency cooldown.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / timeframe / description
      Previous value: -"Bars the alert is checked on, e.g. 15m, 1h, 4h. One of 1m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M."New value: +"Bars the alert is checked on. Free presets: 1m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M. Founder-only custom intervals: 1–1440 minutes (17m), 1–168 hours (7h), 1–365 days (2d)."
  2. Changed2 schema fields changed
    • addedInput schema / properties / drawingId
      Added value: +{
      +  "description": "ID returned by drawing_add. Supports horizontalLine, horizontalRay, trendLine, ray and extendedLine.",
      +  "type": "string"
      +}
    • addedInput schema / properties / eventTrigger
      Added value: +{
      +  "description": "Instead of market conditions. A news or Basis calendar event filter.",
      +  "properties": {
      +    "assets": {
      +      "description": "News asset symbols, e.g. BTC, ETH.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "categories": {
      +      "items": {
      +        "enum": [
      +          "macro",
      +          "network",
      +          "derivatives"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "keywordMode": {
      +      "enum": [
      +        "all",
      +        "any"
      +      ],
      +      "type": "string"
      +    },
      +    "keywords": {
      +      "description": "News: literal phrases in title or summary.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "leadMinutes": {
      +      "description": "Calendar: notify this many minutes before the event.",
      +      "type": "number"
      +    },
      +    "minImpact": {
      +      "description": "News: 0-100 score. Calendar: low, medium or high."
      +    },
      +    "sources": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "titleContains": {
      +      "description": "Calendar: literal title/description phrases.",
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "titleMode": {
      +      "enum": [
      +        "all",
      +        "any"
      +      ],
      +      "type": "string"
      +    },
      +    "topics": {
      +      "items": {
      +        "enum": [
      +          "regulation",
      +          "macro",
      +          "security",
      +          "etf",
      +          "stablecoins",
      +          "exchanges",
      +          "defi",
      +          "institutions",
      +          "mining",
      +          "markets"
      +        ],
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "type": {
      +      "enum": [
      +        "news",
      +        "calendar"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "type"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources