Skip to main content
Glama

keydata.shop: Polymarket and exchange order flow

Exchange OHLC bars

exchange_bars
Read-onlyIdempotent

OHLC bars of one exchange instrument: mid open/high/low/close, time-weighted spread (bps), trade OHLC, base and quote volume, taker-buy share of the quote volume, trades and messages. Times are UTC; the default window is the last day. Coinbase has spot only.

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": {
      "coin": "<coin>"
    },
    "name": "exchange_bars"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
coinYes
startNo
exchangeNobinance
intervalNo1m
instrument_classNoperp

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/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 bar is lower. The description still adds genuinely useful context: UTC timestamps and the last-day default window (which governs what start/end produce), and the 'Coinbase has spot only' constraint that will silently invalidate the default instrument_class=perp for that exchange. It does not mention pagination or limits on the number of bars returned.

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 compact block, front-loaded with the resource and the returned fields, with the two operational caveats trailing. The field enumeration is dense but each item is informative; nothing is padding, though the run-on listing borders on a data dictionary.

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?

The description spends most of its length enumerating return fields that the output schema already documents, while leaving the start/end parameter format unexplained — the one thing an agent cannot infer from a 0%-coverage schema. The Coinbase/spot constraint and UTC default are valuable, but the coverage is uneven given six parameters.

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% across six parameters, so the description must carry the load. It clarifies the time window semantics (UTC, default last day) and effectively warns that instrument_class must be spot for Coinbase, but it says nothing about the expected format of the start/end strings, the meaning of interval values, or how coin/instrument map onto a specific trading pair.

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 concrete resource and scope: OHLC bars for a single exchange instrument, plus the exact fields returned (mid OHLC, spread in bps, trade OHLC, volumes, taker-buy share). It is clear what the tool does, but it never contrasts itself with siblings like compare_venues or run_sql, so differentiation is left to the name alone.

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?

Gives operational framing ('Times are UTC', default window is the last day, Coinbase is spot only) which implies when this tool is appropriate, but there is no explicit when-to-use versus an alternative, no prerequisite guidance, and no exclusion beyond the Coinbase caveat.

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.