Skip to main content
Glama

Get indicative trade price

fuse_trade_indicative_price

Returns an indicative price + route for a swap on Fuse (0x-style response). One of sellAmount / buyAmount must be provided.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
buyTokenYesERC-20 contract address of the token to buy.
gasPriceNoGas price override in wei.
buyAmountNoDesired buy amount in base units (mutually exclusive with `sellAmount`).
sellTokenYesERC-20 contract address of the token to sell.
sellAmountNoSell amount in base units (mutually exclusive with `buyAmount`).
feeRecipientNo
takerAddressNoAddress of the trader (for validation).
skipValidationNo
excludedSourcesNoComma-separated liquidity sources to exclude.
includedSourcesNoComma-separated liquidity sources to include.
slippagePercentageNoMax slippage as a decimal string (e.g. `0.01` = 1%).
buyTokenPercentageFeeNo
enableSlippageProtectionNo
feeRecipientTradeSurplusNo
priceImpactProtectionPercentageNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description must carry full weight. It only states that the tool returns a price and route, with no information about side effects, authentication needs, rate limits, or behavior on errors. This is insufficient for a 15-parameter tool.

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?

Two sentences, first states purpose, second adds a crucial constraint. No redundant information. Front-loaded and efficient.

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

Completeness2/5

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

Given 15 parameters, no output schema, and no annotations, the description is far from complete. It does not explain the output format, error conditions, or how to interpret the route. Leaves too much to domain knowledge.

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?

The schema covers 60% of parameters with descriptions. The description adds the key constraint that sellAmount/buyAmount are mutually exclusive and one must be provided, but it does not elaborate on other optional parameters or their interplay. Overall, marginal added value beyond schema.

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?

The description clearly states it returns an indicative price and route for a swap on Fuse using 0x-style. It specifies the resource and action, and distinguishes from siblings like fuse_get_trade_quote by mentioning '0x-style response'. However, it does not explicitly differentiate from other trade tools.

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

Usage Guidelines2/5

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

The description gives one usage constraint ('One of sellAmount/buyAmount must be provided') but provides no guidance on when to use this tool versus alternatives like fuse_get_trade_quote or when not to use it.

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