Skip to main content
Glama

getExchangeByID

Read-onlyIdempotent

Get details for a specific exchange: 24h volume, market count, trust score, links and fiat support. Use for 'tell me about Binance', 'Coinbase exchange stats', 'is X a trustworthy exchange'. For the pairs traded there use getExchangeMarkets; find the exchange id first with search or getExchanges. Read-only; exchangeId is an exchange id such as binance. No API key required.

Input Schema

NameRequiredDescriptionDefault
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
idNo
nameNo
fiatsNo
linksNo
activeNo
quotesNo
marketsNo
messageNo
api_statusNo
currenciesNo
descriptionNo
last_updatedNo
adjusted_rankNo
reported_rankNo
website_statusNo
markets_data_fetchedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • changedOutput schema / properties / active / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / api_status / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / currencies / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / id / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / last_updated / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • changedOutput schema / properties / markets / type
      Previous value: -"number"New value: +[
      +  "number",
      +  "null"
      +]
    • changedOutput schema / properties / markets_data_fetched / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
    • changedOutput schema / properties / name / type
      Previous value: -"string"New value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / quotes / additionalProperties
      Removed value: -{
      -  "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"
      -}
    • addedOutput schema / properties / quotes / anyOf
      Added value: +[
      +  {
      +    "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"
      +  }
      +]
    • removedOutput schema / properties / quotes / type
      Removed value: -"object"
    • changedOutput schema / properties / website_status / type
      Previous value: -"boolean"New value: +[
      +  "boolean",
      +  "null"
      +]
  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": {
      +    "active": {
      +      "type": "boolean"
      +    },
      +    "adjusted_rank": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "api_status": {
      +      "type": "boolean"
      +    },
      +    "currencies": {
      +      "type": "number"
      +    },
      +    "description": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "fiats": {
      +      "items": {},
      +      "type": "array"
      +    },
      +    "id": {
      +      "type": "string"
      +    },
      +    "last_updated": {
      +      "type": "string"
      +    },
      +    "links": {},
      +    "markets": {
      +      "type": "number"
      +    },
      +    "markets_data_fetched": {
      +      "type": "boolean"
      +    },
      +    "message": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "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"
      +    },
      +    "reported_rank": {
      +      "type": [
      +        "number",
      +        "null"
      +      ]
      +    },
      +    "website_status": {
      +      "type": "boolean"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description reinforces that plus adds a genuinely non-structured fact: no API key required. It does not cover error behavior (unknown id) or rate limiting, but with annotations plus an output schema the safety profile is well covered.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four dense sentences, each doing distinct work: what it returns, example queries, sibling routing, and preconditions/format. Front-loaded with the payload rather than burying it.

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?

Return values are covered by the output schema, id resolution and auth are handled, so the agent has everything needed to call it correctly. The only real hole is the undocumented 'quotes' filter, which keeps it from a 5.

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 only 33%, so the description has to compensate — it does for exchangeId by giving the format and an example value ('binance'), which prevents agents from passing a name or numeric internal id. However it never mentions the optional 'quotes' parameter, leaving that input ambiguous in both the schema and the description.

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?

Specific verb + resource with the exact payload enumerated (24h volume, market count, trust score, links, fiat support), which makes it immediately distinguishable from getExchanges (listing) and getExchangeMarkets (pairs). An agent can tell what it returns without opening the schema.

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 trigger phrases ('tell me about Binance', 'is X a trustworthy exchange') and explicitly routes the adjacent needs elsewhere: getExchangeMarkets for pairs, search/getExchanges to resolve the id first. When-to-use, when-not-to-use, and the alternative are all 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