New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

swap

Swap through a Twofold pool from the MCP wallet: quotes first, executes with a real minimum-out.

SERVERTwofold SOURCEtwofold-mcp
Low RISK CLASS
Category Other
Parameters 00 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/twofold-mcp/swap.md

What swap does on Twofold

AI agents call swap as a supporting operation in Twofold workflows.

Why swap is rated Low

Without any rule in front of it, every call an agent makes to swap happens silently: no trail, no cap, no way to know it misbehaved until something breaks downstream.

Questions about swap

What does the swap tool do? +

Swap through a Twofold pool from the MCP wallet: quotes first, executes with a real minimum-out. It is categorised as a Other tool in the Twofold MCP Server, which means it performs auxiliary operations.

How do I enforce a policy on swap? +

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

What risk level is swap? +

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

Can I rate-limit swap? +

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

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

swap is provided by the Twofold MCP server (twofold-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Twofold, and thousands of servers like it.

Across the catalogue

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Twofold's. Pull the full record:

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.