Skip to main content
Glama

keydata.shop: Polymarket and exchange order flow

Expiry calibration

expiry_calibration
Read-onlyIdempotent

How well the Polymarket price predicts the outcome: the Up token's mid N seconds before each market's end (from the last 10-second bar that had closed by then, so no look-ahead), grouped into probability buckets, against the share of markets that settled Up. Also the Brier score. coin and interval_min narrow the set; default: every market served.

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

Input Schema

NameRequiredDescriptionDefault
endNo
coinNo
startNo
bucketsNo
interval_minNo
seconds_before_endNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, so the description is free to add methodology instead — and it does, notably the no-look-ahead rule of using the last 10-second bar that had closed by the target time. Gaps remain around performance cost, empty-result behavior, and what happens with sparse buckets, but the key correctness caveat is disclosed.

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 core computation, then the filtering note, then the default — a sensible order. Dense but mostly earned; a slight trim of the parenthetical bar-detail into a shorter clause would tighten it further.

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 values needn't be spelled out, and the description usefully describes them anyway. However, for a six-parameter analytical tool with zero schema description coverage, the absence of any note on start/end windowing and bucket-count semantics leaves an agent guessing on three of six inputs.

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 carry all six parameters. It meaningfully explains coin and interval_min as narrowing filters and implicitly defines seconds_before_end via 'mid N seconds before end', but start, end, and buckets receive no explanation beyond the incidental phrase 'grouped into probability buckets', leaving half the surface undocumented.

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 precise computation: the Up token's mid price N seconds before each market's expiry, bucketed by probability, against the share that settled Up, plus a Brier score. This is a specific analysis output and is unmistakably distinct from table-listing or raw-bar tools like list_tables or exchange_bars.

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 description gives default scope ('default: every market served') and says coin and interval_min narrow the set, which implies usage. It does not state when to prefer this tool over run_sql or sample_rows for the same question, nor any when-not conditions such as minimum sample size.

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.