Skip to main content
Glama

place_order

Destructive

Place a single order on a supported venue. Keys stay inside an AWS Nitro Enclave; policy blocks orders exceeding per-asset caps. Returns the venue order ID on success.

Instructions

Place a single order on the named venue. The Signer enclave will sign the venue-native payload using a key that has never been exported. Policy enforced server-side: orders that exceed per-asset caps are rejected by the enclave before signing. Returns the venue's order_id on success. Side effect: real or testnet trade depending on venue env.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
venueYesVenue identifier. Must match an entry returned by list_venues — any other value will be rejected by the gateway.
symbolYesVenue-native trading symbol. Examples: BTCUSDT (binance, bybit), BTC-USDT-SWAP (okx), BTC-USD (asterdex), XBTUSDTM (kucoin futures), BTC (hyperliquid_main). Case-sensitive.
sideYesbuy = long open / short close; sell = short open / long close.
qtyYesOrder quantity in base asset (e.g. BTC), NOT in USD-notional. Some venues require a minimum (Binance: 0.001 BTC). Refer to venue docs.
typeYesmarket = immediate fill at venue best; limit = resting order at `price`.
priceNoLimit price in quote asset. Required for type=limit, ignored for type=market.
policy_idNoOptional policy id override. If omitted, the gateway uses the default policy bound to the provided SIGNER_API_TOKEN.
Behavior4/5

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

Annotations already indicate destructiveHint=true. The description adds valuable context: the Signer enclave signs the payload with a never-exported key, policy enforcement, and the side effect of real or testnet trade. No contradictions.

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 three concise sentences, front-loaded with the primary purpose, and no filler. Every sentence adds 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?

Given 7 parameters, no output schema, and annotations present, the description covers purpose, key behaviors, and parameter nuances. Could mention rate limits or error handling, but overall complete enough for a trading tool.

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 baseline 3. The description adds meaning beyond the schema, such as examples for symbols, side definitions (long/short), quantity base asset, and policy_id override guidance.

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 uses a specific verb ('Place') and resource ('a single order on the named venue'), clearly distinguishing it from siblings like cancel_order, list_venues, get_account, and get_attestation.

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?

The description explains when the tool can be used (single order) and mentions policy enforcement and side effects (real/testnet trade). It does not explicitly state when not to use it, but the context is clear enough for an AI agent.

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/namixai/signer-mcp'

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