Skip to main content
Glama

evm_get_bridge_status

Check the status and phase of a cross-chain bridge transaction with confirmations, challenge period, and security verification to monitor bridge operations and understand withdrawal delays.

Instructions

Check status and phase of cross-chain bridge transaction with security verification.

Analyzes bridge transaction to determine current phase, confirmations, challenge period status, and security checks. Essential for monitoring bridge operations and understanding withdrawal delays.

CRITICAL RULES:

  • Read-only operation (no gas cost)

  • Requires transaction to be bridge-related

  • L2→L1 withdrawals have 7-day challenge period

  • Different bridge types have different events

  • Must check both source and destination chains

  • Security checks verify merkle proofs and state roots

PARAMETERS:

  • chain: Source chain where bridge transaction occurred (required)

    • Must be chain where transaction was initiated

    • Examples: Arbitrum→Ethereum use 'arbitrum', Polygon→Ethereum use 'polygon'

  • transactionHash: Bridge transaction hash to check (required)

    • Format: 0x followed by 64 hex characters

    • Must be valid bridge transaction

    • Examples: deposit, withdrawal initiation, message bridge

  • bridgeType: Type of bridge protocol (optional)

    • 'native': Chain's native bridge (most secure)

    • 'canonical': Official bridge from chain team

    • 'third-party': External bridge protocols

    • Default: 'canonical'

    • Affects which events to look for

EXAMPLES: ✅ Check Arbitrum→Ethereum withdrawal status: {chain: "arbitrum", transactionHash: "0x1234...abcd", bridgeType: "canonical"}

✅ Monitor Polygon→Ethereum deposit: {chain: "polygon", transactionHash: "0xabcd...1234"}

✅ Check third-party bridge (Hop/Stargate): {chain: "base", transactionHash: "0x9876...fedc", bridgeType: "third-party"}

❌ Invalid - wrong chain (tx was on Arbitrum, not Ethereum): {chain: "ethereum", transactionHash: "0xArbitrumTx..."}

❌ Invalid - not a bridge transaction: {chain: "arbitrum", transactionHash: "0xRegularSwapTx..."}

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: • status: Current bridge phase (initiated, confirmed, finalized, completed) • phase: Detailed phase breakdown with progress percentage • confirmations: Number of confirmations received • challengePeriod: Challenge period status (L2→L1 only) • securityChecks: Array of security verification results • estimatedTime: Remaining time to completion • monitoringUrls: Block explorer links for both chains • warnings: Any issues or delays detected • executionTime: Time taken in milliseconds

BRIDGE PHASES:

  1. Initiated: Transaction submitted on source chain

  2. Confirmed: Source chain transaction confirmed

  3. Finalized: Bridge message finalized on source

  4. Executed: Message executed on destination chain

  5. Completed: Final state confirmed on both chains

SECURITY CHECKS:

  • Merkle proof verification

  • State root validation

  • Challenge period monitoring

  • Validator signature checks

  • Bridge contract integrity

CHALLENGE PERIODS:

  • L2→L1 withdrawals: 7 days (can be challenged)

  • L1→L2 deposits: Usually immediate

  • Sidechain bridges: Vary by protocol

MONITORING:

  • Track progress on both source and destination

  • Use block explorers for visual confirmation

  • Set up alerts for completion

  • Monitor for stuck transactions

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": {
      "chain": "<chain>",
      "transactionHash": "<transactionHash>"
    },
    "name": "evm_get_bridge_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainYesSource chain where bridge transaction occurred
bridgeTypeNoBridge protocol type (default: canonical)
transactionHashYesBridge transaction hash (0x...)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and mostly succeeds: it states this is read-only with no gas cost, enumerates the returned fields (status, phase, confirmations, challengePeriod, securityChecks, estimatedTime, warnings), and documents the 7-day L2→L1 challenge delay and the check categories. It loses a point because a large share of the text (gas tables, faucets, Linux shell notes) describes the environment rather than this tool's behavior.

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, but the body is heavily padded with material irrelevant to invoking this tool: gas cost comparisons per chain, testnet token disclaimers, faucet notes, general monitoring advice, and a trailing Linux/apt/xdg-open block. Much of the signal (phases, security checks, challenge periods) is valuable, but it is buried in roughly ten times the necessary length.

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

Completeness4/5

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

For a 3-parameter read tool with no annotations and no output schema, the description supplies the return structure, the phase model, delay expectations, and invalid-input cases — enough for an agent to call it and interpret the result. The main gap is that it never positions the tool relative to the overlapping sibling evm_track_bridge_progress.

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

Parameters4/5

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

Schema coverage is already 100% with enums for chain and bridgeType, so the baseline is 3. The description goes further by explaining that chain must be the initiation chain with concrete Arbitrum/Polygon routing examples, that transactionHash must be a bridge event (deposit/withdrawal/message), and that bridgeType changes which events are scanned — genuinely useful semantics beyond the schema.

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

Purpose4/5

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

The opening sentence names a specific verb ('Check') and resource ('status and phase of cross-chain bridge transaction') plus the security-verification angle, which is more specific than a generic 'get bridge info'. It does not, however, distinguish itself from the sibling evm_track_bridge_progress, which an agent could easily confuse it with.

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 CRITICAL RULES and the ✅/❌ examples give real usage conditions: the transaction must be bridge-related, the chain must be the initiation chain, and both source and destination must be considered. What is missing is a comparison against the obvious sibling (evm_track_bridge_progress) telling the agent when to pick this one instead.

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