Skip to main content
Glama

Get a RAVN swap quote

ravn_quote
Read-only

Get a swap quote from RAVN — same-chain or cross-chain, across 16 chains including native (non-wrapped) Bitcoin and Solana as source or destination. Free, no API key or payment required. Returns a quoteToken; pass it to ravn_execute to get a signable/broadcastable execution payload.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
apiKeyNoYour RAVN API key, if you have one — raises your rate limit
inputTokenYesToken contract address, or 0xEeeeeEeeeEeEeeEeEeEeeeEEeeeeEeeeeeeeEEeE for the chain's native coin
inputAmountYesPositive integer string, in the input token's smallest unit (no decimals)
outputTokenYesToken contract address, or 0xEeeeeEeeeEeEeeEeEeEeeeEEeeeeEeeeeeeeEEeE for the chain's native coin
rankingModeNo
slippageBpsNo
userAddressYesAddress the input asset will be sent from
inputChainIdYesNumeric chain id, e.g. 1=Ethereum, 8453=Base, -1=Bitcoin, -2=Solana — see ravn_health for the live venue list
outputChainIdYesNumeric chain id, e.g. 1=Ethereum, 8453=Base, -1=Bitcoin, -2=Solana — see ravn_health for the live venue list
refundAddressNo
destinationAddressNoWhere output should land, if different from userAddress

TDQS

A4.2/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, lowering the burden. The description adds meaningful behavior beyond those annotations: the operation is free with no API key required, the return contract is a quoteToken, and the follow-up execution step is named. This partially compensates for the absent output schema. Not a 5 because it omits quote validity window and rate-limit/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?

Three sentences, each earning its place: core function plus scope, cost/auth requirement, and return contract plus workflow handoff. The primary purpose is front-loaded and there is no filler or repetition of schema content.

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?

For a read-only 11-parameter, cross-chain tool with no output schema, the description covers the key decision points: what it returns (quoteToken), what to do next (ravn_execute), cost, and chain scope. It leaves gaps around quote expiry, rankingMode semantics, and failure handling, but the schema and annotations cover much of the remainder, so this is solid rather than exceptional for the complexity level.

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 73%, so the schema carries most parameter meaning. The description enriches several parameters — chain scope and native-token handling support inputChainId/outputChainId and the 0xEeee... sentinel, and 'no API key required' contextualizes apiKey — but it does nothing for the undocumented parameters (rankingMode, slippageBps, refundAddress) beyond what their enum and min/max constraints imply. Baseline 3 is appropriate given the high schema coverage.

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 opens with a specific verb and resource: 'Get a swap quote from RAVN', then narrows scope with 'same-chain or cross-chain, across 16 chains including native (non-wrapped) Bitcoin and Solana'. It clearly differentiates itself from the execution sibling by stating the quoteToken is passed to ravn_execute, and from ravn_health (venue discovery), ravn_status, and ravn_btc_prepare_send. No tautlogy; the resource and behavior are unmistakable.

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 description encodes an explicit workflow: call this tool to obtain a quote, then 'pass it to rav_execute to get a signable/broadcastable execution payload'. It also declares 'Free, no API key or payment required', so the agent knows no credential setup is needed. It stops short of a full 5 because it doesn't explicitly state when to prefer ravn_quote over ravn_btc_prepare_send or give a when-not-to-use condition.

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.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool maps to a clear lifecycle stage: health pre-checks routes, quote produces a token, execute turns it into a payload, btc_prepare_send handles a specific BTC deposit-to-PSBT step, and status polls the resulting swap. No two tools are likely to be confused.

Naming Consistency4/5

The core tools use a clean ravn_<verb> pattern: quote, execute, status, health. The outlier is ravn_btc_prepare_send, which front-loads the asset and combines two actions, breaking the verb-first pattern slightly.

Tool Count5/5

Five tools is a well-scoped size for a swap execution server. Each tool earns its place and covers a distinct part of the workflow without redundancy.

Completeness4/5

The core swap lifecycle is covered end-to-end: quote, execute, status, health, plus a BTC-specific helper for a common deposit flow. The main gap is the lack of an explicit tool for discovering supported chains/assets/venues, forcing agents to probe via ravn_quote.

Resources