Skip to main content
Glama

AIKIT by Trading Checkup

Symbol trading rules

symbol_spec
Read-onlyIdempotent

1 credit. Exact trading rules for one symbol on one venue: tick size (price step), lot/size step, minimum order size and minimum order value, contract value, max leverage and base fee, plus the venue's own symbol format and a ready rounding snippet (Python Decimal). Call it before writing order-size or price code so orders are not rejected for wrong precision or size. Sourced and dated.

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>",
      "symbol": "<symbol>"
    },
    "name": "symbol_spec"
  }
}

Input Schema

NameRequiredDescriptionDefault
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: spot, perp (perpetual futures/swaps), stock or fx. Guessed from the symbol if omitted; set it when the same pair trades as both spot and perp.
symbolYesThe 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).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / market / description
      Added value: +"Optional: spot, perp (perpetual futures/swaps), stock or fx. Guessed from the symbol if omitted; set it when the same pair trades as both spot and perp."
    • changedInput schema / properties / symbol / description
      Previous value: -"e.g. BTC-USDT, BTCUSDT, BTC/USDT, XBTUSD, PF_XBTUSD"New value: +"The 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)."
    • addedInput schema / properties / venue / description
      Added 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.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds real value beyond that: a 1-credit cost, the fact that data is sourced and dated, and that the response includes a ready-to-use Python Decimal rounding snippet. It doesn't say what happens for an unknown symbol or uncovered venue.

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 the cost ('1 credit') and then packs the returned fields into one dense sentence before the call-to-action. Almost every clause earns its place, though the field enumeration is long enough that a short list would scan faster.

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 no output schema, the description carries the burden of explaining returns and does so by naming the specific fields and the rounding snippet. For a read-only, three-parameter lookup with full schema coverage, that is close to complete; only failure behavior for unknown symbols or unsupported venue/market combos is unstated.

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% with enums and per-value descriptions for venue and market, so the schema does the heavy lifting. The description only restates the 'one symbol on one venue' scoping that the schema already encodes, adding no format or matching detail beyond it. Baseline 3 is appropriate.

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 ('Exact trading rules for one symbol on one venue') and then enumerates the payload: tick size, lot step, min order size/value, contract value, max leverage, base fee, venue symbol format, rounding snippet. An agent can tell this apart from prop_rules and venue_facts without opening a schema.

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?

Gives an explicit trigger condition: call it before writing order-size or price code so orders aren't rejected for precision or size. That is clear when-to-use guidance. It does not name a sibling as an alternative or state when this tool is unnecessary, so it falls short of 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