Skip to main content
Glama
Quantweb3-com

NexusTrader MCP

Official

cancel_order

Cancel a pending order by specifying the trading pair and order ID. Use this to remove an open order that you no longer want to execute.

Instructions

撤销一个挂单。

Args: symbol: 交易对,如 BTCUSDT-PERP.BINANCE oid: 订单 ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
oidYes
symbolYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are provided, so the description bears full responsibility. It only states the action itself and doesn't disclose whether cancellation is irreversible, whether filled orders are rejected, or any permission/state prerequisites. The behavior is basic and obvious, but genuinely valuable context is missing.

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?

Extremely concise with zero wasted words. The action is front-loaded, and the Args block clearly maps parameters to their meanings. Every element earns its place.

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, both required parameters are explained, and an output schema exists. However, without annotations and with no mention of edge cases (e.g., attempting to cancel an already-filled order), the definition is minimally adequate but not fully complete.

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?

With schema description coverage at 0%, the description compensates by explaining both parameters: symbol includes a concrete example (BTCUSDT-PERP.BINANCE) and oid is identified as the order ID. This adds meaning beyond the bare string types in the schema.

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 a specific action ('撤销一个挂单' = cancel one pending order) with a verb and resource. It differentiates from the sibling cancel_all_orders by specifying a single order, though it doesn't explicitly name that alternative.

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 given on when to use this tool versus alternatives like cancel_all_orders or modify_order. The intended use case (cancel one specific open order) is implied by the name and arguments, but not stated explicitly.

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