Skip to main content
Glama
nirholas

Binance.US MCP Server

by nirholas

binance_us_new_oco

Place a One-Cancels-the-Other (OCO) order on Binance.US to execute a limit order and stop-loss order simultaneously, automatically cancelling one when the other triggers for risk management.

Instructions

Place a new OCO (One-Cancels-the-Other) order on Binance.US. OCO orders combine a limit order with a stop-loss order. When one triggers, the other is automatically cancelled. Note: For SELL OCOs, limit price > stop price. For BUY OCOs, limit price < stop price.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesTrading pair symbol (e.g., BTCUSD, ETHUSD)
sideYesOrder side: BUY or SELL
quantityYesOrder quantity for both legs of the OCO
priceYesLimit order price
stopPriceYesStop price that triggers the stop-loss order
stopLimitPriceNoLimit price for the stop-loss leg. If provided, stopLimitTimeInForce is required.
stopLimitTimeInForceNoTime in force for stop-limit order: GTC, IOC, or FOK. Required if stopLimitPrice is provided.
listClientOrderIdNoUnique ID for the entire OCO order list
limitClientOrderIdNoUnique ID for the limit order leg
stopClientOrderIdNoUnique ID for the stop-loss leg
limitIcebergQtyNoIceberg quantity for the limit leg
stopIcebergQtyNoIceberg quantity for the stop-loss leg
trailingDeltaNoTrailing delta in BIPS for the stop leg
newOrderRespTypeNoResponse type: ACK, RESULT, or FULL
selfTradePreventionModeNoSelf-trade prevention mode
recvWindowNoReceive window in milliseconds (max 60000)
Behavior2/5

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

No annotations are provided, so the description carries full burden. It explains the OCO mechanism ('When one triggers, the other is automatically cancelled'), which is useful behavioral context. However, it lacks critical details like authentication requirements, rate limits, error handling, or what happens on partial fills. For a trading tool with no annotations, this is a significant gap.

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?

The description is appropriately sized with three sentences. The first sentence states the purpose, the second explains OCO mechanics, and the third provides key usage rules. It is front-loaded with the main action, though the price relationship note could be more integrated.

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 complex trading tool with 16 parameters, no annotations, and no output schema, the description is incomplete. It misses critical context like response format, error conditions, authentication needs, and market impact. The OCO explanation helps, but more behavioral and operational details are needed for safe agent use.

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 the schema already documents all 16 parameters thoroughly. The description adds minimal value beyond the schema by mentioning price relationships for BUY/SELL OCOs, but does not explain parameter interactions or provide additional semantic context. Baseline 3 is appropriate when schema does the heavy lifting.

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 clearly states the specific action ('Place a new OCO order') and resource ('on Binance.US'), and explains what an OCO order is ('combine a limit order with a stop-loss order'). It distinguishes from siblings by focusing on OCO orders specifically, unlike general order tools like 'binance_us_new_order'.

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?

The description implies usage for OCO orders but does not explicitly state when to use this tool versus alternatives like 'binance_us_new_order' or 'binance_us_cust_oco_order'. It provides some contextual guidance with price relationship rules for BUY/SELL, but lacks explicit when/when-not instructions or named 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/nirholas/Binance-US-MCP'

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