Skip to main content
Glama

cmc100IndexLatest

Retrieve the latest CoinMarketCap 100 Index value, its constituents, and their weights for informed cryptocurrency market analysis and decision-making.

Instructions

Returns the lastest CoinMarketCap 100 Index value, constituents, and constituent weights.

Input Schema

NameRequiredDescriptionDefault

No arguments

Input Schema (JSON Schema)

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

Implementation Reference

  • index.js:520-529 (registration)
    Registration of the 'cmc100IndexLatest' tool using server.tool, including description, empty schema, and inline handler function.
    server.tool("cmc100IndexLatest", "Returns the lastest CoinMarketCap 100 Index value, constituents, and constituent weights.", {}, async () => { return handleEndpoint(async () => { const data = await makeApiRequest(apiKey, '/v3/index/cmc100-latest') return formatResponse(data) }) } )
  • Inline handler function that executes the tool logic by calling handleEndpoint with an inner async function that makes an API request to '/v3/index/cmc100-latest' and formats the response.
    async () => { return handleEndpoint(async () => { const data = await makeApiRequest(apiKey, '/v3/index/cmc100-latest') return formatResponse(data) }) }
  • Empty schema object, indicating the tool takes no input parameters.
    {},

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