Skip to main content
Glama

alerts since a cursor

get_alerts
Read-onlyIdempotent

events since a cursor, for alert bots: confluence (several top traders bought the same coin recently), big_trade (one tracked trader bought or sold a large amount) and thesis (a tracked trader posted a thesis). pass the cursor of the previous call as since; without since, the last 15 minutes. thresholds are yours.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
waitNowith since: seconds to hold the call open when nothing is new yet. the answer comes as soon as a trade lands. 0 to 25, default 0
kindsNo
limitNorows to return, default 40. ask for fewer to get a shorter answer
sinceNothe cursor of the previous call (iso time)
compactNotrue for a shorter answer: empty fields and links left out, lists as columns and rows. default false
max_mcap_usdNoignore coins above this market cap
min_trade_usdNobig trade threshold in dollars, default 5000
min_top_tradersNoconfluence threshold, default 3

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / wait
      Added value: +{
      +  "description": "with since: seconds to hold the call open when nothing is new yet. the answer comes as soon as a trade lands. 0 to 25, default 0",
      +  "maximum": 25,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / compact
      Added value: +{
      +  "description": "true for a shorter answer: empty fields and links left out, lists as columns and rows. default false",
      +  "type": "boolean"
      +}
  3. Changed1 schema field changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "description": "rows to return, default 40. ask for fewer to get a shorter answer",
      +  "maximum": 40,
      +  "minimum": 1,
      +  "type": "integer"
      +}
  4. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive semantics, and the description adds the genuinely non-obvious behavior: cursor chaining, a 15-minute default lookback, and long-poll semantics ("the answer comes as soon as a trade lands"). It does not describe rate limits or ordering guarantees, but the incremental value over annotations is real.

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 key constraint (cursor/window) is front-loaded and every clause carries information: event kinds, cursor, default window, threshold ownership. It is a single dense run-on sentence chain in lowercase, which slightly hurts scannability but wastes no words.

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?

With 8 optional parameters and no output schema, the description does the heavy lifting by defining each event kind's payload meaning and noting that `compact` yields a shorter answer. The remaining gap is return shape/ordering, which matters somewhat for a polling tool but is partially mitigated by the kind definitions.

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?

Schema coverage is 88%, so the baseline is 3; the description earns above that by explaining cursor provenance for `since` and framing the threshold parameters as caller-owned ("thresholds are yours"), tying min_trade_usd/min_top_traders to the big_trade and confluence kinds. The wait/long-poll interaction is stated in the schema rather than the description, so it isn't fully duplicated here.

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?

"events since a cursor, for alert bots" names the resource and scope, and enumerates the three event kinds (confluence, big_trade, thesis) with one-line definitions, so an agent knows exactly what comes back. It never names a sibling (e.g., get_theses or get_live_trades) to contrast against, so the differentiation is inferable but not explicit.

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?

"for alert bots" plus "pass the cursor of the previous call as since; without since, the last 15 minutes" gives a clear polling pattern and a defined default window, which is strong usage context. It stops short of exclusions or naming an alternative for one-off browsing of theses/trades.

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.