Skip to main content
Glama

TradingCalc MCP: Options, Forex, Risk Stats, Prediction Markets, On-Chain & Crypto Futures

Window Fair Value

workflow.run_window_fair_value
Read-only

Theoretical fair value for a time-windowed crypto up/down contract (the shape ADI Predictstreet and Kalshi-style daily crypto markets use: pays out based on whether the settlement price finishes at/above or below a reference price pinned at window open, by a fixed close time): a cash-or-nothing digital option, priced with the standard N(d2) formula. Use this when there's no live market price to read (e.g. a venue's contract has real terms but zero trading volume) instead of a live-market odds tool. Volatility is a required manual input; there is no live implied-vol market on these contracts to pull it from. Use when user asks "what should this up/down contract be worth?" or "what's the fair probability BTC finishes above $X in N minutes?". Returns: d1, d2, probAbovePct, probBelowPct, fairPriceAboveCents, fairPriceBelowCents (cents convention, directly comparable to how these venues quote a contract).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currentPriceYesCurrent spot price of the coin, in USD.
volatilityPctYesAnnualized volatility, in percentage points (e.g. 50 for 50%). Required; no live source for this on these contracts.
minutesToCloseYesMinutes remaining until the window closes/settles.
referencePriceYesThe reference/pinned price the contract resolves against (the window's open price, or a stated strike).
riskFreeRatePctNoRisk-free rate in percentage points. Default 0: negligible for these short windows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / riskFreeRatePct / description
      Previous value: -"Risk-free rate in percentage points. Default 0 — negligible for these short windows."New value: +"Risk-free rate in percentage points. Default 0: negligible for these short windows."
    • changedInput schema / properties / volatilityPct / description
      Previous value: -"Annualized volatility, in percentage points (e.g. 50 for 50%). Required — no live source for this on these contracts."New value: +"Annualized volatility, in percentage points (e.g. 50 for 50%). Required; no live source for this on these contracts."
  2. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/openWorldHint/destructiveHint, so the safety profile is covered. The description adds meaningful behavioral context beyond that: volatility is a required manual input because there is no live implied-vol market to pull it from, and the payout is settled at a fixed close time. It does not discuss rate limits or failure modes, but for a pure calculation tool this is solid.

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-loads purpose before the model/target-market detail, and every paragraph segment earns its place (instrument definition, routing, input requirement, return fields). It is dense and somewhat long, but not padded or repetitive.

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?

There is no output schema, and the description compensates by enumerating the return fields (d1, d2, probAbovePct, probBelowPct, fairPriceAboveCents, fairPriceBelowCents) and the cents convention that makes them comparable to venue quotes. Combined with full schema coverage and annotations, nothing needed to call the tool correctly is missing.

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 coverage is 100%, so the schema already documents all five parameters. The description reinforces why volatilityPct is mandatory and confirms the cents convention, but adds little syntax or format detail beyond the schema, so the baseline 3 applies.

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 — theoretical fair value for a time-windowed crypto up/down contract — and pins down the exact instrument family (ADI Predictstreet / Kalshi-style daily crypto markets) and pricing model (cash-or-nothing digital, N(d2)). It explicitly distinguishes itself from the live-market odds sibling, so an agent can route to it without opening the schema.

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?

Gives an explicit when-to-use condition ('no live market price to read, e.g. zero trading volume') and names the alternative it is preferred over ('instead of a live-market odds tool'). It also supplies example user phrasings, leaving nothing to inference.

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.