Skip to main content
Glama

Float

Get a quote

get_quote
Read-only

An indicative price for a swap, after every fee, across Float's swap partners and the Float Pool. Read amountOut (what the user receives) and warning when it is set. The quote binds nothing and has no expiry. For direction in, give from and amount of from. For direction out, give to and amount of CC. Minimum: $3 USD equivalent (USDT and USDC amounts are checked here; partner routes can set a higher minimum, and the API then says so). No key needed.

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": {
      "amount": "<amount>"
    },
    "name": "get_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoThe asset the user receives, for direction out. A symbol from list_assets, e.g. BTC.
refNoOptional referral code, to price the order as it will be attributed.
fromNoThe asset the user sends, for direction in. A symbol from list_assets, e.g. USDT.
amountYesDecimal string. For in: amount of from. For out: amount of CC. Never a float.
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.
directionNoin: the user sends an asset and receives CC (Get CC). out: the user sends CC and receives an asset (Withdraw CC). Default in.
destinationExtraIdNoOut 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.6/5.0
Behavior5/5

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

The annotations only declare readOnly and open-world; the description adds substantive behavior: the price is indicative, non-binding and non-expiring, the $3 minimum is validated for USDT/USDC while partner routes may impose a higher one, and no API key is needed. These are things the annotations cannot convey.

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 core definition, then the return hint, then direction mechanics, then the minimum rule. It is dense but every clause carries information; the nested parenthetical about partner minimums is the only slightly heavy spot.

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 no output schema, the description still names the fields to read back (amountOut and warning when set), which is exactly what the agent needs. Combined with direction mechanics, the minimum rule and the no-key note, an agent can call this correctly without further information.

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-field meaning the schema lists only per-property: which fields pair with each direction and that the amount is checked against a USD minimum. The role of network, rateType and ref is left entirely to the schema.

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?

States a specific verb and resource: an indicative price for a swap across Float's partners and the Float Pool, with fees included. 'The quote binds nothing and has no expiry' implicitly separates it from create_order, so an agent knows this is a pricing preview rather than an execution.

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 concrete call conditions: direction=in takes from + amount of from, direction=out takes to + amount of CC, and the $3 USD minimum is spelled out with the caveat that partner routes may require more. It never explicitly tells the agent to quote before create_order or names a case where another tool is preferable, so it stops short of full when/when-not guidance.

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