Skip to main content
Glama

Aperiodic — Market Data for Tokenized Assets & Crypto

Summarize a slice

summarize
Read-onlyIdempotent

Statistics worked out on our side, for when you can't run code: per-column count, mean, std, quantiles and range ("stats"), a correlation matrix ("correlation"), or the series resampled to at most 500 points ("resample"). Same slice arguments and plan rules as get_data. Decodes only the columns you name (up to 12, numeric; default the first 6).

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": {
      "dataset": "<dataset>"
    },
    "name": "summarize"
  }
}

Input Schema

NameRequiredDescriptionDefault
pointsNoresample only: buckets across the range. Default 200.
symbolNoSymbol id from find_symbols. Default perpetual-NVDA-USDT:USDT.
columnsNoNumeric field names from describe_dataset. Default: the first 6.
datasetYesA dataset id from list_datasets: a metrics dataset such as "flow", or a raw one such as "raw:trades".
analysisNoDefault "stats".
end_dateNoYYYY-MM-DD, inclusive. Default: the end of the free preview month.
exchangeNoDefault binance-futures.
intervalNoMetrics only: bar interval. Default 1h.
aggregateNoresample only: how a bucket is reduced. Default "mean".
timestampNoMetrics only: 'exchange' uses the exchange-reported timestamp (default), 'true' the arrival time at our servers.
start_dateNoYYYY-MM-DD, inclusive. Default: the free preview, 2026-07-01 for metrics, 2025-06-01 for raw.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / interval / description
      Previous value: -"Metrics only: bar interval. Default 5m."New value: +"Metrics only: bar interval. Default 1h."
    • changedInput schema / properties / start_date / description
      Previous value: -"YYYY-MM-DD, inclusive. Default: the free preview, 2025-05-01 for metrics, 2025-06-01 for raw."New value: +"YYYY-MM-DD, inclusive. Default: the free preview, 2026-07-01 for metrics, 2025-06-01 for raw."
    • changedInput schema / properties / symbol / description
      Previous value: -"Symbol id from find_symbols. Default perpetual-BTC-USDT:USDT."New value: +"Symbol id from find_symbols. Default perpetual-NVDA-USDT:USDT."
  2. Changed1 schema field changed
    • changedInput schema / properties / dataset / enum
      Previous value: -[
      -  "ohlcv",
      -  "vtwap",
      -  "basis",
      -  "funding",
      -  "open_interest",
      -  "derivative_price",
      -  "flow",
      -  "trade_size",
      -  "impact",
      -  "range",
      -  "updownticks",
      -  "run_structure",
      -  "returns",
      -  "slippage",
      -  "l1_price",
      -  "l1_imbalance",
      -  "l1_liquidity",
      -  "l2_imbalance",
      -  "l2_liquidity",
      -  "raw:trades",
      -  "raw:quotes",
      -  "raw:mark_price",
      -  "raw:index_price",
      -  "raw:funding_rate"
      -]New value: +[
      +  "ohlcv",
      +  "vtwap",
      +  "basis",
      +  "funding",
      +  "open_interest",
      +  "derivative_price",
      +  "flow",
      +  "trade_size",
      +  "impact",
      +  "range",
      +  "updownticks",
      +  "run_structure",
      +  "returns",
      +  "slippage",
      +  "l1_price",
      +  "l1_imbalance",
      +  "l1_liquidity",
      +  "l2_imbalance",
      +  "l2_liquidity",
      +  "flow_indices",
      +  "positioning",
      +  "raw:trades",
      +  "raw:quotes",
      +  "raw:mark_price",
      +  "raw:index_price",
      +  "raw:funding_rate"
      +]
  3. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds useful behavior beyond that: only named columns are decoded, a 12-column cap, and a 500-point ceiling on resample output, which signals cost and output size. It says nothing about error modes, rate limits, or preview restrictions beyond the date defaults.

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

Conciseness5/5

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

Three tight sentences with the modes and their meanings front-loaded, followed by the compatibility note and the column constraint. No filler and nothing repeated for its own sake.

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 an 11-parameter, mostly-defaulted analytics tool with full schema coverage and no output schema, the description covers purpose, modes, and output shapes (count/mean/std/quantiles/range, matrix, capped series). Remaining gaps are small: it defers slice semantics to get_data rather than restating plan rules, and does not discuss failure or preview limits.

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 100%, so every parameter already has documentation and the baseline applies. The description mostly restates schema facts (12-column cap, default first 6, 500-point cap) but does add the qualifier that columns must be numeric, which the schema omits.

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 function (server-side statistics) and enumerates the three concrete modes with their outputs: per-column stats, a correlation matrix, and resampled series. It also distinguishes itself from get_data by explaining it does the computation on the server side, so an agent can pick between them without opening schemas.

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?

Gives a clear selecting condition, 'for when you can't run code', which implicitly routes code-capable agents to get_data, and notes the slice arguments and plan rules match get_data. It stops short of an explicit when-not statement or naming other alternatives such as fetch or live_feed.

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