Skip to main content
Glama
trustxai

amazing-binance-mcp

by trustxai

binance_get_order_list

Read-onlyIdempotent

Check a specific OCO, OTO, or OTOCO order list by its ID or client order ID to verify whether it exists after a failed placement or inspect its current status.

Instructions

Look up one order list — OCO, OTO or OTOCO — by id.

Calls GET /api/v3/orderList (SIGNED, IP weight 4). No symbol is needed: pass exactly one id, order_list_id (Binance's numeric orderListId) or orig_client_order_id (the listClientOrderId used when placing). Both at once is rejected locally — Binance resolves the numeric id first and then rejects a mismatch, so the ambiguous call buys nothing.

When to Use:

  • After a 5xx or a timeout on a placement — this is how you find out whether the list exists before considering a retry.

  • To check whether a bracket is still working, or which leg ended it.

When NOT to Use:

  • To see every working list — binance_get_open_order_lists (weight 6).

  • For history across a period — binance_get_all_order_lists.

  • For an individual leg's fills — binance_get_order / binance_get_my_trades with the leg's orderId.

Returns: orderListId, contingencyType, listStatusType, listOrderStatus, listClientOrderId, symbol, transactionTime and the ### Legs table. This endpoint returns orders[] only (ids, no per-leg status), and the answer says so rather than implying more. response_format="json" returns the raw payload.

Examples: params = {"order_list_id": 27} params = {"orig_client_order_id": "btc-bracket-001"}

Error Handling: -2011/-2013 mean no such order list for this account. -1102 means neither id reached Binance. -2015 means the key lacks permission or this IP is not allowlisted.

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

A5/5.0
Behavior5/5

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

The description adds substantial behavioral context beyond the annotations: the endpoint is SIGNED with IP weight 4, both id parameters cannot be passed together, Binance resolves the numeric id first, and error codes are mapped to real causes. It also explains the open-world use case of checking whether a placement actually happened after a network failure.

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 longer than average but every section earns its place: purpose, endpoint details, usage, non-usage, returns, examples, and error handling. It is front-loaded with the core purpose and structured with clear headings, making it easy for an agent to scan.

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?

For a read-only lookup tool, the description covers all necessary context: endpoint path, authentication/weight, id selection rules, use cases, limitations, error codes, and examples. The explicit note that orders[] contains only IDs and no per-leg status prevents the agent from assuming richer data, which is especially valuable even with an output schema present.

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

Parameters5/5

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

Although the nested schema already describes the two id parameters, the description adds critical semantics: exactly one id must be passed, no symbol is needed, both ids are rejected locally, and the difference between order_list_id and orig_client_order_id is clarified. It also documents response_format behavior for raw JSON output.

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 opens with a precise verb and resource: 'Look up one order list — OCO, OTO or OTOCO — by id.' It clearly distinguishes the tool from siblings by naming exact alternatives in the 'When NOT to Use' section, so an agent knows exactly what this tool does and what it does not do.

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?

Explicit 'When to Use' and 'When NOT to Use' sections provide concrete triggering conditions, such as after a 5xx/timeout on a placement, and route to sibling tools like binance_get_open_order_lists, binance_get_all_order_lists, and binance_get_order. This is exemplary usage guidance.

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