Skip to main content
Glama

Foresea Forecasting

foresea_analyze_market

Read-onlyIdempotent

Call this when the user mentions a specific prediction market by URL, slug, or ticker — or asks whether a particular market is over/underpriced. Good triggers: "Is this Polymarket fair?", "What's the edge on kalshi:XXXXX?", "Should I buy/sell this market?", user pastes a Polymarket or Kalshi URL. Fetches the live price, gathers evidence, forecasts, computes model-vs-market edge, and returns a recommendation. Use foresea_forecast instead when there is no specific live market — just a general probability question. Example: platform="polymarket", slug="fed-rate-cut-march-2026" → {model_probability, market_probability, edge, stance, recommendation, thesis}.

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": "foresea_analyze_market"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNo
skillsNo
tickerNo
variantNovariant0_neutral_baseline
platformNo
questionNo
market_idNo
tool_loopNo
builtin_skillsNo
evidence_top_kNo
max_tool_stepsNo
ground_in_recordNo
market_probabilityNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is covered. The description usefully discloses the multi-stage pipeline (price fetch, evidence gathering, forecast, edge computation), but says nothing about cost, latency, or what evidence_top_k / max_tool_steps / tool_loop actually change about the run, which matters for an open-world tool that fans out to external sources.

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?

Front-loaded with the trigger condition, then the action pipeline, then the alternative, then an example — a sensible order with no filler sentences. It is slightly dense and list-like, but each clause carries decision-relevant information.

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

Completeness2/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 values need not be spelled out (the inline result sketch is a bonus). However, for a 13-parameter tool with zero schema descriptions, the definition leaves the agent without guidance on identifier selection and the tuning flags, which is the main thing that could cause a mis-invocation.

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

Parameters2/5

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

Schema description coverage is 0% across 13 parameters, and the description only illustrates two of them (platform and slug) in a single example. It never explains how to choose between slug, ticker, market_id, and question, nor what variant, evidence_top_k, max_tool_steps, ground_in_record, tool_loop, or builtin_skills do, so the agent must guess at the majority of the surface.

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 uses a concrete verb chain — fetch live price, gather evidence, forecast, compute model-vs-market edge, return a recommendation — on a clearly bounded resource (a specific prediction market identified by URL, slug, or ticker). It explicitly distinguishes itself from the sibling foresea_forecast by the presence of a live market.

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?

It gives explicit positive triggers (user pastes a Polymarket/Kalshi URL, asks 'Is this Polymarket fair?', 'What's the edge on kalshi:XXXXX?') and an explicit exclusion: use foresea_forecast when there is no specific live market. The example invocation removes most remaining ambiguity about when this tool applies.

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.