Skip to main content
Glama
nexus-xyz

nexus-exchange-mcp

Official
by nexus-xyz

get_market_adl_events

Retrieve auto-deleveraging (ADL) settlement history for a market to review forced position closures covering shortfalls; requires API credentials. Deprecated: use fetch_adl_events.

Instructions

Deprecated: use fetch_adl_events. Get the auto-deleveraging (ADL) settlement history for one market — the events where the engine force-closed positions to cover a shortfall. Requires API credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of events to return (max 1000).
market_idYesMarket id, e.g. "BTC-USDX-PERP".

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It usefully discloses the auth requirement ("Requires API credentials"), which an agent needs before calling. However, it says nothing about pagination, ordering, retention window, or error behavior for missing/unauthorized markets, leaving gaps for a history-retrieval endpoint.

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?

Front-loads the deprecation notice, then one sentence for purpose and one for credentials. Every sentence earns its place with no 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 deprecated read endpoint with full schema coverage and no output schema, the description supplies purpose, scope, auth, and the migration path. Only minor operational details (pagination, event fields) are absent, which is acceptable given the schema.

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 both market_id and limit are already documented, including the max-1000 bound. The description only reinforces that the query is scoped to a single market, adding marginal value beyond the schema — baseline 3.

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?

Names a specific resource (ADL settlement history) and scope (one market), and defines the domain term inline as events where the engine force-closed positions to cover a shortfall. It also names the replacement tool, so an agent can distinguish it from fetch_adl_events and the other adl siblings without opening a schema.

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

Usage Guidelines5/5

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

The very first token is an explicit deprecation redirect to `fetch_adl_events`, giving an unambiguous when-not-to-use rule plus the alternative. An agent knows exactly which tool to prefer.

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