Skip to main content
Glama

Crypto Bot Audit + Market Data (x402 paid)

Coinbase 24h and 30d stats

market_cbex_stats
Read-onlyIdempotent

Open, high, low, last and both the 24h and 30-day traded volume for a Coinbase product — what a session actually cost and moved. Costs $0.001 USDC per call. Byte-identical to GET /market/cbex-stats?product=BTC-USD.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
productYesCoinbase Exchange product id, BASE-QUOTE (BTC-USD, ETH-USD, SOL-USD) [required]

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
tsNo
lowNo
highNo
lastNo
noteNo
openNo
foundNo
staleNo
caveatNo
reasonNo
sourceNo
productNo
volume24hNo
volume30dNo
change24hPctNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "caveat": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "change24hPct": {
      +      "type": "number"
      +    },
      +    "found": {
      +      "type": "boolean"
      +    },
      +    "high": {
      +      "type": "string"
      +    },
      +    "last": {
      +      "type": "string"
      +    },
      +    "low": {
      +      "type": "string"
      +    },
      +    "note": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "open": {
      +      "type": "string"
      +    },
      +    "product": {
      +      "type": "string"
      +    },
      +    "reason": {
      +      "type": [
      +        "string",
      +        "null"
      +      ]
      +    },
      +    "source": {
      +      "type": "string"
      +    },
      +    "stale": {
      +      "type": [
      +        "boolean",
      +        "null"
      +      ]
      +    },
      +    "ts": {
      +      "type": "string"
      +    },
      +    "volume24h": {
      +      "type": "string"
      +    },
      +    "volume30d": {
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  2. Added

TDQS

A3.8/5.0
Behavior4/5

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

While annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, the description adds valuable behavioral context: it explicitly states the cost per call ($0.001 USDC) and confirms byte-identical response to a specific GET endpoint. These are not covered by annotations and help the agent anticipate side effects (billing) and verify output compatibility. No contradiction with annotations.

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

Conciseness5/5

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

Two sentences with zero wasted words. The output contents are front-loaded, then the cost and endpoint follow. Essential information is packed efficiently without redundancy. This is an exemplar of concise, structured documentation.

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

Completeness4/5

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

The tool is simple (one parameter, point-in-time stats) and has an output schema (as indicated by context signals), so the description does not need to explain return structure. It covers the key non-obvious aspects: cost, endpoint mapping, and the data payload. It does not touch on potential errors or product availability, but those are likely covered by schema or are not critical. Overall, it's complete enough for an agent to call correctly.

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?

The schema already provides full documentation for the single 'product' parameter, including a description and required flag (100% coverage). The description adds minimal extra meaning—it does not elaborate on the product format beyond what the schema says, though the endpoint example implicitly reinforces it. Given high schema coverage, the baseline of 3 is appropriate.

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?

The description clearly specifies the resource (Coinbase product stats) and the exact data returned (OHLC, 24h and 30d volume). It distinguishes itself from siblings like market_cbex_ticker or market_cbex_candles by listing its specific fields, and even provides the canonical HTTP endpoint. This leaves no ambiguity about what the tool does.

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?

The description does not provide any guidance on when to use this tool versus the many similar Coinbase market tools (ticker, candles, best_quote). It does not mention alternatives or exclusions. The only context is the cost disclosure, but no explicit usage scenario is given. An agent must infer when this tool is appropriate, which is a gap.

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