Skip to main content
Glama

Account trust lines

xrpl_account_lines
Read-onlyIdempotent

One page of an account's trust lines, with an opaque cursor for the next page. When to use: To list every trust line of an account (balances, limits, freeze and authorization flags), page by page. Prefer another tool: For a quick capped overview with the XRP balance, use /v1/xrpl/account/{address}/summary; for issued totals of a token, use the token endpoint. Example: xrpl_account_lines {"address":"rHb9CJAWyB4rj91VRWn96DkukG4bwdtyTh"}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
peerNoOnly lines with this counterparty (classic address)
limitNoLines per page: an integer from 10 to 400 (default 100)
markerNoOpaque cursor from the previous page's `marker`, for the same address
addressYesValid classic XRPL account address (r..., checksum verified)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
metaYes
peerYes
limitYes
linesYes
markerYesOpaque cursor for the next page (send as `marker`); null on the last page
addressYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations cover safety (readOnlyHint, destructiveHint false, idempotent, openWorld), and the description adds behavioral context beyond them: it's paginated, returns an 'opaque cursor for the next page', and lists what fields are returned. It doesn't discuss rate limits or failure modes, but for a read-only listing tool with full annotation coverage, this is solid.

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 core purpose, then structured with clear 'When to use' and 'Prefer another tool' cues, ending with an example. Reasonably tight, though the parenthetical field list and example slightly lengthen it beyond the minimum needed.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paginated read-only list tool with 4 params, full schema coverage, an output schema, and full annotations, the description covers purpose, alternatives, pagination behavior, and an example. Nothing an agent needs to invoke 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 the schema already fully documents each parameter (peer, limit, marker, address). The description provides an example invocation with address but adds no additional parameter syntax or semantics beyond what the schema states. Baseline 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?

States a specific verb+resource+scope: 'One page of an account's trust lines, with an opaque cursor for the next page.' It also names what trust lines contain (balances, limits, freeze and authorization flags) and distinguishes from siblings by explicitly naming the alternatives (summary endpoint, token endpoint).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicit 'When to use' and 'Prefer another tool' sections name the alternative tools and the conditions for choosing them: '/v1/xrpl/account/{address}/summary' for a quick capped overview, token endpoint for issued totals. Nothing is left to inference.

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