Skip to main content
Glama

Foresea Forecasting

foresea_orderbook

Read-onlyIdempotent

Call this to fetch the live bids and asks orderbook depth for a Kalshi market ticker (e.g. 'KXFED-25JUN-H') or Polymarket YES-token ID.

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": {
      "ticker_or_token": "<ticker_or_token>"
    },
    "name": "foresea_orderbook"
  }
}

Input Schema

NameRequiredDescriptionDefault
platformNo
ticker_or_tokenYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / platform
      Added value: +{
      +  "default": "",
      +  "title": "Platform",
      +  "type": "string"
      +}
  2. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds only that the data is "live" depth; it says nothing about snapshot vs streaming, depth limits, or whether levels are aggregated, which are the traits an agent would actually want here.

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?

One front-loaded sentence that names the action, the data returned, and the accepted inputs. Slightly awkward line break and parenthetical examples, but no wasted wording.

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

Completeness3/5

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

An output schema exists, so return shape needn't be explained. Still, for a two-parameter tool the omission of the platform parameter's role and any note on depth granularity leaves a real gap for correct invocation.

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 0%, so the description must compensate: it does clarify ticker_or_token with two concrete identifier formats (e.g. 'KXFED-25JUN-H' and Polymarket YES-token ID), which is real value. However the second parameter, platform, is never mentioned, and it is unclear whether it is required to disambiguate identifier types or can be left at its empty default.

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?

States a specific verb and resource: fetch the live bids/asks orderbook depth, scoped to a Kalshi ticker or Polymarket YES-token ID. That distinguishes it from siblings like foresea_price_history and foresea_recent_trades, though the boundary with foresea_batch_quotes is left implicit.

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

Usage Guidelines3/5

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

"Call this to fetch..." gives an affirmative usage cue but no when-not guidance and no named alternative for related needs (single vs batch quotes, historical depth). The agent must infer selection from sibling names alone.

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.