Skip to main content
Glama

DEX market over time

get_market_history
Read-onlyIdempotent

The Cardano DEX market over a timeframe, per day (per week over a year, per month beyond two years): volume in ADA, settled swaps, makers (distinct trading wallets per day) and trading fees (volume times pool fee), for all DEXes together or one DEX. Returns the totals of the full UTC days of the range, their change against the equally long period before (null when that period is not stored), each period, and the DEXes of the range by volume with their share. The running day and the day our history starts on are marked partial and left out of totals; coverage says which days are counted and where history starts. Use it for "how much traded on Cardano last month", "is volume growing", "market share of Minswap over 90 days".

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_market_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
dexNoOne DEX by its name as `list_dexes` returns it (for example MinswapV2). Leave out for all DEXes together.
rangeNoTimeframe: the last 7, 30, 90 or 365 full days, or everything stored.30d

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the read-only annotations, the description discloses non-obvious behavior: granularity adapts to range (day/week/month), partial days are excluded from totals, change is compared against an equally long prior period and may be null, and a `coverage` field marks counted days. This is exactly the behavioral context an agent needs for a complex analytics call.

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 front-loaded and dense with no filler, though the first sentence is quite long and packs multiple concepts together. The example queries at the end are useful but the overall prose could be slightly better structured.

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?

There is no output schema, so the description must explain return values—and it does: totals for full UTC days, change vs the prior equal-length period, per-period data, DEX breakdown by volume with share, partial-day marking, and `coverage`. This is complete for a multi-metric historical analytics tool.

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 already 100%, so the schema documents both parameters. The description still adds value by explaining the granularity consequences of `range` (per day, per week over a year, per month beyond two years) and clarifying that `dex` can target one DEX or all DEXes together.

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+resource: 'The Cardano DEX market over a timeframe', and immediately specifies granularity, metrics, aggregation, and scope. It is clearly distinguishable from snapshot tools like get_market_overview and list-focused siblings.

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 concrete example questions it answers ('how much traded on Cardano last month', 'is volume growing', 'market share of Minswap over 90 days'), which effectively communicates when to use it. It does not name alternatives or explicitly state when not to use it.

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