Skip to main content
Glama
CCXT MCP Server

CCXT MCP Server

by MyronKoch

exchange_init

Initializes a connection to a specific cryptocurrency exchange, with optional testnet mode, so you can query prices, order books, and account data through a unified interface.

Instructions

Initialize connection to a specific exchange

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": {
      "exchange": "<exchange>"
    },
    "name": "exchange_init"
  }
}

Input Schema

NameRequiredDescriptionDefault
testnetNoUse testnet/sandbox mode if available
exchangeYesExchange ID (e.g., binance, coinbase, kraken)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden but omits key details: whether authentication credentials are required, whether the connection persists, whether calling it repeatedly is safe, and what happens on failure. It only says 'Initialize connection,' leaving the agent to guess at lifecycle and side effects.

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?

The definition is a single, front-loaded sentence with no wasted words. It is appropriately concise, though its brevity contributes to the gaps in usage and behavioral detail rather than being a structural flaw.

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

Completeness2/5

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

For a connection-initialization tool with no annotations and no output schema, the description is too sparse. It should explain prerequisites, authentication requirements, connection reuse, and error behavior so an agent can invoke it correctly in sequence with sibling tools.

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 100%, so both parameters are already documented in the input schema, including the exchange ID example and the testnet/sandbox flag. The description adds no additional meaning or constraints beyond what the schema provides, matching the baseline for full coverage.

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?

The description states a specific verb ('Initialize') and resource ('connection to a specific exchange'), which is clear and distinguishable from siblings like exchange_list or exchange_status. However, it does not explicitly differentiate itself from those siblings or explain how it relates to them.

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

Usage Guidelines2/5

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

The description gives no guidance on when to call this tool, whether it must be called before exchange-specific market or account tools, whether it is required once per session, or what alternatives exist. The usage is only implied by the name 'init'.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.