Skip to main content
Glama

cex_spot_get_spot_order_book

Read-onlyIdempotent

Get the order book for a currency pair

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of order depth levels to return, default 10, max 100
with_idNoWhether to return order book update ID
intervalNoOrder depth aggregation precision. 0 means no aggregation
currency_pairYesCurrency pair

Schema Changelog

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

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is known. However, the description adds no additional behavioral context such as default limit, aggregation behavior, or response structure. It is purely a restatement of the tool's basic function.

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 concise sentence that is front-loaded and contains no waste. It delivers the core purpose immediately.

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

Completeness3/5

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

The tool is simple, with full schema coverage and annotations. However, the description lacks usage guidance and does not describe the return format (no output schema). There are clear gaps in distinguishing from sibling order book tools, making it minimally adequate but not complete.

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%, with all four parameters described in the schema. The description adds no parameter-specific meaning, but it does not need to since the schema is comprehensive. Baseline 3 is appropriate.

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 clearly states the action ('Get') and resource ('order book for a currency pair'). It is specific enough to identify the tool's function, but it does not explicitly distinguish from sibling order book tools (e.g., cex_fx_get_fx_order_book), relying on the 'spot' in the name.

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 is provided on when to use this tool versus alternatives. The description only says what it does, with no mention of spot vs. other markets or any exclusions. This is a significant gap given the many order book sibling tools.

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.