Get a trust-verified swap quote with calldata. Checks both tokens for safety before returning a Uniswap quote. Use this instead of raw DEX quotes.
AI agents use trust_swap to commit financial operations through Maiat Protocol — usually the final step of a payment, billing, or trading workflow. A call moves real money.
This tool retrieves a swap quote along with calldata for executing a token swap on Uniswap, a decentralized exchange. Even though it is framed as a 'quote' (read-like), it returns executable calldata that can directly trigger a financial transaction (token swap).
From the tool's definition 'trust-verified swap quote with calldata', 'Uniswap quote', 'swap' — this tool prepares swap transaction calldata involving token exchanges on a DEX
Attacks that exploit this kind of access
Get a trust-verified swap quote with calldata. Checks both tokens for safety before returning a Uniswap quote. Use this instead of raw DEX quotes. It is categorised as a Financial tool in the Maiat Protocol MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
Register the Maiat Protocol MCP server in PolicyLayer and add a rule for trust_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 Maiat Protocol. Nothing to install.
trust_swap is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the trust_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.
Set action: deny in the PolicyLayer policy for trust_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.
trust_swap is provided by the Maiat Protocol MCP server (jhinresh/maiat-protocol). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the 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 →