quote_swap

Read-only ERC20 swap quote: expected out, guaranteed minOut, fee, and a high-level route summary. No broadcast.

Server Agent https://fluxiq.xyz/api/mcp
Category Read
Risk class Low
Parameters 65 required

What quote_swap does on Agent

AI agents call quote_swap to retrieve information from Agent without modifying anything — typically the context-gathering step in research, monitoring, and reporting workflows, before the agent takes action elsewhere.

ParameterTypeRequiredDescription
chainId integer Yes EVM chain id (mainnet = 1 in v1).
tokenIn string Yes ERC20 input token (native ETH is not supported).
amountIn string Yes Amount in base units (integer string, e.g. USDC 6dp).
tokenOut string Yes ERC20 output token.
recipient string Yes Recipient / payer address (the wallet that signs + receives).
slippageBps integer Optional slippage budget in basis points (0–10000).

Parameters from the server's own tool schema.

Why quote_swap needs a policy

This tool retrieves swap quotation data without executing, modifying, or broadcasting any transactions. However, severity is elevated to 'medium' rather than 'low' because the quote data could inform an AI agent's decision to execute a subsequent swap via build_swap, and miscalculation or manipulation of quote assumptions could lead to suboptimal swaps or slippage.

From the tool's definition Tool description explicitly states 'Read-only' and 'No broadcast', with function limited to returning 'expected out, guaranteed minOut, fee, and a high-level route summary'. These are query operations with no side effects.

Questions about quote_swap

What does the quote_swap tool do? +

Read-only ERC20 swap quote: expected out, guaranteed minOut, fee, and a high-level route summary. No broadcast. It is categorised as a Read tool in the Agent MCP Server, which means it retrieves data without modifying state.

What parameters does quote_swap accept? +

quote_swap accepts 6 parameters: chainId, tokenIn, amountIn, tokenOut, recipient, slippageBps. Required: chainId, tokenIn, amountIn, tokenOut, recipient. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on quote_swap? +

Register the Agent MCP server in PolicyLayer and add a rule for quote_swap: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Agent. Nothing to install.

What risk level is quote_swap? +

quote_swap is a Read tool with low risk. Read-only tools are generally safe to allow by default.

Can I rate-limit quote_swap? +

Yes. Add a rate_limit block to the quote_swap rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block quote_swap completely? +

Set action: deny in the PolicyLayer policy for quote_swap. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides quote_swap? +

quote_swap is provided by the Agent MCP server (https://fluxiq.xyz/api/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// THE FULL RECORD

quote_swap is one line of Agent's registry record.

The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.