Skip to main content
Glama

Trading volume

get_volume
Read-onlyIdempotent

Retrieve 24h volume, high/low, last price, and percent change for a DeepBook pool, or list top pools by quote volume when no pool is given; set a custom trailing window for one pool.

Instructions

24h volume, high/low, last price and % change for one DeepBook pool, or the top pools by 24h quote volume if no pool is given. Set window_hours for a custom trailing window (single pool). Education/information only; not financial advice. Read-only public data, may be delayed or wrong.

Input Schema

NameRequiredDescriptionDefault
topNoWhen no pool is given: how many pools to return (default 10)
poolNoDeepBook pool name BASE_QUOTE, e.g. SUI_USDC (case-insensitive; '/' or '-' also accepted)
window_hoursNoTrailing window in hours (default 24). Non-24 values need a pool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A4.2/5.0
Behavior4/5

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

This is a read-only public-data tool, and the description adds freshness and accuracy context that adds to the annotations ('may be delayed or wrong') plus an advice disclaimer. Together these note latency and data-quality caveats rather than repeating readOnlyHint.

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 return shape and mode distinction are front-loaded in the first sentence, and the constraints follow. The disclaimer clause is arguably padding but occupies only a few words.

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 with no output schema, the description still enumerates what comes back (volume, high/low, last price, % change, top pools) and notes both modes and window constraints. Nothing an agent needs to call it correctly is missing.

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 description coverage is 100%, so parameters are already documented, and the description adds little beyond noting window_hours is single-pool only. That constraint is also in the schema, so the description provides only incremental value.

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 pairs a specific verb and resource ('24h volume, high/low, last price and % change') with the resource ('DeepBook pool') and explicitly covers both operating modes: single pool versus top pools. This distinguishes the tool from get_mid_price, get_pool_stats, and get_ohlcv.

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 clearly states the two modes and the condition that selects each ('if no pool is given', 'Set window_hours ... (single pool)'). It does not name competing siblings such as get_ohlcv or get_pool_stats, so the agent must infer which tool to choose for historical candles versus a snapshot.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.