Skip to main content
Glama
nexus-xyz

nexus-exchange-mcp

Official
by nexus-xyz

cancel_order

Cancel a specific open order by its ID, or clear all resting orders without an ID. Requires API credentials.

Instructions

Cancel one resting order by id, or all open orders if order_id is omitted. Requires API credentials.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
order_idNoOrder id to cancel. Omit to cancel ALL open orders.
market_idNoMarket id (recommended when cancelling a single order).
Behavior2/5

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

No annotations provided, so description must disclose behavior. Only mentions 'resting order' (implies not filled) and 'requires API credentials'. Does not state immediacy, reversibility, response format, or rate limits.

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 sentences, no fluff. Critical info front-loaded: action, modes, prerequisite.

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?

For a simple cancellation tool, description covers main functionality and credential requirement. Missing details on error handling, confirmation, or idempotency, but acceptable given no output schema and low complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage 100%, baseline 3. Description adds value by explaining the dual behavior of order_id (omission cancels all) and recommending market_id for single cancellations, beyond schema descriptions.

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?

Description clearly states action (cancel) and resource (orders), distinguishes between canceling one order by ID or all open orders if ID omitted. Differentiates from sibling tools like place_order or get_open_orders.

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

Usage Guidelines3/5

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

Implies usage: if order_id provided cancels that order, if omitted cancels all open orders. Mentions API credentials as prerequisite but no explicit when-to-use/not-to-use or alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nexus-xyz/nexus-exchange-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server