Skip to main content
Glama

Get DEX Quote

get_dex_quote
Read-onlyIdempotent

Get a live DEX price quote for swapping between XRP and RLUSD on the XRPL DEX.

Use this to price escrows in a stable currency (RLUSD) while paying in XRP, or to understand the current exchange rate before committing to a job budget.

Returns: from_amount, to_amount, rate, and slippage estimate.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount of the from_currency to quote.
to_currencyYesCurrency to swap to, e.g. 'XRP' or 'RLUSD'.
from_currencyYesCurrency to swap from, e.g. 'XRP' or 'RLUSD'.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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, idempotentHint=true, and destructiveHint=false, establishing safety. The description adds that the quote is 'live' (implying real-time, not cached) and lists specific return fields (from_amount, to_amount, rate, slippage estimate), which goes beyond the annotations. No contradictions.

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 three concise sentences plus a returns line, with no unnecessary words. The purpose and usage are front-loaded, making it easy for an agent to quickly understand the tool's function.

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?

Given the existence of an output schema (not shown but confirmed), the description does not need to detail every return field but still lists key ones. It provides sufficient context for a straightforward quote tool. Could explicitly state that only XRP/RLUSD pairs are supported, but it is implied.

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 100%, so the schema already fully documents the three parameters. The description repeats the currency example ('XRP' or 'RLUSD') but does not add new meaning or constraints beyond the schema's 'e.g.' examples. Baseline score of 3 is appropriate.

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 clearly states it retrieves a live DEX price quote for swapping XRP and RLUSD, using specific verbs ('Get', 'price quote', 'swapping'). It distinguishes from siblings like 'get_xrp_price' (simple price) and 'get_rlusd_quote' (likely a different quote type) by specifying the DEX context and the specific trading pair.

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 provides explicit when-to-use scenarios: pricing escrows and understanding exchange rates before committing to a job budget. It implicitly differentiates from siblings by focusing on the DEX swap context, though it does not explicitly state when not to use this tool or mention alternatives like 'get_rlusd_quote'.

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

A3.9/5.0
Disambiguation4/5

Most tools target distinct resources and actions clearly. However, list_marketplace_jobs and list_open_jobs both involve browsing jobs and could be confused, and audit_task overlaps somewhat with evaluate_escrow_work in verifying work quality. Descriptions are detailed enough to differentiate with careful reading.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (e.g., create_escrow_vault, list_marketplace_jobs, confirm_wallet_ownership). There are no camelCase or Style deviations, making naming highly predictable.

Tool Count4/5

At 19 tools, the set is slightly heavy but reasonably scoped for a multi-featured platform covering job board, escrow, skills, wallet verification, and pricing. Each tool serves a distinct purpose, though some consolidation could be considered.

Completeness2/5

There is a significant gap: list_marketplace_jobs references a claim_job() function that does not exist in the tool set, breaking the primary workflow for agents to accept available bounties. Additionally, there are no update/delete operations for job postings or skill listings, and no explicit escrow cancellation tool.