Skip to main content
Glama

getPostmanCollection

Generate a Postman collection to simplify testing and integration with the CoinMarketCap API, enabling access to cryptocurrency market data and blockchain metrics.

Instructions

Returns a Postman collection for the CoinMarketCap API.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": {}, "type": "object" }

Implementation Reference

  • The core handler function for the 'getPostmanCollection' tool. It invokes handleEndpoint which makes an authenticated API request to CoinMarketCap's '/v1/tools/postman' endpoint and formats the response using formatResponse.
    async () => { return handleEndpoint(async () => { const data = await makeApiRequest(apiKey, '/v1/tools/postman') return formatResponse(data) }) }
  • Empty schema object, indicating the tool takes no input parameters.
    {},
  • index.js:576-585 (registration)
    Registers the 'getPostmanCollection' tool with the MCP server, providing name, description, schema, and handler function.
    server.tool("getPostmanCollection", "Returns a Postman collection for the CoinMarketCap API.", {}, async () => { return handleEndpoint(async () => { const data = await makeApiRequest(apiKey, '/v1/tools/postman') 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