Skip to main content
Glama

evm_find_bridge_routes

Discover direct and multi-hop bridge routes between EVM chains with liquidity and cost analysis to compare speed, security, and fees before transferring tokens.

Instructions

Find all available bridge routes between EVM chains with liquidity and cost analysis.

Discovers direct and multi-hop bridge paths for cross-chain token transfers. Evaluates each route by speed, security, cost, and liquidity to help users choose optimal bridging strategy. Includes both canonical (native) and third-party bridge options.

CRITICAL RULES:

  • Read-only operation (no gas cost)

  • Returns multiple route options for comparison

  • Direct routes preferred over multi-hop

  • Canonical routes most secure but slowest

  • Third-party routes faster but require trust

  • Multi-hop increases fees and complexity

PARAMETERS:

  • sourceChain: Starting chain (required)

    • Must have bridge support

    • Format: ethereum, polygon, arbitrum, etc.

  • targetChain: Destination chain (required)

    • Must be reachable from source

    • Cannot be same as source

    • May require hub chain for indirect routes

  • token: Token to bridge (required)

    • Token symbol (USDC, WETH) or address (0x...)

    • Must exist on source chain

    • May have different addresses on target chain

    • Wrapped native tokens for bridging (ETH → WETH)

  • amount: Amount to bridge (optional)

    • Used for liquidity checks

    • Format: "100" = 100 tokens

    • Large amounts may limit route options

    • Omit for route discovery only

  • preferences: Route preferences (optional)

    • Object with speed, security, maxHops settings

    • Filters routes based on requirements

    • Default: {speed: 'any', security: 'any', maxHops: 2}

    Preference fields:

    • speed: Route speed requirement

      • instant: <5 minutes (third-party only)

      • fast: <30 minutes (third-party)

      • standard: <2 hours (any bridge)

      • any: no speed requirement (default)

    • security: Security level requirement

      • high: Canonical bridges only

      • medium: Established third-party bridges

      • any: All available bridges (default)

    • maxHops: Maximum number of bridge hops

      • 1: Direct routes only

      • 2: One intermediate chain allowed

      • 3: Maximum complexity

EXAMPLES: ✅ Find routes for USDC from Polygon to Ethereum: {sourceChain: "polygon", targetChain: "ethereum", token: "USDC", amount: "100"}

✅ Find fastest routes regardless of cost: {sourceChain: "arbitrum", targetChain: "base", token: "0x...", preferences: {speed: "instant", security: "any"}}

✅ Find secure routes only: {sourceChain: "bsc", targetChain: "avalanche", token: "WETH", preferences: {speed: "any", security: "high", maxHops: 1}}

❌ Invalid - same source and target: {sourceChain: "polygon", targetChain: "polygon", token: "USDC"}

❌ Invalid - token not supported: {sourceChain: "ethereum", targetChain: "polygon", token: "0xUnknownToken..."}

SUPPORTED EVM CHAINS (7 networks): • ethereum (Sepolia) - EIP-1559 enabled, ~12s blocks, moderate gas costs • polygon (Amoy) - Low fees, fast finality (~2s), layer 2 • avalanche (Fuji C-Chain) - Sub-second finality, dynamic fees • bsc (BNB Testnet) - 3s blocks, low gas costs, Binance ecosystem • arbitrum (Sepolia) - Optimistic rollup, low fees, Ethereum security • base (Sepolia) - Coinbase layer 2, EIP-1559, low fees • worldchain (World Sepolia) - World Network testnet, EIP-1559

CRITICAL GAS CONSIDERATIONS:

  • Ethereum: High gas costs, use gas oracle for timing

  • Polygon/BSC: Very low gas, safe for frequent transactions

  • Arbitrum/Base: L2 optimizations, ~10-50x cheaper than Ethereum

  • Avalanche: Dynamic fees, can spike during congestion

  • Always check gas price before executing transactions

TESTNET TOKENS: All chains use testnet tokens with NO REAL VALUE. Faucets available for all supported networks.

OUTPUT STRUCTURE: • routes: Array of available bridge routes

  • protocol: Bridge protocol name

  • path: Chain sequence (source → intermediate → target)

  • estimatedTime: Total time to completion

  • estimatedCost: Total fees in USD and native tokens

  • liquidity: Available liquidity for amount

  • security: Security level (high/medium/low)

  • recommended: Boolean indicating best overall option • bestRoute: Recommended route with reasoning • alternatives: Other viable options • warnings: Any route-specific warnings or limitations • executionTime: Time taken in milliseconds

COMMON MISTAKES:

  • Not specifying amount for accurate liquidity checks

  • Ignoring security implications of third-party bridges

  • Not considering multi-hop complexity and fees

  • Assuming all tokens available on all bridges

  • Forgetting bridge maintenance or downtime

USE CASES:

  • Compare bridge options before transferring

  • Find cheapest route for large transfers

  • Discover fastest paths for urgent transfers

  • Plan complex multi-chain strategies

  • Research bridge ecosystem capabilities

ROUTE EVALUATION CRITERIA:

  1. Direct vs Multi-hop: Direct preferred when available

  2. Security: Canonical > Established third-party > New protocols

  3. Cost: Lower fees preferred (all else equal)

  4. Speed: Faster routes for urgent transfers

  5. Liquidity: Must support transfer amount

BRIDGE ECOSYSTEM:

  • Canonical: Native chain bridges (Arbitrum Bridge, Polygon Bridge)

  • Established: Hop, Stargate, Across, Synapse, Celer

  • Layer 2: Optimism, Base, Arbitrum native bridges

  • Sidechain: Polygon, BSC native bridges

  • Cross-chain: LayerZero, Axelar for complex routes

LIQUIDITY CONSIDERATIONS:

  • Major tokens (USDC, WETH) widely supported

  • Smaller tokens may have limited bridge options

  • Large transfers need sufficient pool liquidity

  • Multi-hop routes split liquidity requirements

  • Check liquidity before finalizing route choice

Running on Linux.

LINUX-SPECIFIC NOTES:

  • Package manager: apt (Ubuntu/Debian), yum (RHEL/CentOS), or pacman (Arch)

  • Python 3 is typically 'python3' command

  • GNU tools are standard

  • Use 'xdg-open' command to open files/applications

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": {
      "sourceChain": "<sourceChain>",
      "targetChain": "<targetChain>",
      "token": "<token>"
    },
    "name": "evm_find_bridge_routes"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesToken symbol or address to bridge
amountNoAmount to bridge (optional)
preferencesNo
sourceChainYesSource chain to bridge from
targetChainYesTarget chain to bridge to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose important behavior: "Read-only operation (no gas cost)," multiple route options, route evaluation criteria, warnings, and output structure. However, it also includes general advice about checking gas before executing transactions, which is outside the scope of route discovery and slightly muddies the behavioral boundary.

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

Conciseness2/5

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

The core purpose is front-loaded and the section headers aid scanning, but the description is heavily bloated with repeated reference material, general bridge education, common mistakes, use cases, and an entirely irrelevant injected Linux/system-notes block. Many sentences do not earn their place for selecting or invoking this specific 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?

For a five-parameter route-discovery tool with a nested preferences object and no output schema, the description is complete enough to call correctly: it covers supported chains, parameter constraints, preference semantics, examples, invalid inputs, and a detailed output structure. The extraneous Linux notes hurt conciseness but do not leave functional gaps.

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

Parameters5/5

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

The description adds substantial meaning beyond the 80%-covered schema: sourceChain must have bridge support, targetChain cannot equal sourceChain, token can be a symbol or address, amount is used for liquidity checks, and preference fields have detailed semantics such as instant being third-party-only and high security meaning canonical bridges only. This is materially richer than the schema's terse field descriptions.

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 opens with a specific verb and resource: "Find all available bridge routes between EVM chains with liquidity and cost analysis." It clearly distinguishes route discovery from related operations such as fee estimation or token listing, and the added detail about direct/multi-hop and canonical/third-party routes makes the scope unambiguous.

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

Usage Guidelines4/5

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

The description gives clear usage context through examples, invalid examples, and a USE CASES section, and it explains when to omit amount for discovery-only queries. It does not explicitly route the agent away from siblings such as evm_estimate_bridge_fee or evm_bridge_tokens, so it stops short of full when-not/alternative guidance.

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

Deploy Server

Other Tools