Skip to main content
Glama

下单

platform_place_order
Destructive

【持仓与执行】真实下单(写操作,需确认,动用真实资金):credentialId 来自 platform_credentials,amount 为 USDT 名义金额;orderType=market|limit,限价单必填 price。执行前校验账号级「AI 实盘授权」,未开启一律拒绝。(cost: free)(写操作,外部调用将以 apikey 身份直接执行)

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": {
      "credentialId": "<credentialId>",
      "symbol": "<symbol>",
      "side": "<side>",
      "amount": "<amount>"
    },
    "name": "platform_place_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
sideYes方向(必填)
priceNo限价(限价单必填)
amountYes下单金额,USDT 名义(必填)
symbolYes交易对,如 BTC/USDT(必填)
slPriceNo止损价(可选)
tpPriceNo止盈价(可选)
leverageNo杠杆(可选,默认 1)
orderTypeNo订单类型(可选,默认 market)
marketTypeNo市场类型 swap/spot(可选)
credentialIdYes交易所凭证 ID(必填)
idempotencyKeyNo幂等键(可选,防重复下单)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Goes well beyond readOnlyHint=false and destructiveHint=true by disclosing that real funds move, that user confirmation is needed, that execution happens directly under the apikey identity, and that an authorization gate can block the call. This is exactly the risk context an agent needs before invoking a destructive trading 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?

Dense, front-loaded single paragraph that leads with the write-operation and real-funds warning before parameters and auth. The trailing '(cost: free)' and apikey note are slightly tacked-on but still add value.

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

Completeness4/5

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

For an 11-parameter destructive order tool with no output schema, it covers the critical items: credential source, notional amount, order type and price dependency, and the authorization gate. Minor gaps remain on idempotencyKey, slPrice/tpPrice, and leverage semantics, though those are documented in the schema.

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?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning: credentialId must come from platform_credentials, amount is a USDT notional (not base-asset quantity), and orderType accepts market|limit with price required for limit orders — an enum-like constraint absent from the schema itself.

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 and resource ('真实下单', a real-money write operation) and scopes it to position/execution scenarios. It is clearly different from read-only siblings like platform_positions or platform_trade_history, though it does not explicitly contrast itself with platform_close_position or platform_dex_swap.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete prerequisite: account-level '「AI 实盘授权」' must be enabled or the call is rejected, and notes confirmation is required. It does not say when to prefer this over platform_dex_swap or platform_cancel_order, so the routing guidance stops short of explicit alternatives.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.