Skip to main content
Glama

news_prediction_search_events

Read-onlyIdempotent

[Read] Search prediction events on opensearch.predictionEventSignalIndex (dws_prediction_event_signal_hf alias, hourly UNIQUE part_hour+venue+venue_event_id). query/coin/category optional; coin-only unsupported_filter. status filters event_status; status_tags from status_json_array. sort recently_listed uses create_time (first_seen); volume_delta_today uses total_volume_usd_24h (no volume_delta column). category filter: event_category_primary or lead_market_category_primary; excludes empty event_category_primary. Collapse venue_event_id. with_markets: source_markets_json or predictionMarketIndex. Detail -> get_event_signal (external); orderbook -> get_market_orderbook. Read-only public research data. No account access, no order placement or fund transfers. Not investment advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
coinNoOptional coin ticker; cannot be used alone without query or category (unsupported_filter). With query/category expands text recall only (best_effort).
limitNoPage size; default 20, max 100.
queryNoOptional full-text query; all of query, coin, category are optional.
venueNoOptional venue filter. Allowed: polymarket, predict_fun.
statusNoFilter by ES event_status; default active. Allowed: active, closed, resolved, all. Response status_tags comes from status_json_array.
sort_byNoSort key; default attention. Allowed: attention, volume, liquidity, recently_listed, probability_change, volume_delta_today (maps to total_volume_usd_24h on signal index).
categoryNoOptional primary category enum (crypto_price, sports, elections, …). Matches event_category_primary or lead_market_category_primary.
page_tokenNoBase64URL page token from prior next_page_token; filters must match first page.
with_marketsNoWhen true, attach market summaries from source_markets_json or predictionMarketIndex.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
eventsYes
partialYes
duration_msYes
missing_sourcesNo
next_page_tokenNonullable
coin_filter_modeNo
effective_sort_byNoActual sort applied (equals sort_by unless ES sort fallback).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed41 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • changedInput schema / properties / limit / type
      Previous value: -"integer"New value: +[
      +  "null",
      +  "integer"
      +]
    • changedInput schema / properties / venue / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • addedOutput schema / additionalProperties
      Added value: +false
    • addedOutput schema / properties / events / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / events / items / properties / attention_score / description
      Added value: +"nullable"
    • removedOutput schema / properties / events / items / properties / attention_score / oneOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / events / items / properties / attention_score / type
      Added value: +[
      +  "null",
      +  "number"
      +]
    • addedOutput schema / properties / events / items / properties / category_ai_primary / description
      Added value: +"nullable"
    • removedOutput schema / properties / events / items / properties / category_ai_primary / oneOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / events / items / properties / category_ai_primary / type
      Added value: +[
      +  "null",
      +  "string"
      +]
    • addedOutput schema / properties / events / items / properties / lead_market_id / description
      Added value: +"nullable"
    • removedOutput schema / properties / events / items / properties / lead_market_id / oneOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / events / items / properties / lead_market_id / type
      Added value: +[
      +  "null",
      +  "string"
      +]
    • addedOutput schema / properties / events / items / properties / lead_yes_probability / description
      Added value: +"nullable"
    • removedOutput schema / properties / events / items / properties / lead_yes_probability / oneOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / events / items / properties / lead_yes_probability / type
      Added value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / events / items / properties / market_category_ai_primary / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • addedOutput schema / properties / events / items / properties / markets / items / additionalProperties
      Added value: +false
    • addedOutput schema / properties / events / items / properties / markets / items / properties / liquidity_usd / description
      Added value: +"nullable"
    • removedOutput schema / properties / events / items / properties / markets / items / properties / liquidity_usd / oneOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / events / items / properties / markets / items / properties / liquidity_usd / type
      Added value: +[
      +  "null",
      +  "number"
      +]
    • addedOutput schema / properties / events / items / properties / markets / items / properties / market_category_primary / description
      Added value: +"nullable"
    • removedOutput schema / properties / events / items / properties / markets / items / properties / market_category_primary / oneOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / events / items / properties / markets / items / properties / market_category_primary / type
      Added value: +[
      +  "null",
      +  "string"
      +]
    • addedOutput schema / properties / events / items / properties / markets / items / properties / volume_24h_usd / description
      Added value: +"nullable"
    • removedOutput schema / properties / events / items / properties / markets / items / properties / volume_24h_usd / oneOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / events / items / properties / markets / items / properties / volume_24h_usd / type
      Added value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / events / items / properties / markets / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / events / items / properties / status_tags / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • addedOutput schema / properties / events / items / properties / total_liquidity_usd / description
      Added value: +"nullable"
    • removedOutput schema / properties / events / items / properties / total_liquidity_usd / oneOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / events / items / properties / total_liquidity_usd / type
      Added value: +[
      +  "null",
      +  "number"
      +]
    • addedOutput schema / properties / events / items / properties / total_volume_usd_24h / description
      Added value: +"nullable"
    • removedOutput schema / properties / events / items / properties / total_volume_usd_24h / oneOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / events / items / properties / total_volume_usd_24h / type
      Added value: +[
      +  "null",
      +  "number"
      +]
    • changedOutput schema / properties / events / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • changedOutput schema / properties / missing_sources / type
      Previous value: -"array"New value: +[
      +  "null",
      +  "array"
      +]
    • addedOutput schema / properties / next_page_token / description
      Added value: +"nullable"
    • removedOutput schema / properties / next_page_token / oneOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / next_page_token / type
      Added value: +[
      +  "null",
      +  "string"
      +]
  2. Changed9 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Optional primary category (enum): crypto_event, crypto_price, culture, earnings, elections, finance, geopolitics, macro_economy, mentions, other, politics, sports, tech_ai, weather_climate, world."New value: +"Optional primary category enum (crypto_price, sports, elections, …). Matches event_category_primary or lead_market_category_primary."
    • changedInput schema / properties / coin / description
      Previous value: -"Optional coin ticker (e.g. BTC); normalized. Filters related_coins and symbols only (not coins/tokens); may return zero hits if index lacks those fields. Coin-only with no query/category defaults status=all."New value: +"Optional coin ticker; cannot be used alone without query or category (unsupported_filter). With query/category expands text recall only (best_effort)."
    • changedInput schema / properties / page_token / description
      Previous value: -"Opaque pagination token from next_page_token."New value: +"Base64URL page token from prior next_page_token; filters must match first page."
    • changedInput schema / properties / query / description
      Previous value: -"Optional text query; at least one of query, coin, or category is required."New value: +"Optional full-text query; all of query, coin, category are optional."
    • changedInput schema / properties / sort_by / description
      Previous value: -"Sort key; default recently_listed. Allowed: attention, volume, liquidity, recently_listed, probability_change, volume_delta_today."New value: +"Sort key; default attention. Allowed: attention, volume, liquidity, recently_listed, probability_change, volume_delta_today (maps to total_volume_usd_24h on signal index)."
    • changedInput schema / properties / status / description
      Previous value: -"Filter by event_status; default active when query or category set, all when coin-only. Allowed: active, closed, resolved, all."New value: +"Filter by ES event_status; default active. Allowed: active, closed, resolved, all. Response status_tags comes from status_json_array."
    • changedInput schema / properties / with_markets / description
      Previous value: -"When true, attach market summaries per event."New value: +"When true, attach market summaries from source_markets_json or predictionMarketIndex."
    • addedOutput schema / properties / coin_filter_mode
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / effective_sort_by
      Added value: +{
      +  "description": "Actual sort applied (equals sort_by unless ES sort fallback).",
      +  "type": "string"
      +}
  3. Changed26 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Optional primary category filter (e.g. crypto_price, elections, sports, other)."New value: +"Optional primary category (enum): crypto_event, crypto_price, culture, earnings, elections, finance, geopolitics, macro_economy, mentions, other, politics, sports, tech_ai, weather_climate, world."
    • changedInput schema / properties / coin / description
      Previous value: -"Optional coin ticker (e.g. BTC); uppercased when set."New value: +"Optional coin ticker (e.g. BTC); normalized. Filters related_coins and symbols only (not coins/tokens); may return zero hits if index lacks those fields. Coin-only with no query/category defaults status=all."
    • changedInput schema / properties / sort_by / description
      Previous value: -"Sort key; default attention. Allowed: attention, volume, liquidity, recently_listed, probability_change, volume_delta_today."New value: +"Sort key; default recently_listed. Allowed: attention, volume, liquidity, recently_listed, probability_change, volume_delta_today."
    • changedInput schema / properties / status / description
      Previous value: -"Filter by status_tags; default active. Allowed: active, closed, resolved, all."New value: +"Filter by event_status; default active when query or category set, all when coin-only. Allowed: active, closed, resolved, all."
    • addedOutput schema / properties / events / items / properties / attention_score / oneOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / attention_score / type
      Removed value: -"number"
    • addedOutput schema / properties / events / items / properties / category_ai_primary / oneOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / category_ai_primary / type
      Removed value: -"string"
    • addedOutput schema / properties / events / items / properties / lead_market_id / oneOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / lead_market_id / type
      Removed value: -"string"
    • addedOutput schema / properties / events / items / properties / lead_yes_probability / oneOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / lead_yes_probability / type
      Removed value: -"number"
    • addedOutput schema / properties / events / items / properties / markets / items / properties / liquidity_usd / oneOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / markets / items / properties / liquidity_usd / type
      Removed value: -"number"
    • addedOutput schema / properties / events / items / properties / markets / items / properties / market_category_primary / oneOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / markets / items / properties / market_category_primary / type
      Removed value: -"string"
    • addedOutput schema / properties / events / items / properties / markets / items / properties / volume_24h_usd / oneOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / markets / items / properties / volume_24h_usd / type
      Removed value: -"number"
    • addedOutput schema / properties / events / items / properties / total_liquidity_usd / oneOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / total_liquidity_usd / type
      Removed value: -"number"
    • addedOutput schema / properties / events / items / properties / total_volume_usd_24h / oneOf
      Added value: +[
      +  {
      +    "type": "number"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / events / items / properties / total_volume_usd_24h / type
      Removed value: -"number"
    • changedOutput schema / properties / events / items / required
      Previous value: -[
      -  "event_ref",
      -  "venue",
      -  "venue_event_id",
      -  "venue_event_title",
      -  "category_ai_primary",
      -  "status_tags",
      -  "market_count",
      -  "lead_market_id",
      -  "lead_yes_probability",
      -  "total_volume_usd_24h",
      -  "total_liquidity_usd",
      -  "attention_score"
      -]New value: +[
      +  "event_ref",
      +  "venue",
      +  "venue_event_id",
      +  "venue_event_title",
      +  "status_tags",
      +  "market_count"
      +]
    • addedOutput schema / properties / next_page_token / oneOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / next_page_token / type
      Removed value: -"string"
    • changedOutput schema / required
      Previous value: -[
      -  "partial",
      -  "next_page_token",
      -  "events",
      -  "duration_ms"
      -]New value: +[
      +  "partial",
      +  "events",
      +  "duration_ms"
      +]
  4. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, but the description goes further by explicitly stating 'Read-only public research data. No account access, no order placement or fund transfers.' It also discloses data freshness (hourly UNIQUE part_hour+venue+venue_event_id), collapse on venue_event_id, and the unsupported_filter nuance for coin-only, all of which add behavioral context beyond annotations. No contradictions present.

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 description is dense but well-organized, front-loading the core action and data source, then systematically covering filters, sort behaviors, and special cases. Each clause adds necessary context, though the long single paragraph could be slightly more scannable with bullet points. Still, no sentence is wasted and the structure is logical.

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

Completeness5/5

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

For a tool with 9 optional parameters, no required fields, and an output schema, the description covers every parameter's behavior, edge cases (coin-only unsupported, category empty exclusion), and related tool pointers. It also states account access limitations and non-investment-advice disclaimer, making it complete for an agent to invoke correctly without additional lookups.

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

Parameters5/5

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

Schema coverage is 100%, but the description adds significant semantic value: it clarifies that coin expands text recall only and cannot be used alone, defines allowed venue values (polymarket, predict_fun), explains sort semantics (volume_delta_today has no volume_delta column), and specifies how category matches two fields while excluding empty event_category_primary. These details go well beyond what the schema states.

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?

The description opens with '[Read] Search prediction events on opensearch.predictionEventSignalIndex', clearly specifying the verb, resource, and data source. It distinguishes this tool from sibling news-feed search tools by focusing on prediction events, and it names the sibling endpoints for detail and orderbook ('Detail -> get_event_signal; orderbook -> get_market_orderbook'), making the scope unambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

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

The description provides explicit usage constraints: all query/coin/category are optional, but coin-only is an unsupported_filter. It also explains mapping nuances for sort keys (e.g., recently_listed uses create_time instead of a dedicated column, volume_delta_today maps to total_volume_usd_24h). It offers clear routing alternatives for related needs, giving an agent full context on when to use this tool versus others.

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.