Skip to main content
Glama

Foresea Forecasting

foresea_preview_order

Read-onlyIdempotent

Validate, normalize, and simulate guardrail checks for a real Kalshi or Polymarket order without submitting it to the exchange.

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": {
      "platform": "<platform>",
      "action": "<action>",
      "outcome": "<outcome>",
      "price": "<price>",
      "quantity": "<quantity>"
    },
    "name": "foresea_preview_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
slugNo
priceYes
actionYes
tickerNo
outcomeYes
platformYes
quantityYes
token_idNo
post_onlyNo
order_typeNolimit
time_in_forceNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds real value by clarifying this is a validation/normalization/guardrail simulation that never reaches the exchange. It does not disclose what the guardrail failures look like (errors vs. results), platform-specific validation rules, or any rate limits.

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?

A single well-formed sentence with the action verbs front-loaded and the crucial non-submission constraint at the end. No filler, though the leading indentation/line wrapping is slightly sloppy.

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?

For an 11-parameter, two-platform trading tool, this is thin: the output schema covers return values and annotations cover safety, but the description gives no help on required identifier combinations per platform or the meaning of the six optional parameters. An agent can read what the tool does but not how to populate it correctly.

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?

Eleven parameters at 0% schema description coverage, yet the description clarifies none of them. It never explains that platform selects Kalshi vs Polymarket, that slug/ticker/token_id are alternative market identifiers, what values order_type or action accept, or how post_only and time_in_force affect the simulated result — the "Kalshi or Polymarket" mention is the only indirect mapping.

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?

Uses concrete verbs ("validate, normalize, and simulate guardrail checks") on a specific resource (a Kalshi or Polymarket order) and distinguishes itself functionally by stating it happens "without submitting it to the exchange" — which separates it from a place-order sibling. It stops short of naming the alternative, so an agent must infer that the submit path is foresea_place_order.

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?

The phrase "without submitting it to the exchange" implicitly tells the agent to use this as a dry run before a real order, but there is no explicit "use this when / use place_order instead" routing, no statement of prerequisites, and no guidance on whether a preview is required before placing.

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.