Skip to main content
Glama

Scrooge

Build a swap to another chain

build_bridge
Read-only

Swaps a token on Robinhood Chain to another EVM chain (Ethereum, Base, Arbitrum and more) through LI.FI, in one transaction: the bridge and the swaps on either side. to_token is its address there, or "native" for the chain's own coin. Paid to the same wallet unless to_address says otherwise.

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": {
      "token": "<token>",
      "amount": "<amount>",
      "to_chain": "<to_chain>",
      "wallet": "<wallet>"
    },
    "name": "build_bridge"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesWhat is sent from Robinhood Chain: a symbol (ETH, USDG, SCROOGE, NVDA…) or a contract address on Robinhood Chain
amountYesHow much, as a decimal number such as 0.5
walletYesThe address that will sign and send the transactions
to_chainYesThe chain it goes to, by name (Base, Ethereum, Arbitrum…) or id
to_tokenNoOptional: the token's address there, or "native" (default native)
to_addressNoOptional: who receives there (default the wallet)
slippage_bpsNoOptional: in basis points (default 50, at most 300)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, which signals a non-mutating builder that reaches external routing. Beyond that, the description discloses the routing intermediary (LI.FI), the atomicity of the operation (bridge and both swaps in one transaction), and the default payout wallet, which are real behavioral facts not in the schema.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two dense sentences, front-loaded with the operation and mechanism, then the destination/payment rules. No filler, though the phrase 'to_token is its address there' is slightly awkward and repeats schema content.

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 a 7-parameter builder with no output schema, the description never says what is returned (presumably an unsigned transaction to sign and submit) or whether a quote step is expected first. The rich schema and annotations carry most of the load, making this adequate but with a clear gap around the result and execution 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 description coverage is 100%, so every parameter is already documented in the input schema, including the 'native' sentinel for to_token and the default for to_address. The description mostly restates those defaults rather than adding format or constraint detail, so the baseline of 3 applies.

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?

States a specific verb and resource with scope: swap a token from Robinhood Chain to another EVM chain via LI.FI, bundled as bridge plus swaps on both sides. The 'another EVM chain' wording implicitly separates it from the same-chain build_swap sibling, and the named destinations (Ethereum, Base, Arbitrum) make the scope concrete.

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 cross-chain framing gives clear context for when this tool applies versus a plain swap, and the defaults sentence tells the agent what happens when optional parameters are omitted. It stops short of explicitly naming an alternative or stating exclusions (e.g., 'for same-chain use build_swap'), so it lands just below a 5.

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