Skip to main content
Glama

XRPL account offers

xrpl_account_offers
Read-onlyIdempotent

One page of an account's open DEX offers, with how funded each one is. When to use: To see which DEX offers an account has open and whether each can still execute: before cancelling or replacing offers, or to check how much of an account's open offers its balances back. Prefer another tool: To read the order book of a pair (use /v1/xrpl/orderbook) or estimate the cost of a trade (use /v1/xrpl/slippage); for the account's balances and trust lines, use /v1/xrpl/account/{address}/summary or /v1/xrpl/account/{address}/lines. Example: xrpl_account_offers {"address":"rGAs3npYy1VwLPE92kvKvA2QYLR6FSA9n6"} Paid: 0.04356 USDC or 0.0363 EURC per call on Solana mainnet, VAT included. With prepaid credits, debit per call: 0.03 EUR-denominated units (approx 33 calls per bundle) or 0.036 USD-denominated units (approx 22 calls per bundle).

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": {
      "address": "<address>"
    },
    "name": "xrpl_account_offers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoOffers per page: an integer from 10 to 50 (default 20)
markerNoOpaque cursor from the previous page's `marker`, for the same address
addressYesValid classic XRPL account address (r..., checksum verified)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds genuinely new behavioral context: results are paginated to a single page with a marker cursor, each offer carries a funding/executability assessment, and the exact per-call cost is disclosed. It stops short of describing response field shape or default page size behaviour beyond 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?

Front-loaded with the purpose, then layered when-to-use, alternatives, example, and pricing — a clean scannable order with no filler sentences. The pricing paragraph is dense and only tangentially about invocation, but it is actionable cost information rather than waste.

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?

With no output schema, the description must convey what comes back; it does so at the right altitude (a page of open offers plus funding status) and explains pagination via the marker concept. It is slightly thin on the response's per-offer fields, but nothing an agent needs to call it correctly is missing.

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 `limit`, `marker`, and `address` are already fully documented in the schema (ranges, cursor origin, checksum verification). The description adds only an example invocation and the phrase 'one page', no extra syntactic or semantic 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: returns one page of an account's open DEX offers, annotated with each offer's funding level. That is clearly distinct from siblings such as xrpl_orderbook (pair-level book) or xrpl_account_summary (balances/trust lines), so an agent can pick it without opening any schema.

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?

Explicitly gives when-to-use (before cancelling or replacing offers; to check how much of the open offers the balances back) and names alternatives for adjacent needs (orderbook, slippage, account summary, account lines). The only friction is that alternatives are cited as HTTP paths like `/v1/xrpl/orderbook` rather than the sibling tool names `xrpl_orderbook` / `xrpl_slippage`, which forces a small mapping step.

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