Skip to main content
Glama
Mishmar

Mishmar

Official

Propose an order

propose_order
Destructive

Submit an order for a trading account to be checked against risk rules, held for approval when large, then signed and sent to the venue; the result shows whether it was allowed or rejected.

Instructions

Propose an order on a trading account. The engine checks it against the account's rules and, when allowed, signs and sends it to the venue; the decision says what happened. A limit order needs a price; a market order is priced at the engine's mark. Sizes and prices are decimal strings.

Input Schema

NameRequiredDescriptionDefault
sideYes
sizeYesQuantity as a decimal string.
priceNoLimit price as a decimal string; not for a market order.
symbolYesThe venue's symbol: BTC on Hyperliquid, BTCUSDT on Binance.
leverageNoLeverage as a decimal string, where the venue takes it per order.
orderTypeNolimit (default) or market.
reduceOnlyNoThe order may only reduce the position (an exit).
validForSecondsNoHow long the proposal stands, at most 86400; default 60. An order parked for a person past it expires.
tradingAccountIdYesThe trading account (ta_…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.3

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, openWorldHint=true and idempotentHint=false, so the safety profile is covered. The description adds meaningful behavior beyond that: the order is only signed and sent 'when allowed' after a rules check, and the outcome is reported via a decision — telling the agent this is not an unconditional submission. It omits any mention of the approval flow that validForSeconds hints at.

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?

Three sentences, each earning its place: what it does, what happens to it, and the type-specific pricing rule. The core action is front-loaded and there is no filler.

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 a nine-parameter mutation with no output schema, the description covers the action, the asynchronous decision outcome, and the key pricing branch. The remaining gap is the approval/expiry workflow implied by validForSeconds and list_approvals, which an agent would have to infer from schema descriptions and siblings.

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 coverage is 89%, so the schema already documents nearly every parameter including the price/market-order distinction and symbol formats. The description's only net addition is the conditional rule that a limit order requires a price while a market order is priced at the engine's mark, which is marginal over what the schema states. Baseline 3 applies when the 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 names a specific verb and resource ('Propose an order on a trading account') and goes further to explain the propose/check/sign/send pipeline, which distinguishes it from a raw order-submission tool and from siblings like cancel_order or get_decision. An agent can identify the operation without opening the schema.

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?

It gives clear conditional guidance between order types ('A limit order needs a price; a market order is priced at the engine's mark') and implies the follow-up decision. It does not explicitly route the agent to get_decision or wait_for_decision after proposing, nor mention any exclusions, so it stops short of full when-to-use guidance.

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