Skip to main content
Glama

Account summary

xrpl_account_summary
Read-onlyIdempotent

XRP balance, sequence, owner count, transfer rate and trust lines (capped) for an account. When to use: To inspect an account before building a transaction for it. Prefer another tool: Not for transaction history or reserves; it is a summary, not a full account dump. Example: xrpl_account_summary {"address":"rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"} Paid: 0.01452 USDC or 0.0121 EURC per call on Solana mainnet, VAT included. With prepaid credits, debit per call: 0.0025 EUR-denominated units (approx 400 calls per bundle) or 0.003 USD-denominated units (approx 273 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_summary"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesValid classic XRPL account address (r..., checksum verified)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "$defs": {
      -    "Meta": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "age_seconds": {
      -          "description": "Age of the data at response time",
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "as_of": {
      -          "description": "When the data was read from the ledger",
      -          "format": "date-time",
      -          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$",
      -          "type": "string"
      -        },
      -        "cache": {
      -          "enum": [
      -            "hit",
      -            "miss",
      -            "stale"
      -          ],
      -          "type": "string"
      -        },
      -        "ledger_index": {
      -          "description": "Validated ledger the data comes from",
      -          "maximum": 9007199254740991,
      -          "minimum": -9007199254740991,
      -          "type": "integer"
      -        },
      -        "stale": {
      -          "description": "True when served past its fresh TTL (stale-on-error)",
      -          "type": "boolean"
      -        }
      -      },
      -      "required": [
      -        "ledger_index",
      -        "as_of",
      -        "age_seconds",
      -        "cache",
      -        "stale"
      -      ],
      -      "type": "object"
      -    }
      -  },
      -  "$schema": "https://json-schema.org/draft/2020-12/schema",
      -  "additionalProperties": false,
      -  "properties": {
      -    "address": {
      -      "type": "string"
      -    },
      -    "balance_xrp": {
      -      "description": "Decimal string",
      -      "type": "string"
      -    },
      -    "lines_truncated": {
      -      "type": "boolean"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/Meta"
      -    },
      -    "owner_count": {
      -      "maximum": 9007199254740991,
      -      "minimum": -9007199254740991,
      -      "type": "integer"
      -    },
      -    "sequence": {
      -      "maximum": 9007199254740991,
      -      "minimum": -9007199254740991,
      -      "type": "integer"
      -    },
      -    "transfer_rate": {
      -      "description": "Issuer TransferRate, 1000000000 = no fee",
      -      "maximum": 9007199254740991,
      -      "minimum": -9007199254740991,
      -      "type": "integer"
      -    },
      -    "trust_lines": {
      -      "items": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "balance": {
      -            "description": "Decimal string",
      -            "type": "string"
      -          },
      -          "currency": {
      -            "type": "string"
      -          },
      -          "issuer": {
      -            "type": "string"
      -          },
      -          "limit": {
      -            "description": "Decimal string",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "currency",
      -          "issuer",
      -          "balance",
      -          "limit"
      -        ],
      -        "type": "object"
      -      },
      -      "type": "array"
      -    }
      -  },
      -  "required": [
      -    "address",
      -    "balance_xrp",
      -    "sequence",
      -    "owner_count",
      -    "transfer_rate",
      -    "trust_lines",
      -    "lines_truncated",
      -    "meta"
      -  ],
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and open-world, so the safety profile is covered. The description adds a real behavioral detail beyond them: trust lines are returned capped, which warns the agent the result is truncated and not a full dump. It does not say how many lines the cap allows or how to get the remainder, which keeps it from a 5.

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

Conciseness3/5

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

The functional content is well front-loaded: purpose, when to use, when not to use, example. However, roughly half the text is pricing boilerplate with two overlapping cost schemes (per-call USDC/EURC plus prepaid credit debits and bundle math), which is verbose and dilutes the operational guidance.

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 carries the burden of telling the agent what comes back, and it does so by enumerating the returned fields plus the trust-line cap. For a single-parameter read tool with full annotation coverage, that is nearly complete; only the shape of the response and the cap magnitude are left implicit.

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?

With one parameter at 100% schema coverage, the schema already specifies "Valid classic XRPL account address (r..., checksum verified)", so the baseline is 3. The description's worked example call reinforces the accepted format but adds no constraints, defaults, or failure modes beyond what the schema states.

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 the exact fields returned (XRP balance, sequence, owner count, transfer rate, capped trust lines) for a named resource, which is far more specific than a restatement of the title. An agent can distinguish this from xrpl_account_lines or xrpl_account_transactions on the strength of the field list alone.

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?

Gives an explicit positive trigger ("inspect an account before building a transaction for it") and explicit exclusions ("Not for transaction history or reserves"), which steers away from the history and reserve-oriented siblings. It stops short of naming the alternative tool, so the agent must map "transaction history" to xrpl_account_transactions itself.

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