Skip to main content
Glama

Beggar Bot

relay_bridge_swap_build

Build a Relay cross-chain or same-chain swap/bridge tx (ETH, USDC, WETH, any token) with fees, ETA, approval and request id Paid: $0.02 USDC via x402.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "relay_bridge_swap_build"
  }
}

Input Schema

NameRequiredDescriptionDefault
fromNofrom
chainNochain
amountNoamount
token_inNotoken_in
recipientNorecipient
token_outNotoken_out
destinationNodestination
slippage_bpsNoslippage_bps

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose the key non-obvious trait: the call is paid, costing $0.02 USDC via x402, which affects agent planning. It still omits whether the tool only returns an unsigned tx versus submitting it, what permissions or wallet connection are required, and any rate or failure 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?

A single compact sentence that front-loads the action and resource, then appends the output contents and the pricing note. Every clause carries information and nothing is padded.

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

Completeness3/5

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

For an 8-parameter, zero-required-parameter transaction builder with no output schema, the description should say more: which fields are actually mandatory in practice, what the returned object looks like (unsigned tx, request id for status polling), and supported chains. It covers the price and result contents but leaves the caller guessing on inputs and follow-up flow.

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 coverage is nominally 100%, but the schema descriptions merely repeat the property names ("from": "from", "slippage_bps": "slippage_bps"), so they add no real meaning. The tool description contributes only the token examples and does not clarify chain identifiers, amount units/decimals, slippage_bps units, or the from/recipient versus destination distinction — hence baseline 3 rather than higher.

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 description gives a specific verb ("Build") and resource ("Relay cross-chain or same-chain swap/bridge tx"), and enumerates what the result carries (fees, ETA, approval, request id). The "Relay" qualifier plus the token examples (ETH, USDC, WETH, any token) let an agent separate it from lifi_swap_bridge_build or uniswap_swap_build, though it never names those alternatives directly.

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?

Usage is implied by "cross-chain or same-chain swap/bridge", so an agent can infer it fits swap/bridge construction. But there is no explicit when-to-use versus the many sibling builders (lifi, symbiosis, velora, mayan), and no stated prerequisite such as fetching a quote or checking relay_request_status first.

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.