Skip to main content
Glama

dexInfo

Access static metadata for decentralised exchanges, including details on IDs and auxiliary data, via the CoinMarketCap MCP server for comprehensive crypto insights.

Instructions

Returns all static metadata for one or more decentralised exchanges.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
auxNo
idNo

Implementation Reference

  • Handler function that executes the dexInfo tool logic: calls handleEndpoint wrapping makeApiRequest to CoinMarketCap's /v4/dex/listings/info endpoint with input params, then formats the response.
    async (params) => { return handleEndpoint(async () => { const data = await makeApiRequest(apiKey, '/v4/dex/listings/info', params) return formatResponse(data) }) }
  • Zod schema defining input parameters for dexInfo: optional id and aux strings.
    { id: z.string().optional(), aux: z.string().optional() },
  • index.js:261-273 (registration)
    Registration of the dexInfo tool with server.tool, providing name, description, input schema, and inline handler function.
    server.tool("dexInfo", "Returns all static metadata for one or more decentralised exchanges.", { id: z.string().optional(), aux: z.string().optional() }, async (params) => { return handleEndpoint(async () => { const data = await makeApiRequest(apiKey, '/v4/dex/listings/info', params) return formatResponse(data) }) } )

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shinzo-labs/coinmarketcap-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server