Skip to main content
Glama
nexus-xyz

nexus-exchange-mcp

Official
by nexus-xyz

fetch_order_book

Retrieve the current order book (bids and asks with price and size) for one market. Inspect market depth for a given market ID without credentials.

Instructions

Get the current order book (bids/asks with price + size) for one market. Public — no credentials needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
market_idYesMarket id, e.g. "BTC-USDX-PERP".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key behavioral fact that this is a public, credential-free endpoint plus the qualitative content of the response (bids/asks with price + size). It does not say whether the book is a snapshot or streamed, whether depth is limited, or how often it updates.

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?

Two short sentences, front-loaded with the resource and scope and closed with the access requirement. No filler or redundancy.

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 a simple, public, single-parameter read tool with no output schema, the description supplies the essential missing pieces: access requirement and the shape of the returned data. It falls short only on depth/update characteristics an agent might want before calling.

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% and there is a single required parameter, so the schema already documents market_id fully. The description's 'for one market' adds only a restatement of cardinality, so 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?

States a specific verb+resource (get the current order book) and constrains scope to one market, with a note on the returned fields. However, it never distinguishes itself from the near-identical sibling get_orderbook (or the ticker/trades tools), which an agent would plausibly confuse it with.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as get_orderbook, even though a sibling with an almost identical name exists. 'Public — no credentials needed' gives a contextual cue but not routing guidance.

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

Deploy Server

Other Tools