Skip to main content
Glama
coinpaprika

DexPaprika (CoinPaprika)

Official

getTokenPools

Read-onlyIdempotent

Find liquidity pools holding a specific token on a blockchain network. Sort and paginate results by volume or liquidity to identify active DEX venues.

Instructions

Get the liquidity pools that contain a specific token on one network, returned under 'results' with has_next_page and next_cursor. Read-only and keyless. Use for 'which pools hold WETH on ethereum?' or 'liquidity venues for 0x...'. Network-scoped, so run search first if unsure of the network; unknown addresses return empty results, not an error. For the token's own price use getTokenDetails. Params: network (required); token_address (required); limit (default 10, max 100); cursor to page; sort_by (default 'volume_usd_24h', alias order_by); sort_dir asc/desc (default 'desc', alias sort). Extra params such as inversed or paired_token_address are unsupported and error.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoOPTIONAL: alias of sort_dir; both are accepted. Not deprecated at the REST layer: api.dexpaprika.com itself takes sort, so use this name when calling the REST API directly.
limitNoOPTIONAL: Number of items per page (default: 10, max: 100)
cursorNoOPTIONAL: Pagination cursor. Pass `next_cursor` from a previous response to fetch the next page. Replaces the old page number.
addressNoUNSUPPORTED (deprecated alias of paired_token_address): passing it returns a structured error.
networkYesREQUIRED: Network ID from getNetworks (e.g., 'ethereum', 'solana')
reorderNoUNSUPPORTED (deprecated alias of inversed): passing true returns a structured error.
sort_byNoOPTIONAL (preferred): Field to sort by (default: 'volume_usd_24h'). Prefer the canonical *_24h names; short legacy names are still accepted. The REST API calls this parameter order_by.
inversedNoUNSUPPORTED: the replacement endpoint has no pair-perspective flip. Passing true returns a structured error; invert prices client-side (1/price) instead.
order_byNoOPTIONAL: alias of sort_by; both are accepted. Not deprecated at the REST layer: api.dexpaprika.com itself takes order_by, so use this name when calling the REST API directly.
sort_dirNoOPTIONAL (preferred): Sort direction (default: 'desc'). The REST API calls this parameter sort.
rationaleYesREQUIRED. 1-2 sentence rationale for this call (e.g. "User asked for X; calling Y to fetch Z"). Logged for MCP improvement, never shown to end users. No PII or secrets. See the server `instructions` field for the full convention and worked examples.
token_addressYesREQUIRED: Token contract address. Results are restricted to pools on the given network containing this token. Unknown addresses return empty results, not an error.
paired_token_addressNoUNSUPPORTED: the replacement endpoint cannot filter by a second token. Passing it returns a structured error; filter results[].tokens client-side for pair queries.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNo
resultsNo
next_cursorNo
has_next_pageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.5.0
    • changedInput schema / properties / order_by / enum
      Previous value: -[
      -  "volume_usd_24h",
      -  "volume_usd_7d",
      -  "volume_usd_30d",
      -  "liquidity_usd",
      -  "txns_24h",
      -  "created_at",
      -  "price_usd",
      -  "price_change_percentage_24h",
      -  "volume_usd",
      -  "transactions",
      -  "last_price_change_usd_24h",
      -  "volume_24h",
      -  "volume_7d",
      -  "volume_30d",
      -  "liquidity"
      -]New value: +[
      +  "volume_usd_24h",
      +  "volume_usd_7d",
      +  "volume_usd_30d",
      +  "liquidity_usd",
      +  "txns_24h",
      +  "created_at",
      +  "price_usd",
      +  "price_change_percentage_24h",
      +  "price_change_percentage_6h",
      +  "price_change_percentage_1h",
      +  "price_change_percentage_5m",
      +  "volume_usd",
      +  "transactions",
      +  "last_price_change_usd_24h",
      +  "volume_24h",
      +  "volume_7d",
      +  "volume_30d",
      +  "liquidity"
      +]
    • changedInput schema / properties / sort_by / enum
      Previous value: -[
      -  "volume_usd_24h",
      -  "volume_usd_7d",
      -  "volume_usd_30d",
      -  "liquidity_usd",
      -  "txns_24h",
      -  "created_at",
      -  "price_usd",
      -  "price_change_percentage_24h",
      -  "volume_usd",
      -  "transactions",
      -  "last_price_change_usd_24h",
      -  "volume_24h",
      -  "volume_7d",
      -  "volume_30d",
      -  "liquidity"
      -]New value: +[
      +  "volume_usd_24h",
      +  "volume_usd_7d",
      +  "volume_usd_30d",
      +  "liquidity_usd",
      +  "txns_24h",
      +  "created_at",
      +  "price_usd",
      +  "price_change_percentage_24h",
      +  "price_change_percentage_6h",
      +  "price_change_percentage_1h",
      +  "price_change_percentage_5m",
      +  "volume_usd",
      +  "transactions",
      +  "last_price_change_usd_24h",
      +  "volume_24h",
      +  "volume_7d",
      +  "volume_30d",
      +  "liquidity"
      +]
  2. Changed4 schema fields changedv2.3.2
    • changedInput schema / properties / order_by / description
      Previous value: -"OPTIONAL (deprecated alias of sort_by): Field to sort by"New value: +"OPTIONAL: alias of sort_by; both are accepted. Not deprecated at the REST layer: api.dexpaprika.com itself takes order_by, so use this name when calling the REST API directly."
    • changedInput schema / properties / sort / description
      Previous value: -"OPTIONAL (deprecated alias of sort_dir): Sort direction"New value: +"OPTIONAL: alias of sort_dir; both are accepted. Not deprecated at the REST layer: api.dexpaprika.com itself takes sort, so use this name when calling the REST API directly."
    • changedInput schema / properties / sort_by / description
      Previous value: -"OPTIONAL (preferred): Field to sort by (default: 'volume_usd_24h'). Prefer the canonical *_24h names; short legacy names are still accepted."New value: +"OPTIONAL (preferred): Field to sort by (default: 'volume_usd_24h'). Prefer the canonical *_24h names; short legacy names are still accepted. The REST API calls this parameter order_by."
    • changedInput schema / properties / sort_dir / description
      Previous value: -"OPTIONAL (preferred): Sort direction (default: 'desc')"New value: +"OPTIONAL (preferred): Sort direction (default: 'desc'). The REST API calls this parameter sort."
  3. Changed16 schema fields changedv1.0.2
    • changedInput schema / properties / address / description
      Previous value: -"OPTIONAL (deprecated alias of paired_token_address): Additional token address filter"New value: +"UNSUPPORTED (deprecated alias of paired_token_address): passing it returns a structured error."
    • addedInput schema / properties / cursor
      Added value: +{
      +  "description": "OPTIONAL: Pagination cursor. Pass `next_cursor` from a previous response to fetch the next page. Replaces the old page number.",
      +  "type": "string"
      +}
    • changedInput schema / properties / inversed / description
      Previous value: -"OPTIONAL (preferred): Flip the pool's pair perspective so the specified token becomes primary"New value: +"UNSUPPORTED: the replacement endpoint has no pair-perspective flip. Passing true returns a structured error; invert prices client-side (1/price) instead."
    • changedInput schema / properties / order_by / enum
      Previous value: -[
      -  "volume_usd",
      -  "price_usd",
      -  "transactions",
      -  "last_price_change_usd_24h",
      -  "created_at"
      -]New value: +[
      +  "volume_usd_24h",
      +  "volume_usd_7d",
      +  "volume_usd_30d",
      +  "liquidity_usd",
      +  "txns_24h",
      +  "created_at",
      +  "price_usd",
      +  "price_change_percentage_24h",
      +  "volume_usd",
      +  "transactions",
      +  "last_price_change_usd_24h",
      +  "volume_24h",
      +  "volume_7d",
      +  "volume_30d",
      +  "liquidity"
      +]
    • removedInput schema / properties / page
      Removed value: -{
      -  "default": 1,
      -  "description": "OPTIONAL: Page number for pagination (default: 1, 1-indexed)",
      -  "type": "number"
      -}
    • changedInput schema / properties / paired_token_address / description
      Previous value: -"OPTIONAL (preferred): Filter pools that also contain this token address"New value: +"UNSUPPORTED: the replacement endpoint cannot filter by a second token. Passing it returns a structured error; filter results[].tokens client-side for pair queries."
    • changedInput schema / properties / reorder / description
      Previous value: -"OPTIONAL (deprecated alias of inversed): Reorder the pool"New value: +"UNSUPPORTED (deprecated alias of inversed): passing true returns a structured error."
    • changedInput schema / properties / sort_by / description
      Previous value: -"OPTIONAL (preferred): Field to sort by (default: 'volume_usd')"New value: +"OPTIONAL (preferred): Field to sort by (default: 'volume_usd_24h'). Prefer the canonical *_24h names; short legacy names are still accepted."
    • changedInput schema / properties / sort_by / enum
      Previous value: -[
      -  "volume_usd",
      -  "price_usd",
      -  "transactions",
      -  "last_price_change_usd_24h",
      -  "created_at"
      -]New value: +[
      +  "volume_usd_24h",
      +  "volume_usd_7d",
      +  "volume_usd_30d",
      +  "liquidity_usd",
      +  "txns_24h",
      +  "created_at",
      +  "price_usd",
      +  "price_change_percentage_24h",
      +  "volume_usd",
      +  "transactions",
      +  "last_price_change_usd_24h",
      +  "volume_24h",
      +  "volume_7d",
      +  "volume_30d",
      +  "liquidity"
      +]
    • changedInput schema / properties / token_address / description
      Previous value: -"REQUIRED: Token contract address"New value: +"REQUIRED: Token contract address. Results are restricted to pools on the given network containing this token. Unknown addresses return empty results, not an error."
    • addedOutput schema / properties / has_next_page
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / next_cursor
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • removedOutput schema / properties / page_info
      Removed value: -{
      -  "additionalProperties": true,
      -  "properties": {
      -    "limit": {
      -      "description": "Items per page in the request.",
      -      "type": "number"
      -    },
      -    "page": {
      -      "description": "Current page number (1-indexed).",
      -      "type": "number"
      -    },
      -    "total_items": {
      -      "description": "Total number of items across all pages.",
      -      "type": "number"
      -    },
      -    "total_pages": {
      -      "description": "Total number of pages available.",
      -      "type": "number"
      -    }
      -  },
      -  "type": "object"
      -}
    • removedOutput schema / properties / pools
      Removed value: -{
      -  "items": {
      -    "additionalProperties": true,
      -    "properties": {
      -      "chain": {
      -        "description": "Network slug (e.g. 'ethereum'). Note: also exposed as 'network' on some endpoints.",
      -        "type": "string"
      -      },
      -      "created_at": {
      -        "description": "ISO 8601 pool-creation timestamp.",
      -        "type": "string"
      -      },
      -      "created_at_block_number": {
      -        "type": "number"
      -      },
      -      "dex_id": {
      -        "type": "string"
      -      },
      -      "dex_name": {
      -        "type": "string"
      -      },
      -      "fee": {
      -        "description": "Pool fee (units depend on DEX; null for some DEXes).",
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "id": {
      -        "description": "Pool contract address.",
      -        "type": "string"
      -      },
      -      "last_price": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "last_price_usd": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "tokens": {
      -        "items": {
      -          "additionalProperties": true,
      -          "properties": {
      -            "added_at": {
      -              "description": "ISO 8601 timestamp when DexPaprika first indexed this token.",
      -              "type": "string"
      -            },
      -            "chain": {
      -              "type": "string"
      -            },
      -            "decimals": {
      -              "type": "number"
      -            },
      -            "fdv": {
      -              "description": "Fully-diluted valuation in USD.",
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "id": {
      -              "description": "Token contract address (chain-canonical form).",
      -              "type": "string"
      -            },
      -            "name": {
      -              "type": "string"
      -            },
      -            "symbol": {
      -              "type": "string"
      -            }
      -          },
      -          "type": "object"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "type": "object"
      -  },
      -  "type": "array"
      -}
    • addedOutput schema / properties / query
      Added value: +{
      +  "additionalProperties": {},
      +  "type": "object"
      +}
    • addedOutput schema / properties / results
      Added value: +{
      +  "items": {
      +    "additionalProperties": true,
      +    "properties": {
      +      "chain": {
      +        "description": "Network slug (e.g. 'ethereum'). Note: also exposed as 'network' on some endpoints.",
      +        "type": "string"
      +      },
      +      "created_at": {
      +        "description": "ISO 8601 pool-creation timestamp.",
      +        "type": "string"
      +      },
      +      "created_at_block_number": {
      +        "type": "number"
      +      },
      +      "dex_id": {
      +        "type": "string"
      +      },
      +      "dex_name": {
      +        "type": "string"
      +      },
      +      "fee": {
      +        "description": "Pool fee (units depend on DEX; null for some DEXes).",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "description": "Pool contract address.",
      +        "type": "string"
      +      },
      +      "last_price": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "last_price_usd": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "tokens": {
      +        "items": {
      +          "additionalProperties": true,
      +          "properties": {
      +            "added_at": {
      +              "description": "ISO 8601 timestamp when DexPaprika first indexed this token.",
      +              "type": "string"
      +            },
      +            "chain": {
      +              "type": "string"
      +            },
      +            "decimals": {
      +              "type": "number"
      +            },
      +            "fdv": {
      +              "description": "Fully-diluted valuation in USD.",
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "id": {
      +              "description": "Token contract address (chain-canonical form).",
      +              "type": "string"
      +            },
      +            "name": {
      +              "type": "string"
      +            },
      +            "symbol": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "type": "object"
      +  },
      +  "type": "array"
      +}
  4. Changed19 schema fields changedv1.0.1
    • changedInput schema / properties / address / description
      Previous value: -"Filter pools that contain this additional token address"New value: +"OPTIONAL (deprecated alias of paired_token_address): Additional token address filter"
    • addedInput schema / properties / inversed
      Added value: +{
      +  "description": "OPTIONAL (preferred): Flip the pool's pair perspective so the specified token becomes primary",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / limit / description
      Previous value: -"Number of items per page (max 100)"New value: +"OPTIONAL: Number of items per page (default: 10, max: 100)"
    • changedInput schema / properties / network / description
      Previous value: -"Network ID from getNetworks (e.g., \"ethereum\", \"solana\")"New value: +"REQUIRED: Network ID from getNetworks (e.g., 'ethereum', 'solana')"
    • removedInput schema / properties / orderBy
      Removed value: -{
      -  "default": "volume_usd",
      -  "description": "Field to order by",
      -  "enum": [
      -    "volume_usd",
      -    "price_usd",
      -    "transactions",
      -    "last_price_change_usd_24h",
      -    "created_at"
      -  ],
      -  "type": "string"
      -}
    • addedInput schema / properties / order_by
      Added value: +{
      +  "description": "OPTIONAL (deprecated alias of sort_by): Field to sort by",
      +  "enum": [
      +    "volume_usd",
      +    "price_usd",
      +    "transactions",
      +    "last_price_change_usd_24h",
      +    "created_at"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / page / default
      Previous value: -0New value: +1
    • changedInput schema / properties / page / description
      Previous value: -"Page number for pagination"New value: +"OPTIONAL: Page number for pagination (default: 1, 1-indexed)"
    • addedInput schema / properties / paired_token_address
      Added value: +{
      +  "description": "OPTIONAL (preferred): Filter pools that also contain this token address",
      +  "type": "string"
      +}
    • addedInput schema / properties / rationale
      Added value: +{
      +  "description": "REQUIRED. 1-2 sentence rationale for this call (e.g. \"User asked for X; calling Y to fetch Z\"). Logged for MCP improvement, never shown to end users. No PII or secrets. See the server `instructions` field for the full convention and worked examples.",
      +  "maxLength": 500,
      +  "minLength": 20,
      +  "type": "string"
      +}
    • changedInput schema / properties / reorder / description
      Previous value: -"If true, reorders the pool so that the specified token becomes the primary token for all metrics"New value: +"OPTIONAL (deprecated alias of inversed): Reorder the pool"
    • removedInput schema / properties / sort / default
      Removed value: -"desc"
    • changedInput schema / properties / sort / description
      Previous value: -"Sort order"New value: +"OPTIONAL (deprecated alias of sort_dir): Sort direction"
    • addedInput schema / properties / sort_by
      Added value: +{
      +  "description": "OPTIONAL (preferred): Field to sort by (default: 'volume_usd')",
      +  "enum": [
      +    "volume_usd",
      +    "price_usd",
      +    "transactions",
      +    "last_price_change_usd_24h",
      +    "created_at"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sort_dir
      Added value: +{
      +  "description": "OPTIONAL (preferred): Sort direction (default: 'desc')",
      +  "enum": [
      +    "asc",
      +    "desc"
      +  ],
      +  "type": "string"
      +}
    • removedInput schema / properties / tokenAddress
      Removed value: -{
      -  "description": "Token address or identifier",
      -  "type": "string"
      -}
    • addedInput schema / properties / token_address
      Added value: +{
      +  "description": "REQUIRED: Token contract address",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "network",
      -  "tokenAddress"
      -]New value: +[
      +  "network",
      +  "token_address",
      +  "rationale"
      +]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "page_info": {
      +      "additionalProperties": true,
      +      "properties": {
      +        "limit": {
      +          "description": "Items per page in the request.",
      +          "type": "number"
      +        },
      +        "page": {
      +          "description": "Current page number (1-indexed).",
      +          "type": "number"
      +        },
      +        "total_items": {
      +          "description": "Total number of items across all pages.",
      +          "type": "number"
      +        },
      +        "total_pages": {
      +          "description": "Total number of pages available.",
      +          "type": "number"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "pools": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "chain": {
      +            "description": "Network slug (e.g. 'ethereum'). Note: also exposed as 'network' on some endpoints.",
      +            "type": "string"
      +          },
      +          "created_at": {
      +            "description": "ISO 8601 pool-creation timestamp.",
      +            "type": "string"
      +          },
      +          "created_at_block_number": {
      +            "type": "number"
      +          },
      +          "dex_id": {
      +            "type": "string"
      +          },
      +          "dex_name": {
      +            "type": "string"
      +          },
      +          "fee": {
      +            "description": "Pool fee (units depend on DEX; null for some DEXes).",
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "id": {
      +            "description": "Pool contract address.",
      +            "type": "string"
      +          },
      +          "last_price": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "last_price_usd": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "tokens": {
      +            "items": {
      +              "additionalProperties": true,
      +              "properties": {
      +                "added_at": {
      +                  "description": "ISO 8601 timestamp when DexPaprika first indexed this token.",
      +                  "type": "string"
      +                },
      +                "chain": {
      +                  "type": "string"
      +                },
      +                "decimals": {
      +                  "type": "number"
      +                },
      +                "fdv": {
      +                  "description": "Fully-diluted valuation in USD.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "id": {
      +                  "description": "Token contract address (chain-canonical form).",
      +                  "type": "string"
      +                },
      +                "name": {
      +                  "type": "string"
      +                },
      +                "symbol": {
      +                  "type": "string"
      +                }
      +              },
      +              "type": "object"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  5. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=true, destructiveHint=false. The description adds useful context: 'Read-only and keyless', 'unknown addresses return empty results, not an error', and 'Extra params such as inversed or paired_token_address are unsupported and error'. This goes beyond annotations by explaining error behavior and keyless access.

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 description is dense but well-organized: purpose, output structure, usage examples, network-scoping caveat, alternative tool reference, and parameter summary. It's longer than ideal but every sentence adds value. The parameter summary at the end is efficient, though it partially duplicates schema info.

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?

Given the tool's complexity (13 params, 4 enums, aliases, unsupported params), the description covers the essential usage patterns, error cases, and alternatives. The output schema exists, so return values are documented. The description could mention pagination behavior more explicitly, but the cursor parameter and next_cursor reference in the description cover it adequately.

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 100% with detailed descriptions for each parameter. The description adds value by summarizing key parameters (network, token_address, limit, cursor, sort_by, sort_dir) and explicitly flagging unsupported parameters (inversed, paired_token_address) that would error. It also clarifies aliases (sort_by/order_by, sort_dir/sort) which the schema also documents, but the description's summary helps the agent quickly understand the parameter landscape.

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?

The description clearly states the tool's purpose: 'Get the liquidity pools that contain a specific token on one network' with specific output structure ('returned under results with has_next_page and next_cursor'). It distinguishes from siblings by mentioning network-scoping and pointing to getTokenDetails for price queries.

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?

Provides explicit usage guidance: 'Use for which pools hold WETH on ethereum? or liquidity venues for 0x...' and 'For the token's own price use getTokenDetails'. Also gives clear when-not-to-use: 'Network-scoped, so run search first if unsure of the network' and notes unknown addresses return empty results.

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