Skip to main content
Glama

NoKycCryptoSwap — No-KYC Crypto Swap & 0.40% Solana DEX

Build Unsigned EVM DEX or Cross-Chain Bridge Tx

build_bridge_tx
Read-only

Build an unsigned best-rate cross-chain EVM <-> Solana / EVM <-> EVM bridge transaction (LI.FI + deBridge DLN, ~3–30s, 0.40% fee) OR a same-chain EVM DEX swap (LI.FI) across Base, Arbitrum, Ethereum, Optimism, BSC, Polygon, Avalanche, and Solana.

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": {
      "srcChainId": "<srcChainId>",
      "dstChainId": "<dstChainId>",
      "amount": "<amount>",
      "senderAddress": "<senderAddress>"
    },
    "name": "build_bridge_tx"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesHuman-readable amount to swap or bridge.
dstTokenNoDestination token address.
providerNoOptional routing provider preference (default: auto best-rate).
srcTokenNoSource token address (0x000...000 for native EVM, 11111111111111111111111111111111 for native SOL).
dstChainIdYesDestination chain ID (may equal srcChainId for same-chain EVM DEX swaps).
srcChainIdYesSource chain ID (8453 Base, 42161 Arbitrum, 1 Ethereum, 56 BSC, 7565164 Solana).
srcDecimalsNoOptional source token decimals.
senderAddressYesSender wallet address on source chain.
recipientAddressNoRecipient wallet address on destination chain.

Output Schema

NameRequiredDescriptionDefault
txNo
engineNo
orderIdNo
providerNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / required
      Previous value: -[
      -  "srcChainId",
      -  "dstChainId",
      -  "amount",
      -  "senderAddress",
      -  "recipientAddress"
      -]New value: +[
      +  "srcChainId",
      +  "dstChainId",
      +  "amount",
      +  "senderAddress"
      +]
  2. Changed4 schema fields changed
    • changedInput schema / properties / amount / description
      Previous value: -"Human-readable amount to bridge."New value: +"Human-readable amount to swap or bridge."
    • changedInput schema / properties / dstChainId / description
      Previous value: -"Destination chain ID."New value: +"Destination chain ID (may equal srcChainId for same-chain EVM DEX swaps)."
    • addedInput schema / properties / provider
      Added value: +{
      +  "description": "Optional routing provider preference (default: auto best-rate).",
      +  "enum": [
      +    "auto",
      +    "lifi",
      +    "debridge"
      +  ],
      +  "type": "string"
      +}
    • addedOutput schema / properties / provider
      Added value: +{
      +  "type": "string"
      +}
  3. Changed15 schema fields changed
    • addedInput schema / additionalProperties
      Added value: +false
    • addedInput schema / properties / amount / exclusiveMinimum
      Added value: +0
    • changedInput schema / properties / dstChainId / description
      Previous value: -"Destination chain ID (7565164 Solana, or EVM chain ID)."New value: +"Destination chain ID."
    • addedInput schema / properties / dstChainId / enum
      Added value: +[
      +  1,
      +  10,
      +  56,
      +  137,
      +  8453,
      +  42161,
      +  43114,
      +  7565164
      +]
    • changedInput schema / properties / dstToken / description
      Previous value: -"Destination token address (11111111111111111111111111111111 for native SOL, 0x000...000 for native EVM)."New value: +"Destination token address."
    • addedInput schema / properties / recipientAddress / maxLength
      Added value: +128
    • addedInput schema / properties / recipientAddress / minLength
      Added value: +20
    • addedInput schema / properties / senderAddress / maxLength
      Added value: +128
    • addedInput schema / properties / senderAddress / minLength
      Added value: +20
    • changedInput schema / properties / srcChainId / description
      Previous value: -"Source chain ID (e.g. 8453 Base, 42161 Arbitrum, 1 Ethereum, 56 BSC, 7565164 Solana)."New value: +"Source chain ID (8453 Base, 42161 Arbitrum, 1 Ethereum, 56 BSC, 7565164 Solana)."
    • addedInput schema / properties / srcChainId / enum
      Added value: +[
      +  1,
      +  10,
      +  56,
      +  137,
      +  8453,
      +  42161,
      +  43114,
      +  7565164
      +]
    • changedInput schema / properties / srcDecimals / description
      Previous value: -"Optional source token decimals (auto-detected for native EVM=18, native SOL=9, else 6)."New value: +"Optional source token decimals."
    • addedInput schema / properties / srcDecimals / maximum
      Added value: +18
    • addedInput schema / properties / srcDecimals / minimum
      Added value: +0
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "engine": {
      +      "type": "string"
      +    },
      +    "orderId": {
      +      "type": "string"
      +    },
      +    "tx": {
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, openWorldHint=true, and the description is consistent with them while adding real context: the output is unsigned (caller must sign/broadcast), routing providers, expected 3–30s latency, and a 0.40% fee. It stops short of describing what the caller must do next (sign, submit, poll status) or failure/partial-fill behavior.

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?

One dense but front-loaded sentence that puts the verb, the two modes, and the operating envelope first, with no filler or repetition of structured fields.

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?

With an output schema present, return values need not be described, and the description covers modes, chains, providers, timing, and fee for a nine-parameter tool. Gaps remain around recipientAddress defaults, srcDecimals necessity, and the post-build signing/submission flow, which matter for a build-then-execute pipeline.

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 schema already explains every one of the nine parameters, including native-token sentinel addresses and chain IDs. The description adds only the provider names behind the 'provider' enum and the auto best-rate default, so baseline 3 is appropriate.

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?

Specific verb+resource: 'Build an unsigned ... bridge transaction ... OR a same-chain EVM DEX swap', with chains and providers enumerated. It clearly distinguishes its two modes (cross-chain bridge vs same-chain swap) and stresses 'unsigned', but never names or contrasts with siblings like get_swap_quote or build_solana_swap_tx, so an agent must infer routing between them.

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 description implies when each mode applies (cross-chain vs same-chain EVM swap) and cites latency and fee, which helps the agent judge suitability. It gives no explicit 'use this instead of X' guidance, no prerequisite steps (quote first? approval?), and no exclusions, leaving the selection between this, get_swap_quote, and check_swap_status to inference.

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.

Resources