Skip to main content
Glama

Price and funding history

history
Read-onlyIdempotent

History for one coin. series: price (default: near-live hourly or daily bars, oldest first), funding_oi (the intraday open interest and funding path), daily (the recorded daily archive of funding, open interest, price and liquidations for the coin), whale_daily (the recorded daily whale buy and sell flow for the coin). daily (and price at interval 1d) also carries own_history: where the price sits in its own record (the streak, highs and lows with dates, the averages, the month, the swings, days like the last day a day and a week later), labelled context, never a receipt.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "history"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinNoCoin symbol, e.g. BTC. A pair like ETH/USD works too.
daysNoHow many days back to read.
hoursNoHow many hours back to read.
limitNoRows to return (usually up to 720; more is clamped and said).
cursorNoNext page: the cursor from the previous answer.
detailNobrief (default): the answer, key numbers and top rows. full: every row, paged with cursor.
seriesNoWhich lane; see the description.
intervalNoprice only: 1h (default) or 1d.

Output Schema

NameRequiredDescriptionDefault
as_ofNoData time, ISO.
caveatNoA real limit, when non-null.
cursorNoNext page (detail full).
delayedNoSet when not live.
summaryNoThe answer in one sentence.
as_of_msNoData time, Unix ms.
availableNoFalse: no data; note says why.
truncatedNoLists shortened to their top rows; trimmed has shown of all per list and note says it in words.
next_toolsNoFollow-up calls {tool,args,why}.
access_noteNoWhat this connection could not return.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / properties / truncated / description
      Previous value: -"Lists cut to fit; trimmed has kept of total per list and note says it in words."New value: +"Lists shortened to their top rows; trimmed has shown of all per list and note says it in words."
  2. Changed1 schema field changed
    • changedOutput schema / properties / truncated / description
      Previous value: -"Rows held back; see trimmed."New value: +"Lists cut to fit; trimmed has kept of total per list and note says it in words."
  3. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description still adds real context: default series is price and defaults to near-live hourly/daily bars ordered oldest first, rows are clamped beyond ~720 and this is reported, and full detail is cursor-paged. The 'labelled context, never a receipt' note is a useful interpretive warning about own_history, though it is murky.

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

Conciseness3/5

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

Everything is crammed into a single run-on sentence with deeply nested parentheses, and the series enumeration precedes any statement of what the tool returns, so it is not front-loaded. Phrases like 'days like the last day a day and a week later' are near-unparseable and should have been split into discrete sentences or a list.

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

Completeness3/5

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

The output schema means return values need not be explained and all 8 parameters are documented in the schema, so the core is covered. What is missing is how the window parameters (days, hours, limit, cursor) relate to each other, plus a legible explanation of own_history, which reads as an aside rather than usable guidance.

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 baseline is 3, but the description goes beyond it by explaining what each series value actually contains (funding_oi = intraday open interest and funding path; daily = funding, OI, price and liquidations archive; whale_daily = whale buy/sell flow) and that interval 1d on price carries own_history. It still says nothing about how days, hours and limit interact.

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 opens with a specific resource ('History for one coin') and then defines each of the four series lanes, so an agent can see exactly what data it retrieves. It does not differentiate itself from siblings that overlap in subject matter (whale_activity, liquidations, coin_brief), so it stops short of a 5.

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

Usage Guidelines3/5

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

Usage is only implied: the agent must infer that it should pick a series based on what it wants, and that 'daily' is the archival lane versus 'price' near-live. There is no explicit when-to-use, when-not, or routing to sibling tools such as whale_activity or liquidations, even though this tool overlaps with both.

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