swap_quote

Get a price quote for a token swap (read-only, no execution). Shows expected output, pool fee, slippage. Max $0.10 per swap.

Server Baselings jimbo530/baselings-mcp
Category Read
Risk class Low
Parameters 00 required

What swap_quote does on Baselings

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

Why swap_quote needs a policy

This tool queries swap pricing data and returns informational quotes only. It has no side effects, does not execute trades, and does not commit any financial obligations. The read-only nature and explicit statement that there is no execution clearly place it in the Read category. The low severity reflects that misuse would only expose pricing information, not cause financial loss or unintended transactions.

From the tool's definition Tool description explicitly states 'read-only, no execution' and 'Get a price quote'. It retrieves pricing information without performing any trades or financial transactions.

Questions about swap_quote

What does the swap_quote tool do? +

Get a price quote for a token swap (read-only, no execution). Shows expected output, pool fee, slippage. Max $0.10 per swap. It is categorised as a Read tool in the Baselings MCP Server, which means it retrieves data without modifying state.

How do I enforce a policy on swap_quote? +

Register the Baselings MCP server in PolicyLayer and add a rule for swap_quote: 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 Baselings. Nothing to install.

What risk level is swap_quote? +

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

Can I rate-limit swap_quote? +

Yes. Add a rate_limit block to the swap_quote 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 swap_quote completely? +

Set action: deny in the PolicyLayer policy for swap_quote. 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 swap_quote? +

swap_quote is provided by the Baselings MCP server (jimbo530/baselings-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

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.