Skip to main content
Glama

DEXes on a network

getNetworkDexes
Read-onlyIdempotent

List the DEXes (exchanges) operating on one network, such as Uniswap on ethereum or Raydium on solana, returned under 'dexes' with page_info (page, total_pages). Read-only and keyless. Use for 'which DEXes are on Base?', 'does Solana have Orca?', or to get a dex id to feed into getDexPools. Scope is a single network; call getNetworks first for the slug. Params: network (required slug); limit (default 10, max 100); page (default 1, 1-indexed); sort_by (only 'pool'; legacy alias order_by); sort_dir 'asc' or 'desc' (default 'desc'; legacy alias sort).

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": {
      "network": "<network>",
      "rationale": "<rationale>"
    },
    "name": "getNetworkDexes"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNoOPTIONAL: Page number, 1-indexed. Server accepts page=0 (treated as page=1) for backward compatibility.
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)
networkYesREQUIRED: Network ID from getNetworks (e.g., 'ethereum', 'solana')
sort_byNoOPTIONAL: Sort field. Canonical parameter name; older tools used order_by. The REST API calls this parameter order_by.
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: Sort direction (asc/desc). Canonical parameter name. Defaults to 'desc' if neither sort_dir nor sort is provided. 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.

Output Schema

NameRequiredDescriptionDefault
dexesYes
page_infoYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • removedOutput schema / properties / dexes / items / additionalProperties
      Removed value: -true
    • addedOutput schema / properties / dexes / items / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "chain": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "dex_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "dex_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "display_name": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "network_id": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "pools_count": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "protocol": {
      +        "type": [
      +          "string",
      +          "null"
      +        ]
      +      },
      +      "txns_24h": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "volume_usd_24h": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / dexes / items / properties
      Removed value: -{
      -  "chain": {
      -    "type": "string"
      -  },
      -  "dex_id": {
      -    "type": "string"
      -  },
      -  "dex_name": {
      -    "type": "string"
      -  },
      -  "display_name": {
      -    "type": "string"
      -  },
      -  "id": {
      -    "type": "string"
      -  },
      -  "network_id": {
      -    "type": "string"
      -  },
      -  "pools_count": {
      -    "type": "number"
      -  },
      -  "protocol": {
      -    "type": "string"
      -  },
      -  "txns_24h": {
      -    "type": "number"
      -  },
      -  "volume_usd_24h": {
      -    "type": "number"
      -  }
      -}
    • removedOutput schema / properties / dexes / items / type
      Removed value: -"object"
    • removedOutput schema / properties / page_info / additionalProperties
      Removed value: -true
    • addedOutput schema / properties / page_info / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": true,
      +    "properties": {
      +      "limit": {
      +        "description": "Items per page in the request.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "page": {
      +        "description": "Current page number (1-indexed).",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "total_items": {
      +        "description": "Total number of items across all pages.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "total_pages": {
      +        "description": "Total number of pages available.",
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      }
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / page_info / properties
      Removed value: -{
      -  "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"
      -  }
      -}
    • removedOutput schema / properties / page_info / type
      Removed value: -"object"
  2. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "dexes": {
      +      "items": {
      +        "additionalProperties": true,
      +        "properties": {
      +          "chain": {
      +            "type": "string"
      +          },
      +          "dex_id": {
      +            "type": "string"
      +          },
      +          "dex_name": {
      +            "type": "string"
      +          },
      +          "display_name": {
      +            "type": "string"
      +          },
      +          "id": {
      +            "type": "string"
      +          },
      +          "network_id": {
      +            "type": "string"
      +          },
      +          "pools_count": {
      +            "type": "number"
      +          },
      +          "protocol": {
      +            "type": "string"
      +          },
      +          "txns_24h": {
      +            "type": "number"
      +          },
      +          "volume_usd_24h": {
      +            "type": "number"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    "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"
      +    }
      +  },
      +  "required": [
      +    "dexes",
      +    "page_info"
      +  ],
      +  "type": "object"
      +}
  3. Changed4 schema fields changed
    • changedInput schema / properties / order_by / description
      Previous value: -"DEPRECATED alias for sort_by. Both accepted; prefer sort_by going forward."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: -"DEPRECATED alias for sort_dir. Both accepted; prefer sort_dir going forward."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: Sort field. Canonical parameter name; older tools used order_by."New value: +"OPTIONAL: Sort field. Canonical parameter name; older tools used order_by. The REST API calls this parameter order_by."
    • changedInput schema / properties / sort_dir / description
      Previous value: -"OPTIONAL: Sort direction (asc/desc). Canonical parameter name. Defaults to 'desc' if neither sort_dir nor sort is provided."New value: +"OPTIONAL: Sort direction (asc/desc). Canonical parameter name. Defaults to 'desc' if neither sort_dir nor sort is provided. The REST API calls this parameter sort."
  4. 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 readOnlyHint, idempotentHint, non-destructive and openWorld, so the description's "Read-only and keyless" is mostly confirmation. It does add value beyond the structured fields by disclosing the response envelope ('dexes' key plus page_info with page/total_pages) and the single-network scope limitation.

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-loaded with the purpose, examples, and the getNetworks prerequisite before any parameter detail. The trailing param block is dense but partly redundant given full schema coverage, which is the only reason it falls short of ideal.

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?

For an 8-parameter read tool with a full output schema and rich annotations, the description supplies everything an agent needs: prerequisite call, scope restriction, pagination semantics, and downstream usage. The required 'rationale' parameter is handled by the schema's own verbose description, so its omission here is not a gap.

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% and the description's parameter recap (network required, limit default 10 max 100, page 1-indexed, sort_by only 'pool', sort_dir asc/desc with legacy aliases) largely restates what the schema already documents in more detail. Nothing is added about how sorting by 'pool' affects the result set or how the legacy aliases interact beyond what the schema says.

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?

States a specific verb and resource ("List the DEXes operating on one network") with concrete examples (Uniswap on ethereum, Raydium on solana) and names the scope boundary (single network). It also distinguishes itself from the sibling getDexPools by describing this as the source of the dex id that feeds that tool.

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?

Explicit routing: use for "which DEXes are on Base?" / "does Solana have Orca?", and call getNetworks first to obtain the network slug. It also states the downstream use (get a dex id to feed into getDexPools), so an agent knows both the entry point and the follow-on step.

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