Skip to main content
Glama

globalMetricsLatest

Retrieve current global cryptocurrency market metrics including total market cap, 24h volume, and Bitcoin dominance.

Instructions

Returns the latest global cryptocurrency market metrics.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
convertNo
convert_idNo

Implementation Reference

  • Handler for the globalMetricsLatest tool. Accepts optional 'convert' and 'convert_id' params, makes a GET request to CoinMarketCap's /v1/global-metrics/quotes/latest endpoint, and returns the formatted response.
    server.tool("globalMetricsLatest",
      "Returns the latest global cryptocurrency market metrics.",
      {
        convert: z.string().optional(),
        convert_id: z.string().optional()
      },
      async (params) => {
        return handleEndpoint(async () => {
          const data = await makeApiRequest(apiKey, '/v1/global-metrics/quotes/latest', params)
          return formatResponse(data)
        })
      }
    )
  • Input schema defining optional parameters 'convert' (string) and 'convert_id' (string) for the globalMetricsLatest tool.
    {
      convert: z.string().optional(),
      convert_id: z.string().optional()
    },
  • index.js:488-500 (registration)
    Registration of the globalMetricsLatest tool using server.tool() on the McpServer instance. It is registered within a Basic subscription level block.
    server.tool("globalMetricsLatest",
      "Returns the latest global cryptocurrency market metrics.",
      {
        convert: z.string().optional(),
        convert_id: z.string().optional()
      },
      async (params) => {
        return handleEndpoint(async () => {
          const data = await makeApiRequest(apiKey, '/v1/global-metrics/quotes/latest', params)
          return formatResponse(data)
        })
      }
    )
Behavior1/5

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

No annotations exist, so the description bears full responsibility. It only states the tool returns metrics, with no mention of rate limits, data scope, or whether parameters affect behavior. This is insufficient for an unannotated tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, but it is under-specified for a tool with two parameters and no annotations. Conciseness that omits critical information is a weakness.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness1/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema or annotations, the description must provide comprehensive context. It fails to specify what metrics are returned, the meaning of parameters, or any usage scenarios. The tool is inadequate for agent selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The input schema has two parameters (convert, convert_id) with 0% coverage. The description does not explain their purpose or usage, leaving the agent with no guidance on how to fill them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns 'the latest global cryptocurrency market metrics', specifying the action and resource. However, it does not distinguish this tool from siblings like 'cryptoQuotesLatest' or 'fearAndGreedLatest' which also return latest metrics.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus its siblings (e.g., allCryptocurrencyListings, cryptoQuotesLatest). There are no prerequisites or alternative suggestions.

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

Install Server

Other Tools

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