Skip to main content
Glama

swap_quote

Get a live BTC swap quote across Lightning, Arkade, USDC, or USDT0 on Arbitrum, including route fees before committing; no transaction or escrow is created.

Instructions

Quote a swap of BTC through Satora: Lightning or Arkade into USDC or USDT0 on Arbitrum, or Lightning ↔ Arkade. Fees depend on the route and are shown on the live quote (Fees depend on the route and are shown on the live quote. Lightning or Arkade to USDC or USDT0 (and back) is about 1% total (Satora ~0.5% + Agent Escrow 0.5%) plus network fee. Lightning to Arkade is about 0.65% total (Satora ~0.15% + Agent Escrow 0.5%) plus network fee. Arkade to Lightning is about 0.80% total (Satora ~0.30% + Agent Escrow 0.5%) plus network fee). Nothing is created

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": "swap_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNostablecoin on Arbitrum (default usdc), or lightning/arkade for a Lightning ↔ Arkade swap
fromNowhere the BTC comes from (default lightning)
satsNosats to send (required for BTC → stablecoin and Lightning → Arkade; omit when an invoice pins an Arkade → Lightning payout)
addressNopayout destination: 0x on Arbitrum (to a stablecoin) or an Ark address on https://arkade.computer (to arkade)
invoiceNofrom arkade to lightning: a BOLT11 invoice with an amount

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description does carry useful behavior: it discloses that nothing is created, and it breaks down fee components per route (Satora ~0.5% + Agent Escrow 0.5%, etc.). It omits other behavior an agent needs — quote expiry/lifetime, whether the quote is a live network call, and whether the quoted rate is guaranteed at execution time.

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

Conciseness2/5

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

The fee sentence appears twice — once in the preamble and again verbatim inside a parenthetical that also re-nests the same clause twice. This is bloated and back-loaded; the per-route percentages could be one clean sentence, and "Nothing is created" is buried at the end where it matters most.

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?

There is no output schema and no annotations, so the description should sketch what a quote returns (amounts, fee total, expiry). It explains fee expectations instead, which helps set expectations but leaves the return shape and quote validity unstated for a 5-parameter financial 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?

Schema description coverage is 100%, so the schema already explains to/from/sats/address/invoice including the sats-vs-invoice exclusivity. The description adds only route/fee context, not parameter meaning, so the baseline 3 applies.

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?

"Quote a swap of BTC through Satora" gives a specific verb and resource, and the route list (Lightning/Arkade → USDC/USDT0 on Arbitrum, or Lightning ↔ Arkade) pins the direction precisely. It never names the sibling swap_to_btc_quote, so the agent must infer that the reverse direction belongs elsewhere.

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?

"Nothing is created" implicitly signals this is a pre-flight quote rather than an execution, which nudges the agent toward swap_create for the actual swap. However, there is no explicit when-to-use versus swap_to_btc_quote or escrow_quote, and no stated next step after receiving a quote.

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