Skip to main content
Glama

Read binary event probabilities

predictions_get_binary
Read-onlyIdempotent

Read yes and no probabilities for a binary prediction market event. A venue with a weight is blended into the probabilities; a venue with an excluded_reason is left out. On upcoming and trading events, stale is true after more than 3 minutes without a venue check or when the stored snapshot was already stale. On those events, no probabilities are sent after more than 30 minutes without a venue check, if no check time is recorded, or if the stored snapshot had no live quotes. A closed event also sends no probabilities if it had no live quotes when it closed. Closed events are stale only when their stored snapshot was already stale; elapsed time never makes them stale. Settled and void events omit stale. Keys with no value are left out. For how the probabilities moved over time use predictions_get_binary_history.

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": {
      "event_id": "<event_id>"
    },
    "name": "predictions_get_binary"
  }
}

Input Schema

NameRequiredDescriptionDefault
atNoUTC time in ISO 8601 (for example `2026-11-18T14:30:00Z`). Read the event as it stood at that time. Leave out for now.
event_idYesEvent id: lowercase letters, digits and hyphens, 3 to 96 characters, as `event_id` in predictions_list_events.

Output Schema

NameRequiredDescriptionDefault
unitNoCombined unit text such as usd_per_barrel.
as_ofNoWhen the venues were last checked.
staleNoSent on upcoming, trading and closed events. On upcoming and trading events, true after more than 3 minutes without a venue check or when the stored snapshot was already stale. On those events, no probabilities are sent after more than 30 minutes without a venue check, if no check time is recorded, or if the stored snapshot had no live quotes. In that case, every `quotes` list is empty and every venue is excluded. The exclusion reason is stale unless the venue already has another reason. A closed event also sends no probabilities if it had no live quotes when it closed. Closed events are stale only when their stored snapshot was already stale; elapsed time never makes them stale. Do not trade on stale events. Absent on settled and void events.
labelsNoSent only when not Yes and No.
quotesYes
resultNoThe venues' results with each market's outcome, on settled and void events as soon as the venues report them.
statusYes
venuesYes
event_idYes
questionYes
topic_idYes
unit_keyNoCanonical lowercase name of the unit, the same on every surface that uses it, for example barrel, troy_ounce, mmbtu or tonne. `unit` keeps the source's wording.
benchmarkNoThe crude oil benchmark: wti, brent, urals or dubai. Sent on crude oil only; a crude oil row without it is crude oil as a whole.
closes_atNo
release_idNoEconomic calendar release this market resolves on, only when Narwhal publishes that release.
resolutionYes
probabilityNo
resolves_atNo
commodity_keyNoStable key for the commodity, the same on spot, futures, predictions and physical prices, for example gold or crude-oil. Use it to join them. Sent only when the market is on a commodity price.
resolves_withNoNarwhal endpoint that publishes the official value; not part of this API.
price_currencyNoCurrency the price is in, when `unit` combines it with the unit, for example USD for usd_per_barrel.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedInput schema / properties / at / description
      Added value: +"UTC time in ISO 8601 (for example `2026-11-18T14:30:00Z`). Read the event as it stood at that time. Leave out for now."
    • addedInput schema / properties / event_id / description
      Added value: +"Event id: lowercase letters, digits and hyphens, 3 to 96 characters, as `event_id` in predictions_list_events."
  2. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only declare it as a safe, idempotent read; the description goes well beyond them, spelling out venue blending vs. exclusion by excluded_reason, the exact staleness thresholds (3 minutes and 30 minutes without a venue check), the no-check-time and no-live-quote cases, and the divergent rule that closed events never go stale from elapsed time alone. It also discloses that settled/void events omit `stale` and that valueless keys are dropped, which is behavior an agent could not infer from the annotations.

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?

Dense but front-loaded: purpose first, then conditional-omission rules, then the sibling pointer. Every sentence concerns real behavior, though the trailing rules about omitted keys and `stale` absence overlap with what an output schema already conveys and could be trimmed or relocated.

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?

With annotations, a full input schema, and an output schema in place, the description supplies exactly the non-obvious piece: when probabilities are withheld and when `stale` is set. An agent has everything needed to decide whether the response is trustworthy before calling.

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

Parameters3/5

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

Schema description coverage is 100%, and the schema already documents `at` (ISO 8601, defaults to now) and `event_id` (pattern, cross-referenced to predictions_list_events). The description adds nothing further about either parameter, so this sits at the baseline where the schema does the work.

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?

States a specific verb and resource: 'Read yes and no probabilities for a binary prediction market event.' The word 'binary' distinguishes it from sibling readers such as predictions_get_scalar and predictions_get_extreme, and the closing sentence names the history variant explicitly.

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 one explicit routing rule: use `predictions_get_binary_history` for how probabilities moved over time. That is a clear alternative with a stated condition, but there is no broader when/when-not guidance (for example, which event types this reader applies to or what to do when the event is settled/void).

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