Skip to main content
Glama

Get crypto bars

get_crypto
Read-onlyIdempotent

Answers 'what did BTC (or ETH, SOL) do?' Give a symbol (pair, e.g. BTC-USD) and optionally interval (1min, 5min, 15min, 30min, 1hour or 1day, default 1day) plus start and end. Returns OHLCV bars clipped to as_of. Covers 512 crypto pairs (BTC-USD since 2013, ETH-USD since 2016, SOL-USD and more). Free keys get daily bars for the last 12 months; intraday bars and full history with a FinzData plan.

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": {
      "symbol": "<symbol>"
    },
    "name": "get_crypto"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
as_ofNoPoint-in-time cutoff (YYYY-MM-DD). Nothing dated after this is returned, preventing look-ahead bias. Defaults to today (UTC).
startNo
symbolYesPair, e.g. BTC-USD.
intervalNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent and non-destructive behavior, so the description isn't obligated to cover safety. It does add genuinely useful context beyond them: historical coverage depth per pair (BTC from 2013, ETH from 2016) and tier-based limits on intraday and full history. It omits result-size caps, pagination and row limits, which would matter for large intraday pulls.

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?

The lead sentence is front-loaded with the user question the tool answers, followed by argument guidance and then coverage/limits — a sensible ordering. The re-listing of the interval enum duplicates the schema and could be trimmed, but the rest is dense with no filler.

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 filter-and-fetch tool with no output schema, the description does the right work: it states the return shape (OHLCV bars), the clipping semantics, and the data-availability constraints. The main gap is that start/end date formats and the behavior on oversized ranges are left to inference.

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?

Schema coverage is only 40%, so the description carries real weight here. It documents `symbol` format (pair, e.g. BTC-USD), enumerates every interval value with a stated default of 1day, and explains that results are clipped to `as_of`. However, `start` and `end` are mentioned with no format, inclusivity, or default behavior, leaving two of five parameters still under-specified.

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 names a concrete verb and resource — returns OHLCV bars for 512 crypto pairs — and frames the question it answers ('what did BTC do?'), so an agent immediately knows the domain. The crypto scope implicitly separates it from get_bars, get_fx and get_futures, but no sibling is named, so the differentiation is inferred rather than stated.

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

Usage Guidelines4/5

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

It gives clear conditions for use: supply a pair symbol, optionally interval/start/end, and expect bars clipped to as_of. It also flags the plan-dependent gating (free keys = daily bars for 12 months only), which tells the agent when a call may return limited data. It stops short of explicit exclusions or naming the tool to use for non-crypto assets.

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