Skip to main content
Glama

ETF Holders Average Entry Price

get_cost_basis
Read-onlyIdempotent

Get the estimated average entry price per coin of US spot crypto ETF holders for one asset or all 16: coins accumulated through net flows, money invested, average entry, the latest coin price and unrealised P&L. Also how many consecutive days holders have been above or below their entry and since when. The entry is built from daily creations and redemptions valued at the volume-weighted price of each day; coins of converted trusts (GBTC, ETHE) are not included.

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": "get_cost_basis"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetNoOptional asset filter: btc, eth, sol, xrp, hyp, doge, link, avax, hbar, ltc, bnb, dot, sui, near, trx, zec

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the bar is low; the description still adds real value by disclosing the estimation methodology (daily creations/redemptions at volume-weighted price) and a material scope exclusion (converted-trust coins GBTC/ETHE are not counted). It also flags the figure as 'estimated'. It stops short of describing refresh cadence or latency.

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 core purpose is front-loaded in the first clause, and the methodology caveat is kept to a final sentence. The middle run-on listing of return metrics ('coins accumulated through net flows, money invested, average entry, the latest coin price and unrealised P&L') is dense but each element is informative given no output schema exists.

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

Completeness5/5

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

With no output schema, the description carries the burden of explaining returns and does so by enumerating the reported metrics, including the consecutive-days-above/below-entry streak and its start date. Methodology and exclusions are also covered, leaving nothing essential an agent needs before calling.

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?

With a single parameter at 100% schema coverage and an enum, the schema already carries the semantics. The description only adds the implication that omitting the filter yields all 16 assets, which is a marginal gain over the schema's own 'Optional asset filter' wording.

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 — 'estimated average entry price per coin of US spot crypto ETF holders' — and bounds scope to 'one asset or all 16'. That resource is clearly distinct from sibling tools like get_etf_holdings and get_fund_flows, so an agent can pick it without opening the schema.

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?

The phrase 'for one asset or all 16' implies that omitting the filter returns the full set, and the listed outputs hint at what questions the tool answers. However, there is no explicit when-to-use guidance, no named alternative among the many flow/holdings siblings, and no stated exclusions beyond the trust note.

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