Skip to main content
Glama

cex_spot_get_spot_trades

Read-onlyIdempotent

Get recent trades for a currency pair

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toNoEnd timestamp in seconds, defaults to current time if not specified
fromNoStart timestamp in seconds
pageNoPage number
limitNoMaximum number of records to return, default 100
last_idNoUse the last record ID from previous list as starting point for next list
reverseNoWhether to retrieve records less than last_id. Default returns records greater than last_id
currency_pairYesCurrency pair

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already cover read-only/idempotent safety, so the description's burden is to add behavioral context. It only adds the vague term 'recent' and doesn't disclose default time range, pagination behavior, or response format. The schema shows time-range parameters, making 'recent' potentially misleading without clarification.

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?

The description is a single, front-loaded sentence with no wasted words. It states the action and subject clearly, making it efficient and easy to parse.

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

Completeness2/5

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

For a tool with 7 parameters including pagination controls (page, limit, last_id, reverse) and time filters (from, to), this description is severely under-specified. It doesn't explain how these parameters interact, what 'recent' means, or what the response contains. The lack of an output schema makes the description's failure to describe return values more significant.

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?

All 7 parameters are described in the schema (100% coverage), so the baseline is 3. The description adds no extra meaning beyond the schema; it just mentions 'currency pair', which is already documented. No parameter groupings or usage tips are provided.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'Get' with the resource 'trades' and narrows to a currency pair, making the core function clear. However, it doesn't differentiate from other trade-related endpoints in the sibling list (e.g., dc/fx/options trades), though the tool name reinforces the spot market.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this tool versus alternatives. It doesn't mention pagination, filtering by time range, or relationship to other spot endpoints like order books or candlesticks. The only context is the word 'recent', which is vague.

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.

TDQS

B3.1/5.0
Disambiguation5/5

Every tool is clearly scoped by its domain prefix (spot, fx, options, etc.) and resource type, with no two tools serving the same purpose. Even similar data types like candlesticks and order books are unambiguously separated by market.

Naming Consistency4/5

The naming follows a strong pattern: cex_<domain>_<verb>_<resource>. However, the use of 'get' vs 'list' is occasionally inconsistent (e.g., cex_fx_get_fx_tickers vs cex_spot_list_currencies), and some names are verbose with version suffixes like 'v4'.

Tool Count1/5

With 63 tools, this is an extreme count that will overwhelm an agent. While the breadth covers many product lines, the vast number of endpoints makes selection difficult and violates the typical scope for an MCP server.

Completeness4/5

The tool surface comprehensively covers public market data across spot, futures, options, delivery, earn, margin, lending, launch, and social products. Minor gaps exist (e.g., no historical trade depth, no single-ticker convenience methods), but the core data needs are fully addressed.