trust_swap

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.

Server Maiat Protocol jhinresh/maiat-protocol
Category Financial
Risk class Critical
Parameters 00 required

What trust_swap does on Maiat Protocol

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.

Why trust_swap needs a policy

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

Questions about trust_swap

What does the trust_swap tool do? +

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.

How do I enforce a policy on trust_swap? +

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.

What risk level is trust_swap? +

trust_swap is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit trust_swap? +

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.

How do I block trust_swap completely? +

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.

What MCP server provides trust_swap? +

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.

// 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.