Documentation

Tools

Act tools

Prepare and simulate transactions you sign yourself, checked against your rules.

7 tools. Each entry is generated from the MCP server’s own definition, so it says exactly what your agent sees. Link to any tool with its name as the anchor.

quarn_wallet_approvals

1 unit#

Find live token approvals a wallet has granted (recent window) and rate each spender: unlimited amount, plain wallet instead of contract, unknown router. Use before asking the user to revoke.

quarn_prepare_revoke

1 unit#

Prepare unsigned approve(spender, 0) transactions, simulated from the wallet. Pass pairs, or all: true to revoke every live approval found (kill switch). Nothing is signed or sent: hand the transactions to the user's wallet.

quarn_prepare_swap

1 unit#

Prepare a swap the user signs in their own wallet: judges the target token, checks QUARN.md rules if given, and returns a prefilled Uniswap link on the right chain. Refuses to prepare when the rating or the rules say no. Nothing is signed for the user.

quarn_simulate_tx

0.5 units#

Simulate a transaction without sending it (eth_call + gas estimate): does it succeed, and if not, why. Use before asking the user to sign anything.

quarn_bridge_check

1 unit#

Before bridging: compares the token on both chains (liquidity, volume, price, whether a market exists at all) so the user does not bridge into a dead or fake pool, and points to the official Elysium bridge.

quarn_lint_solidity

0.2 units#

Check Solidity source for the mistakes that most often lose funds (tx.origin auth, unchecked calls, missing reentrancy guard, delegatecall, open initialize, uncapped mint, weak randomness…). Use before deploying a contract the agent wrote. Not an audit.

quarn_check_policy

0.5 units#

Check an intended action against the user's QUARN.md rules (min score, max USD per transaction, no unlimited approvals, allowed venues, minimum token age, blocked addresses). If a token is given its live rating is used. Call before preparing any transaction.

On this page
  1. quarn_wallet_approvals
  2. quarn_prepare_revoke
  3. quarn_prepare_swap
  4. quarn_simulate_tx
  5. quarn_bridge_check
  6. quarn_lint_solidity
  7. quarn_check_policy