Skip to main content
Glama

rivus mcp

Real cost of moving value between two XRPL assets at a given size.

corridor_quote
Read-onlyIdempotent

Real cost of moving value between two XRPL assets at a given size. Use when: You need to know how much arrives (or how much to send) when paying across XRPL assets: effective rate versus mid, slippage at size, issuer transfer fee, AMM fee, network fee and the route taken. Price: 0.005 RLUSD per call, or the equivalent in XRP, paid on the XRP Ledger with x402 (the first call returns the payment requirements).

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": {
      "send": "<send>",
      "receive": "<receive>",
      "amount": "<amount>"
    },
    "name": "corridor_quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
sendYes
sideNo
amountYes
receiveYes

Output Schema

NameRequiredDescriptionDefault
hopsNo
legsNo
pathNo
sendYes
sideYes
filledYes
networkYes
productYes
receiveYes
mid_rateNo
warningsYes
data_as_ofYes
disclaimerYes
amm_fee_bpsNo
limitationsNo
slippage_bpsNo
source_ledgerNo
effective_rateYes
transfer_fee_bpsNo
network_fee_dropsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Beyond the read-only and idempotent annotations, the description discloses the paid x402 model, the exact price, and the first-call behavior returning payment requirements. That is useful behavioral context an agent would not infer from the annotations alone.

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?

The description is front-loaded with the purpose, followed by a compact usage clause and a short payment note. Every sentence adds useful information without repetition.

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?

An output schema exists, so return-value detail is not required, and the annotations cover safety and idempotency. However, the description leaves the four parameters undocumented despite 0% schema description coverage, which is a meaningful gap for a quote tool with an asset-identifier format and a direction enum.

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 0%, so the description must carry parameter meaning. It conceptually implies the send asset, receive asset, amount size, and direction ('how much arrives or how much to send'), but it never names or explains the four input fields, the side enum, or the XRPL asset identifier format.

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 states a specific action and resource: quoting the real cost of moving value between two XRPL assets at a given size. It enumerates the concrete outputs (effective rate versus mid, slippage, issuer transfer fee, AMM fee, network fee, route), which makes the tool's purpose 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 'Use when:' clause gives a clear triggering condition: the caller needs to know how much arrives or how much to send across XRPL assets. It does not name exclusions or direct the agent to a specific sibling tool, so it stops short of full alternative routing.

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