Skip to main content
Glama

AIKIT by Trading Checkup

Exchange facts with sources

venue_facts
Read-onlyIdempotent

1 credit. Verified facts a trading bot depends on for one exchange/broker: fee tiers, API rate limits and ban rules, error codes and what they mean, symbol rules and testnet/demo settings. Every fact has its value, unit, official source URL, the date it was read and a signed receipt. Use it while writing or fixing bot code that must respect a venue's limits, instead of guessing numbers from memory. If something is not covered, the reply says so and shows how to read it live.

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": {
      "venue": "<venue>"
    },
    "name": "venue_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOptional: maximum number of facts to return (default 60).
topicNoWhich facts to return: fees (maker/taker and tiers), limits (API rate limits, bans, batch sizes), errors (error codes and how to handle them), symbols (tick size, lot step, minimum order), testnet (demo/sandbox endpoints and settings), or all (default).all
venueYesExchange or broker id, lowercase: binance (Binance), bitget (Bitget), bybit (Bybit), coinbase (Coinbase), gate (Gate), ibkr (Interactive Brokers), kraken (Kraken), kucoin (KuCoin), mt5 (MetaTrader 5 (broker patterns)), okx (OKX). Call list_venues (free) to see what each one covers.
marketNoOptional market type: spot, perp (perpetual futures/swaps), stock, fx, or all. If omitted it is guessed from the symbol (for example -SWAP or PF_ means perp).
symbolNoOptional: narrow the answer to one trading pair. Any common format works and is matched across venues, e.g. BTC-USDT, BTCUSDT, BTC/USDT, BTC-USDT-SWAP (OKX perpetual), PF_XBTUSD (Kraken futures). Venue-wide facts such as fees and rate limits are still included.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changed
    • addedInput schema / properties / limit
      Added value: +{
      +  "default": 60,
      +  "description": "Optional: maximum number of facts to return (default 60).",
      +  "maximum": 200,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / market / description
      Added value: +"Optional market type: spot, perp (perpetual futures/swaps), stock, fx, or all. If omitted it is guessed from the symbol (for example -SWAP or PF_ means perp)."
    • addedInput schema / properties / symbol / description
      Added value: +"Optional: narrow the answer to one trading pair. Any common format works and is matched across venues, e.g. BTC-USDT, BTCUSDT, BTC/USDT, BTC-USDT-SWAP (OKX perpetual), PF_XBTUSD (Kraken futures). Venue-wide facts such as fees and rate limits are still included."
    • addedInput schema / properties / topic / default
      Added value: +"all"
    • addedInput schema / properties / topic / description
      Added value: +"Which facts to return: fees (maker/taker and tiers), limits (API rate limits, bans, batch sizes), errors (error codes and how to handle them), symbols (tick size, lot step, minimum order), testnet (demo/sandbox endpoints and settings), or all (default)."
    • changedInput schema / properties / venue / description
      Previous value: -"okx, binance, bybit, kraken, coinbase, bitget, ibkr or mt5"New value: +"Exchange or broker id, lowercase: binance (Binance), bitget (Bitget), bybit (Bybit), coinbase (Coinbase), gate (Gate), ibkr (Interactive Brokers), kraken (Kraken), kucoin (KuCoin), mt5 (MetaTrader 5 (broker patterns)), okx (OKX). Call list_venues (free) to see what each one covers."
    • addedInput schema / properties / venue / enum
      Added value: +[
      +  "binance",
      +  "bitget",
      +  "bybit",
      +  "coinbase",
      +  "gate",
      +  "ibkr",
      +  "kraken",
      +  "kucoin",
      +  "mt5",
      +  "okx"
      +]
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds meaningful behavior beyond them: cost (1 credit), provenance (value, unit, official source URL, read date, signed receipt), and the graceful not-covered response showing how to read live. That is real extra context.

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?

It's dense but front-loaded: cost first, then the fact categories, then the when-to-use, then the fallback. Six clauses in roughly four sentences, each carrying content, though the list of fact categories makes it longer than strictly needed.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With 5 parameters, one required, no output schema and full schema coverage, the description covers cost, provenance, scope interactions and missing-data behavior. It stops short of explaining pagination or credit accounting beyond '1 credit', but nothing critical to calling it is missing.

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

Parameters4/5

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

Schema coverage is 100% and the enum descriptions are already rich, so the baseline is 3. The description adds meaning about how facts are scoped, noting venue-wide facts such as fees and rate limits are still included when a symbol narrows the answer, which clarifies the semantics of the optional symbol parameter beyond the schema.

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 names a specific resource (verified exchange facts) and enumerates exactly what's included: fee tiers, rate limits, ban rules, error codes, symbol rules, testnet settings. An agent can distinguish this from siblings like symbol_spec or prop_rules because the scope is venue-wide operational facts.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear when-to-use: 'while writing or fixing bot code that must respect a venue's limits, instead of guessing numbers from memory', and points to list_venues (via schema) for venue coverage, plus it explains the fallback behavior when something isn't covered. It doesn't explicitly exclude sibling tools like symbol_spec, so a 4 rather than a 5.

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.

Resources