Skip to main content
Glama
trustxai

amazing-binance-mcp

by trustxai

binance_cancel_convert_limit_order

DestructiveIdempotent

Cancel a resting Binance convert limit order by order ID. Use when an order no longer reflects your plan, before it triggers.

Instructions

Cancel a resting convert limit order.

Calls POST /sapi/v1/convert/limit/cancelOrder (SIGNED, UID weight 200).

Kill-switch. Refused with Error: … trading is disabled … unless the server runs with BINANCE_ALLOW_TRADING=1 — cancellation is a signed non-GET like any other state change, so the same gate applies.

When to Use:

  • To pull a convert limit order that no longer reflects the plan, before it triggers.

When NOT to Use:

  • For a spot order — that is binance_cancel_order.

  • To undo a completed conversion: there is no such thing. Converting back needs a new quote at the current ratio.

Returns: A confirmation echoing exactly what Binance returned — orderId and status verbatim.

Examples: params = {"order_id": "1603680255057330400"}

Error Handling: An already-filled, already-cancelled or unknown orderId is rejected by Binance — check binance_get_convert_open_limit_orders for what is actually resting. A 5xx or a timeout means the cancellation status is UNKNOWN: check binance_get_convert_open_limit_orders before cancelling again, because the order may already be gone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.9/5.0
Behavior5/5

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

The description goes well beyond the annotations by disclosing the kill-switch behavior tied to BINANCE_ALLOW_TRADING=1, the UNKNOWN cancellation status on 5xx/timeout, and the need to verify resting orders before retrying. This is valuable operational context that annotations alone do not provide.

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?

The description is long but every section earns its place: use criteria, exclusions, return behavior, example, and error handling. It is front-loaded with the primary action and endpoint, then organized into scannable sections without repetition.

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

Completeness5/5

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

Given the destructive and signed nature of the operation, the description covers endpoint, authentication implication, use cases, exclusions, return payload, example, and error recovery. No information an agent needs to invoke this correctly is missing.

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?

Although the schema itself documents order_id, the tool description reinforces it with a concrete example and explains where the ID comes from indirectly through sibling tool references. For a single required parameter, this is sufficient, though the description could have explicitly restated the parameter's source.

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?

The description states a specific action ('Cancel a resting convert limit order') and names the exact endpoint, making the tool's purpose unambiguous. It also implicitly distinguishes this convert-order cancellation from spot-order cancellation, which is reinforced in the When NOT to Use section.

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 description has explicit 'When to Use' and 'When NOT to Use' sections. It names binance_cancel_order as the alternative for spot orders and clarifies that completed conversions cannot be undone, leaving no ambiguity about when this tool should be selected.

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