Skip to main content
Glama

SiteCheck Crypto & Finance

Coinbase Exchange OHLCV candles for one product at 1m, 5m

crypto_coinbase_candles
Read-only

Coinbase Exchange OHLCV candles for one product (e.g. BTC-USD) at 1m, 5m, 15m, 1h, 6h or 1d granularity, plus the current best bid and ask. Latest candles only (Coinbase returns up to 300 per call). Related tools on this server, for a different need: crypto_coinbase_exchange_products when you need Coinbase Exchange trading products with status and minimum; crypto_coinbase_orderbook when you need Coinbase Exchange order book for one product: best bid. Price: $0.002 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "product": "<product>"
    },
    "name": "crypto_coinbase_candles"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many candles, 1 to 100 (default 10)
productYesCoinbase product id, e.g. BTC-USD, ETH-EUR
granularityNoSeconds per candle: 60, 300, 900, 3600, 21600 or 86400 (default 86400)

Output Schema

NameRequiredDescriptionDefault
sourceNo
bestAskNo
bestBidNo
candlesNo
productNo
checkedAtNo
granularitySecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only declare readOnlyHint and openWorldHint, but the description adds the material commercial and operational context an agent needs before calling: $0.002 per successful call, payment via x402 in USDC on Base/Solana and 10 more networks, and failed calls are not charged. It also discloses the provider-side ceiling of 300 candles per call, which the annotations do not cover.

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

Conciseness4/5

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

Front-loaded with the core purpose and granularity before any secondary material, and the pricing sentence earns its length. The sibling blurbs are clipped mid-thought ("order book for one product: best bid."), which reads as truncated boilerplate rather than deliberate wording.

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?

For a 3-param read-only market-data tool with an output schema, the description covers purpose, alternatives, cost, auth method and the provider limit, which is close to everything an agent needs. The one loose end is the unreconciled 300-per-call statement versus the schema's 100-item limit cap.

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

Parameters4/5

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

Schema coverage is 100%, so the schema already documents product, limit and granularity, making 3 the baseline. The description adds value by translating the raw seconds values into human granularity labels (1m/5m/15m/1h/6h/1d) and by naming BTC-USD as a product-id example. However, "Coinbase returns up to 300 per call" conflicts with the schema's limit cap of 1-100 and default of 10, leaving the effective ceiling ambiguous.

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?

States a specific verb and resource: "Coinbase Exchange OHLCV candles for one product (e.g. BTC-USD)", and enumerates the granularity ladder (1m, 5m, 15m, 1h, 6h, 1d) plus the bid/ask side data returned. It also explicitly names the two sibling tools it is not, so an agent can separate it from exchange_products and orderbook without opening any schema.

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

Usage Guidelines5/5

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

Routes the agent explicitly: use crypto_coinbase_exchange_products for product discovery with status/minimum, and crypto_coinbase_orderbook for order book depth. The clause "Latest candles only (Coinbase returns up to 300 per call)" functions as a when-not, warning that this is unsuitable for long historical backfill.

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