Skip to main content
Glama
Binance MCP Server

Binance MCP Server

by ethancod1ng

cancel_order

Cancels a specified Binance order by symbol and order ID on mainnet or testnet.

Instructions

取消指定订单 - 支持主网和测试网

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>",
      "orderId": "<orderId>"
    },
    "name": "cancel_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYes交易对符号,如 BTCUSDT
orderIdYes订单ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv2.0.0
    • addedInput schema / properties / orderId / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / orderId / minimum
      Added value: +1
    • changedInput schema / properties / orderId / type
      Previous value: -"number"New value: +"integer"
  2. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full burden. It does disclose network scope (mainnet and testnet), which is genuinely useful, but says nothing about permissions/auth, whether cancellation is reversible, error behavior for filled or nonexistent orders, or the response shape for a mutation tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single compact sentence with the action front-loaded and the network-scope qualifier trailing. No wasted words; the brevity is efficient even though the omitted details are penalized in other dimensions.

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

Completeness2/5

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

For a destructive mutation tool with zero annotations and no output schema, the definition should explain prerequisites, failure modes, and effect of success. None of that is present, leaving an agent unable to predict behavior when the order cannot be canceled.

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 `symbol` and `orderId` are already documented in the schema with an example and bounds. The description adds no syntax, format, or constraint detail beyond what structured fields provide, so the baseline of 3 applies.

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 (cancel) and resource (the specified order), and "指定" signals a single-order scope that implicitly contrasts with a bulk-cancel sibling. The mainnet/testnet clause adds scope. It stops short of naming the alternative (e.g. cancel_all_orders) explicitly, so it is clear but not fully differentiated.

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 explicit when-to-use or when-not-to-use guidance: nothing says the order must be open, what happens if it is already filled, or that bulk cancellation belongs to another tool. The only hint is "指定" (specific/single) inside the name-like phrase, which an agent must infer.

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