Skip to main content
Glama

getExchangeMarkets

Read-onlyIdempotent

List the trading pairs (markets) on one exchange as a list, each with the pair, base and quote coin ids, latest price, 24h volume and category. Use for 'what pairs trade on Binance', 'markets on Kraken', 'BTC pairs on Coinbase'. For exchange-level stats such as trust score use getExchangeByID; find the exchangeId first with getExchanges. Read-only. Params: exchangeId (required) is an exchange id such as 'binance'; quotes (optional, default 'usd') is a comma-separated list of quote currencies for the figures, e.g. 'usd,btc'; limit (optional, default 50, max 250) caps how many markets return. No API key required.

Input Schema

NameRequiredDescriptionDefault
limitNo
quotesNo
rationaleYesREQUIRED. In 1-2 sentences explain WHY you are calling this tool and what you intend to do with the result. Examples: 'User asked for BTC price; calling getTickersById to fetch current USD value.' 'Building a portfolio dashboard; need OHLCV for ETH last 7 days.' This is logged and reviewed to improve the MCP. Do not include user PII or secrets; use generic descriptions.
exchangeIdYes

Output Schema

NameRequiredDescriptionDefault
marketsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / properties / markets / items / additionalProperties
      Removed value: -true
    • addedOutput schema / properties / markets / items / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "adjusted_volume_24h_share": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "base_currency_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "base_currency_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "category": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "fee_type": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "last_updated": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "market_url": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "outlier": {
      +        "type": [
      +          "boolean",
      +          "null"
      +        ]
      +      },
      +      "pair": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "quote_currency_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "quote_currency_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "quotes": {
      +        "anyOf": [
      +          {
      +            "additionalProperties": {
      +              "anyOf": [
      +                {
      +                  "additionalProperties": true,
      +                  "properties": {
      +                    "ath_date": {
      +                      "type": [
      +                        "string",
      +                        "null"
      +                      ]
      +                    },
      +                    "ath_price": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "market_cap": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "market_cap_change_24h": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_change_12h": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_change_15m": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_change_1h": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_change_1y": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_change_24h": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_change_30d": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_change_30m": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_change_6h": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_change_7d": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "percent_from_price_ath": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "price": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "volume_24h": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    },
      +                    "volume_24h_change_24h": {
      +                      "type": [
      +                        "number",
      +                        "null"
      +                      ]
      +                    }
      +                  },
      +                  "type": "object"
      +                },
      +                {
      +                  "type": "null"
      +                }
      +              ]
      +            },
      +            "type": "object"
      +          },
      +          {
      +            "type": "null"
      +          }
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / markets / items / properties
      Removed value: -{
      -  "adjusted_volume_24h_share": {
      -    "type": "number"
      -  },
      -  "base_currency_id": {
      -    "type": "string"
      -  },
      -  "base_currency_name": {
      -    "type": "string"
      -  },
      -  "category": {
      -    "type": "string"
      -  },
      -  "fee_type": {
      -    "type": "string"
      -  },
      -  "last_updated": {
      -    "type": "string"
      -  },
      -  "market_url": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "outlier": {
      -    "type": "boolean"
      -  },
      -  "pair": {
      -    "type": "string"
      -  },
      -  "quote_currency_id": {
      -    "type": "string"
      -  },
      -  "quote_currency_name": {
      -    "type": "string"
      -  },
      -  "quotes": {
      -    "additionalProperties": {
      -      "additionalProperties": true,
      -      "properties": {
      -        "ath_date": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "ath_price": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "market_cap": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "market_cap_change_24h": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_change_12h": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_change_15m": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_change_1h": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_change_1y": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_change_24h": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_change_30d": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_change_30m": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_change_6h": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_change_7d": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "percent_from_price_ath": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "price": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "volume_24h": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "volume_24h_change_24h": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": "object"
      -    },
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / properties / markets / items / type
      Removed value: -"object"
  2. Changed2 schema fields changed
    • changedInput schema / properties / rationale / description
      Previous value: -"REQUIRED. In 1-2 sentences explain WHY you are calling this tool and what you intend to do with the result. Examples: 'User asked for BTC price; calling getTickersById to fetch current USD value.' 'Building a portfolio dashboard; need OHLCV for ETH last 7 days.' This is logged and reviewed to improve the MCP. Do not include user PII or secrets — use generic descriptions."New value: +"REQUIRED. In 1-2 sentences explain WHY you are calling this tool and what you intend to do with the result. Examples: 'User asked for BTC price; calling getTickersById to fetch current USD value.' 'Building a portfolio dashboard; need OHLCV for ETH last 7 days.' This is logged and reviewed to improve the MCP. Do not include user PII or secrets; use generic descriptions."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "markets": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "adjusted_volume_24h_share": {
      +            "type": "number"
      +          },
      +          "base_currency_id": {
      +            "type": "string"
      +          },
      +          "base_currency_name": {
      +            "type": "string"
      +          },
      +          "category": {
      +            "type": "string"
      +          },
      +          "fee_type": {
      +            "type": "string"
      +          },
      +          "last_updated": {
      +            "type": "string"
      +          },
      +          "market_url": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "outlier": {
      +            "type": "boolean"
      +          },
      +          "pair": {
      +            "type": "string"
      +          },
      +          "quote_currency_id": {
      +            "type": "string"
      +          },
      +          "quote_currency_name": {
      +            "type": "string"
      +          },
      +          "quotes": {
      +            "additionalProperties": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "ath_date": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "ath_price": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "market_cap": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "market_cap_change_24h": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_change_12h": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_change_15m": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_change_1h": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_change_1y": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_change_24h": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_change_30d": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_change_30m": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_change_6h": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_change_7d": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "percent_from_price_ath": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "price": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "volume_24h": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "volume_24h_change_24h": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "object"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "required": [
      +    "markets"
      +  ],
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description adds two genuinely new facts — 'No API key required' and the default/max behaviour of quotes and limit — but says nothing about pagination, ordering, or what happens when an exchange has more markets than the limit (truncation vs paging).

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 purpose and outputs before the routing guidance and parameter notes, and each section earns its place. Slightly dense — the param details are packed into one long sentence chain rather than being visually separated.

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

Completeness5/5

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

An output schema exists, so return-shape detail is unnecessary; the description still summarises the returned fields. Combined with defaults, the exchangeId prerequisite chain, and the auth note, an agent has everything needed to call this correctly on the first try.

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 only 25% (only the rationale param is described), so the description must carry the rest — and it does: exchangeId format example ('binance'), quotes as a comma-separated quote-currency list with default 'usd', and limit default 50 / max 250. The rationale param is left to its own rich schema description, which is reasonable.

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?

Opens with a specific verb and resource ('List the trading pairs (markets) on one exchange') and immediately discloses the per-item fields (pair, base/quote ids, price, 24h volume, category). This clearly separates it from getCoinMarkets (per-coin) and getExchangeByID (exchange stats).

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

Usage Guidelines5/5

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

Gives concrete triggering phrasings ('what pairs trade on Binance', 'markets on Kraken') plus explicit routing: use getExchangeByID for trust-score style stats and getExchanges to obtain the exchangeId first. Both the when and the when-not are stated.

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