Skip to main content
Glama

Tessera Analytics - Hyperliquid Market Intelligence

query_cross_section

Rank the whole market on ONE completed day: pick columns, an order_by field and top_n. Answers 'top markets by funding / open interest / returns on the latest day' and 'what percentile is BTC on open interest'. day defaults to the last complete day; scope defaults to crypto (HIP-3 markets track an underlying that closes, so their flow is not comparable); stat=percentile|zscore ranks within your visible markets; window_days recomputes the trailing-window fields; min_usd_volume_7d_avg keeps dust out of the ranking. Field names come from list_fields — never guess them, they are snake_case compound names; for a cut ('top decile by X') use screen_universe.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dayNoThe day to rank, `YYYY-MM-DD`, or `latest` (the default: the most recent complete day).
statNo`raw` (the default), `percentile`, or `zscore`. Percentile and z-score are ranked **within the markets your plan can see**, so they need a slice of at least four markets.
coinsNoRestrict to these markets. A market outside your plan's coverage is ignored rather than widening the answer.
scopeNo`crypto` (the default), `hip3`, or `all`. Restricted markets track an underlying that closes, so their flow is not comparable on a weekend.
top_nNoHow many markets to return, 1..50. Defaults to 20.
columnsNoFields to return per market, from `list_fields`. `coin` is always included. Defaults to price, traded notional and the day's return.
order_byNoThe field to rank by. Need not appear in `columns`. Defaults to the day's traded notional.
descendingNoRank largest first (the default). Set false for the smallest.
window_daysNoRecompute the trailing-window fields over this many days, 1..365 (default 7). The response always states the window it used.
min_usd_volume_7d_avgNoDrop markets whose average daily traded notional over the window is below this value, so dust cannot top a ranking.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
rowsYes
statYesThe ranking treatment actually applied: `raw`, `percentile` or `zscore`.
as_ofYesThe UTC day the answer describes.
notesYes
scopeYesThe market population the ranking ran over.
sourceYes`tessera_daily` — the answer is from completed days, not the live market.
row_countYesHow many markets are in `rows`.
truncatedYesTrue when `ranked_count` exceeds `row_count`.
coin_countYesThe number of markets in your visible slice on that day — the denominator every statistic and floor below is measured against.
ranked_countYesHow many markets had a value for the ranked field and passed the floor.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses defaults (day, scope, stat, window_days, top_n), the rationale for scope exclusion, that percentile ranks within visible markets, and that window_days recomputes trailing fields with the response stating the window used. It also warns against guessing field names and points to list_fields. It doesn't explicitly label the operation as read-only, but the query semantics make that obvious; no destructive behavior is implied. This is strong transparency, though not exhaustive on potential errors or rate limits.

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 description is moderately long but dense with useful information. It front-loads the core purpose in the first sentence, then systematically covers defaults and special cases. Every sentence adds value, and the pointer to screen_universe is a crisp differentiator. It could arguably be tightened, but for a 10-parameter tool the length is justified.

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?

For a tool of this complexity, the description covers the essential behavioral aspects: what it does, defaults, scope rationale, ranking semantics, window recomputation, volume filtering, and the critical rule about field names. The output schema covers the return structure, so the description needn't repeat that. It also positions the tool against screen_universe. Nothing critical is missing for an agent to use it correctly.

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?

The schema already documents all 10 parameters with 100% coverage, so the baseline is 3. The description adds meaningful context beyond the schema: it explains how 'day' defaults to the last complete day, why 'scope' matters for comparability, that 'stat' ranks within visible markets, and that 'min_usd_volume_7d_avg' filters dust. It also clarifies that column names must come from list_fields. This enriches the schema's descriptions, justifying a 4.

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 opens with a specific verb and resource: 'Rank the whole market on ONE completed day'. It then gives concrete example queries ('top markets by funding / open interest / returns on the latest day' and 'what percentile is BTC on open interest') that unambiguously distinguish it from siblings. It also explicitly names screen_universe as the alternative for percentile cuts, making the tool's niche unmistakable.

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?

The description states exactly when to use this tool (single-day cross-sectional ranking) and when not to ('for a cut... use screen_universe'). It explains scope defaults and why hip3 markets are excluded ('their flow is not comparable'), and notes that percentile/zscore rank within visible markets. This is explicit guidance with a named alternative, leaving nothing to inference.

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