Skip to main content
Glama

get_relay_app_url

Generates a deep link to the Relay web app with pre-filled bridge or swap parameters, allowing users to start a new transaction via the Relay UI.

Instructions

Generate a deep link to the Relay web app with pre-filled bridge/swap parameters. The user can open this URL in their browser to START a new transaction via the Relay UI. This is NOT a transaction tracking URL — do NOT use it to check on an in-progress transaction. For tracking, use get_transaction_status with the requestId.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountNoPre-filled input amount in human-readable units (e.g. "0.1" for 0.1 ETH).
toAddressNoRecipient wallet address.
tradeTypeNoTrade type. Defaults to EXACT_INPUT.
toCurrencyNoDestination token address. For native tokens use: EVM "0x0000000000000000000000000000000000000000", Solana "11111111111111111111111111111111", Bitcoin "bc1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmql8k8", Hyperliquid "0x00000000000000000000000000000000", Lighter "0". For other tokens, use the contract/mint address or look up via get_supported_tokens.
fromChainIdNoOrigin chain (ID or name). If omitted, user picks in the UI.
fromCurrencyNoOrigin token address. For native tokens use: EVM "0x0000000000000000000000000000000000000000", Solana "11111111111111111111111111111111", Bitcoin "bc1qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqmql8k8", Hyperliquid "0x00000000000000000000000000000000", Lighter "0". For other tokens, use the contract/mint address or look up via get_supported_tokens.
destinationChainIdYesDestination chain (ID or name like 'base', 'ethereum'). This determines the Relay app page.
Behavior4/5

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

Without annotations, the description discloses key behavioral traits: it generates a non-mutating URL that requires user action to start a transaction. The warning about not using for tracking further clarifies its non-tracking nature. Slight ambiguity remains in the phrase 'START a new transaction', but overall behavior is well communicated.

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?

Three sentences with clear structure: purpose, user action, and crucial warning with alternative. Every sentence adds unique value with no fluff, making it efficient and easy to parse.

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?

Given the tool's simplicity (URL generation) and 100% schema coverage, the description adequately covers purpose, usage, and differentiation from 19 sibling tools. It implies the output (the URL) without explicitly stating the return type, but this is sufficient for an agent to decide to invoke the tool.

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?

Input schema has 100% coverage with descriptions for all 7 parameters. The description adds no per-parameter details beyond the schema, achieving only the baseline score for schema coverage. The general context of pre-filling parameters is present but does not enhance individual parameter understanding.

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 clearly states the tool generates a deep link to the Relay web app for starting new bridge/swap transactions, using specific verbs ('Generate a deep link') and resource ('Relay web app'). It distinguishes itself from tracking tools like `get_transaction_status`, making its purpose unambiguous.

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

Usage Guidelines5/5

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

Explicitly states when to use (to start a new transaction) and when not to use (do not use for tracking). Directly names the alternative tool (`get_transaction_status`) for tracking requests, providing clear guidance on tool selection.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/pedromcunha/relay-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server