Skip to main content
Glama

Dovafy SafePerp / SafeSwap MCP

safe_bridge_quote

Read-only

Audit the destination EVM token with GoPlus EVM Token Security (blocking honeypots, extreme buy/sell taxes, and balance-mutable contracts) and construct an unsigned cross-chain bridge or same-chain swap route via LI.FI with a transparent 0.15% official integrator fee. Returns the unsigned EVM transactionRequest plus a non-custodial MetaMask/Rabby signing receipt URL.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "fromChainId": "<fromChainId>",
      "toChainId": "<toChainId>",
      "fromToken": "<fromToken>",
      "toToken": "<toToken>",
      "fromAmount": "<fromAmount>",
      "userAddress": "<userAddress>"
    },
    "name": "safe_bridge_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
toTokenYesDestination ERC-20 0x contract address (GoPlus audited), or 0x0000000000000000000000000000000000000000 for native gas token.
fromTokenYesSource ERC-20 0x contract address, or 0x0000000000000000000000000000000000000000 for native gas token.
toChainIdYesDestination EVM chain ID (can equal fromChainId for same-chain swaps).
fromAmountYesExact integer amount to spend in raw base units (wei or smallest token decimals, e.g. "10000000" for 10 USDC).
fromChainIdYesSource EVM chain ID (e.g. 1 Ethereum, 8453 Base, 42161 Arbitrum, 56 BSC, 10 Optimism, 137 Polygon).
slippageBpsNoMaximum route slippage in basis points (1 to 1500; default 100 = 1.00%).
userAddressYesUser EVM 0x PUBLIC wallet address that will sign locally in MetaMask or Rabby. Never pass a private key.
acknowledgeHighRiskNoSet true only to acknowledge non-fatal WARN findings on destination tokens. Honeypots remain hard-blocked.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • addedInput schema / properties / acknowledgeHighRisk / description
      Added value: +"Set true only to acknowledge non-fatal WARN findings on destination tokens. Honeypots remain hard-blocked."
    • changedInput schema / properties / fromAmount / description
      Previous value: -"Raw integer base units"New value: +"Exact integer amount to spend in raw base units (wei or smallest token decimals, e.g. \"10000000\" for 10 USDC)."
    • changedInput schema / properties / fromChainId / description
      Previous value: -"Source EVM chain ID (e.g. 8453 Base, 42161 Arbitrum)"New value: +"Source EVM chain ID (e.g. 1 Ethereum, 8453 Base, 42161 Arbitrum, 56 BSC, 10 Optimism, 137 Polygon)."
    • changedInput schema / properties / fromToken / description
      Previous value: -"Source ERC-20 0x address or 0x000...000 for native gas token"New value: +"Source ERC-20 0x contract address, or 0x0000000000000000000000000000000000000000 for native gas token."
    • addedInput schema / properties / slippageBps / description
      Added value: +"Maximum route slippage in basis points (1 to 1500; default 100 = 1.00%)."
    • changedInput schema / properties / toChainId / description
      Previous value: -"Destination EVM chain ID"New value: +"Destination EVM chain ID (can equal fromChainId for same-chain swaps)."
    • changedInput schema / properties / toToken / description
      Previous value: -"Destination ERC-20 0x address or 0x000...000 for native gas token"New value: +"Destination ERC-20 0x contract address (GoPlus audited), or 0x0000000000000000000000000000000000000000 for native gas token."
    • changedInput schema / properties / userAddress / description
      Previous value: -"User EVM 0x PUBLIC wallet address"New value: +"User EVM 0x PUBLIC wallet address that will sign locally in MetaMask or Rabby. Never pass a private key."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Beyond the annotations, the description discloses material behavior: GoPlus blocks honeypots, extreme taxes, and balance-mutable contracts; a transparent 0.15% integrator fee is applied; and the tool returns an unsigned transactionRequest plus a non-custodial signing receipt URL. These details add useful operational context without contradicting the read-only, open-world, non-destructive annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The definition is two tight sentences with no filler, front-loading the audit and route construction before stating the return format. It is appropriately sized for a complex quote-building tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

No output schema exists, so the description usefully explains the return shape and custody model. Combined with the fully documented input schema and annotations, it gives an agent enough context to invoke the tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the parameter documentation already carries the burden. The description reinforces that the destination token is audited and the transaction is unsigned, but it adds little parameter-level meaning beyond what the schema already states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific compound verb and resource: audit the destination EVM token and construct an unsigned cross-chain bridge or same-chain swap route via LI.FI. It is clearly scoped to EVM and names the route provider, distinguishing it from a pure token scanner or a Solana swap tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The EVM bridge/swap context and built-in destination-token audit imply when this tool is appropriate, but the description does not explicitly state when to use it instead of scan_token_safety or safe_swap_solana. Usage is inferable rather than directly guided.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.