Skip to main content
Glama

preview_order

Simulate an order to see planned child orders, policy decisions, fee bounds, and whether human approval is required—without sending anything.

Instructions

Dry run: planned child orders, policy decisions, fee bound, and whether a human must approve. side: buy|sell. algo: market|limit|twap|pov|chase|native_twap. size in base units. Sends nothing.

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": {
      "coin": "<coin>",
      "side": "<side>",
      "size": "<size>"
    },
    "name": "preview_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
algoNotwap
coinYes
noteNo
sideYes
sizeYes
slicesNo
limit_pxNo
pov_rateNo
post_onlyNo
duration_sNo
reduce_onlyNo
max_slippage_bpsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose the key safety fact ("Sends nothing") plus the substantive return content (child orders, policy decisions, fee bound, approval requirement). However it says nothing about whether state is reserved, whether policy checks can be bypassed, or permission requirements — the remaining gaps are moderate for an order-routing 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?

Front-loaded with the outcome, then telegraphic parameter hints; no filler. The compressed "side: buy|sell" style is dense but readable, and the closing "Sends nothing." is well placed as the operative constraint.

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

Completeness3/5

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

An output schema exists, so return values need not be spelled out, and the approval/fee-bound outcome is signalled up front. For a 12-parameter order-simulation tool with zero annotation and zero schema-description coverage, the remaining execution parameters (slices, pov_rate, duration_s, max_slippage_bps) are unexplained, which is a real gap for correct invocation.

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 0%, so the description must compensate, and it does add genuine meaning for three parameters: side's allowed values buy|sell, algo's six allowed values (the schema has no enum), and size being in base units. That leaves nine parameters — slices, pov_rate, limit_px, duration_s, post_only, reduce_only, max_slippage_bps, note, coin — with no explanation in either place, so compensation is only partial.

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?

"Dry run: planned child orders, policy decisions, fee bound, and whether a human must approve" names a specific operation (simulate an order) and enumerates what it returns, and "Sends nothing" separates it from submit_order in the sibling list without naming it directly. The verb+resource is unambiguous, though it stops short of explicitly naming submit_order as the alternative.

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?

"Dry run" plus "Sends nothing" strongly implies this is used before submit_order, but the description never states that condition or any exclusion. There is no guidance on when to instead use get_quote or policy_limits, so the routing is left to inference.

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