Skip to main content
Glama

Float

Open an order

create_order

Opens a REAL order. Minimum: $3 USD equivalent (USDT and USDC amounts are checked here; partner routes can set a higher minimum, and the API then says so). This tool moves no money: it returns depositAddress and amountIn, and the user sends exactly that from their own wallet. Give status_link to the user so they can follow the order. Show the plan (asset, amount, destination, expected amountOut from get_quote) and get the user's yes first. There is no sandbox: do not call this in tests or as a check. With a Float API key, pass idempotencyKey (a new UUID per order; reuse it only to retry the same order). Without a key, Float attributes the order only if ref is set. Never ask the user for a key to use this tool.

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": {
      "direction": "<direction>",
      "amount": "<amount>",
      "destination": "<destination>"
    },
    "name": "create_order"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNodirection out: the asset the user receives. A symbol from list_assets.
refNoOptional referral code for attribution.
fromNodirection in: the asset the user sends. A symbol from list_assets.
venueNoOpen at this partner, as returned by get_quote. Refused rather than swapped if it no longer quotes the pair.
amountYesDecimal string. in: amount of from. out: amount of CC.
networkNoChain of the non-CC asset, when the asset has several. Leave out for the default chain.
rateTypeNofloat = market rate (recommended, and the default here). fixed = locked rate.
directionYesin: the user sends an asset and receives CC (Get CC). out: the user sends CC and receives an asset (Withdraw CC). Default in.
destinationYesin (Get CC): the user's Canton party ID, name::1220... out (Withdraw CC): an address on the asset's chain. Cannot be changed later.
refundPartyNodirection out only, recommended: the user's own Canton party. Automatic refunds of the CC go there.
refundAddressNodirection in only: the user's address on the source chain. Needed when get_quote says needsRefundAddress.
idempotencyKeyNoRequired with a Float API key: 1 to 255 visible characters, a new UUID per order. Refused without a key.
destinationExtraIdNodirection out only: the payout address's destination tag or memo, when that chain needs one.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (readOnlyHint=false, openWorldHint=true, destructiveHint=false), it states that the tool moves no money, that the caller must send amountIn to the returned depositAddress from their own wallet, and that the user should be given status_link. It also discloses the $3 minimum, partner-specific minimums, and venue refusal rather than silent substitution.

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 critical constraint (a real, non-sandbox order with no money movement) is front-loaded, and each subsequent sentence carries a distinct rule. It is dense with parentheticals and slightly overlaps the schema wording on idempotencyKey, but there is little genuine waste.

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

Completeness5/5

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

With 13 parameters and no output schema, the description supplies the missing return shape (depositAddress, amountIn, status_link) and the confirmation flow an agent must run before calling. The combination of annotations and description leaves nothing an agent needs to invoke it safely.

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 cross-parameter behavior the schema cannot express: idempotencyKey is required per new UUID with a Float key and refused without one, and ref drives attribution only when no key is present. It does not add much beyond the schema for the remaining fields such as destination and refundParty.

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 opens with a specific verb and resource ('Opens a REAL order'), emphasizes that it is a real (not test) order, and the semantics clearly separate it from get_quote (which only prices) and get_order_status (which only reads state).

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

Usage Guidelines5/5

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

It gives explicit operating conditions: show the plan with expected amountOut from get_quote and obtain the user's yes first, never call it in tests or as a check because there is no sandbox, and use idempotencyKey with a Float API key versus relying on ref without one.

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.

Resources