Skip to main content
These examples show how to use the Delora MCP tools: typical prompts, tool arguments, and response structures. They are based on the Delora API and the MCP server implementation. Quote responses use adapter plus a single calldata object, and may also include optional warnings.

Example Prompts & Tool Calls

Get Chain Information

Prompt: “What chains does Delora support?” Tool called: get_chains (no arguments), or get_chains with chainTypes: "EVM" to filter. Response (key structure):

Get Token Details

Prompt: “Get USDC token info on Ethereum” Tool called: get_token with chain: "1", token: "USDC" Response (example):

List Tokens by Chain

Prompt: “What tokens are supported on chain 1?” Tool called: get_tokens with chains: "1" or chainTypes: "EVM" Response (key structure): Object keyed by chain ID, each value an array of token objects (address, symbol, decimals, chainId, name, coinKey, priceUSD, logoURI).

Get a Cross-Chain Quote

Prompt: “Get a quote to transfer 1 USDC from Ethereum to Arbitrum” Tool called: get_quote with:
Response (example from Delora API):
Key points:
  • outputAmount: Estimated amount on the destination chain (in smallest units).
  • calldata: Transaction payload to sign and submit with your wallet.
  • fees: Total and breakdown (gas, relayer, etc.) in USD and token amounts.
  • warnings: Optional non-blocking issues that do not prevent Delora from returning a quote.

Same-Chain Swap Quote (1 ETH on Arbitrum via OpenOcean)

Prompt: “Quote swapping 1 ETH to WETH on Arbitrum” Tool called: get_quote with:
Response (real example):
Use 0x0000000000000000000000000000000000000000 for native currency (ETH). Amount is in wei (18 decimals); 0x82af49447d8a07e3bd95bd0d56f35241523fbab1 is WETH on Arbitrum.

List Available Bridges and Exchanges

Prompt: “What bridges and DEXes does Delora support?” Tool called: get_tools (no arguments), or get_tools with chains: "1,42161" to filter. Response (key structure):

Code Samples

Connect to the Delora MCP server programmatically.

TypeScript MCP Client (streamable HTTP)

Call get_instructions First

Prompt: “How do I use the Delora MCP server?” Tool called: get_instructions (no arguments) Returns the server’s built-in guide (workflow: get_chains → get_tokens/get_token → get_quote). Use this at the start of a session so the AI follows the recommended flow.

Next Steps

Available Tools

Full list of MCP tools and parameters.

API Reference

Delora REST API endpoints and schemas.