Skip to main content
Glama
CCXT MCP Server

CCXT MCP Server

by MyronKoch

exchange_markets

Retrieve all available trading pairs and markets for a specified cryptocurrency exchange, optionally filtering to active markets only.

Instructions

Get all available trading pairs/markets for an 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_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
activeNoFilter for active markets only
exchangeYesExchange ID

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 bears the full burden and does little: 'Get' implies a read, but nothing is said about rate limits, pagination, or return shape. It also says 'all available' markets while the schema defaults active=true, which suggests inactive markets are filtered out by default — a discrepancy an agent should be warned about.

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 front-loaded sentence with no wasted words. Its terseness is the issue rather than padding, which the other dimensions already capture.

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?

For a simple two-parameter read tool with a fully described schema and no output schema, the definition is minimally sufficient. It still omits what the result looks like (list of pair symbols/IDs) and how the default active filter affects results, which would be cheap to add.

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%, so both the exchange ID and the active filter are already documented in the schema. The description's word 'available' loosely gestures at the active filter but adds no syntax, defaults, or behavioral detail beyond the schema, so baseline 3 applies.

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 specific verb and resource: 'Get all available trading pairs/markets for an exchange,' which tells an agent exactly what data comes back. It does not explicitly contrast with siblings like market_ticker or market_ohlcv, so it stops short of full differentiation.

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?

There is no guidance on when to call this versus alternatives, nor prerequisites such as needing a valid exchange ID. Usage is only implied by the phrase 'for an exchange'; an agent must infer that this is the discovery step before per-symbol market calls.

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