Skip to main content
Glama

Token issuer

xrpl_token
Read-onlyIdempotent

Issuer data for an issued asset: flags, domain, transfer fee and total issued. When to use: Before accepting or sending an issued token: check that the issuer exists, is not frozen, whether holders need authorization, and the transfer fee charged on every transfer between non-issuer accounts. Prefer another tool: For XRP (not an issued asset; 400), for one account's own balances use /v1/xrpl/account/{address}/lines, and for prices use /v1/xrpl/orderbook or /v1/xrpl/amm/{a}/{b}. Example: xrpl_token {"asset":"USD.rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B"} Paid: 0.02904 USDC or 0.0242 EURC per call on Solana mainnet, VAT included. With prepaid credits, debit per call: 0.02 EUR-denominated units (approx 50 calls per bundle) or 0.024 USD-denominated units (approx 34 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": {
      "asset": "<asset>"
    },
    "name": "xrpl_token"
  }
}

Input Schema

NameRequiredDescriptionDefault
assetYesIssued asset, never XRP. Currency format: `XRP`, or `CODE.issuer`: `CODE` is a 3-character standard code or 40 hexadecimal digits, and `issuer` is a classic XRPL address. Standard codes are case-sensitive: `usd` and `USD` are different tokens, so send the exact code. A standard code uses letters, digits or `?!@#$%^&*<>(){}[]|` and is never `XRP`; percent-encode the symbols in a URL (for example `%3F` for `?`). A 40-hex code is read in any case, and the 40-hex form of a standard code means that code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / asset / description
      Previous value: -"Issued asset as CODE.issuer (3-character or 40-hex code, classic issuer address); not XRP"New value: +"Issued asset, never XRP. Currency format: `XRP`, or `CODE.issuer`: `CODE` is a 3-character standard code or 40 hexadecimal digits, and `issuer` is a classic XRPL address. Standard codes are case-sensitive: `usd` and `USD` are different tokens, so send the exact code. A standard code uses letters, digits or `?!@#$%^&*<>(){}[]|` and is never `XRP`; percent-encode the symbols in a URL (for example `%3F` for `?`). A 40-hex code is read in any case, and the 40-hex form of a standard code means that code."
  2. 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": {
      -    "currency": {
      -      "description": "Canonical currency code (3 characters or 40 hex)",
      -      "type": "string"
      -    },
      -    "currency_ascii": {
      -      "description": "Readable text of a 40-hex currency code; null when not printable ASCII; absent for XRP and 3-character codes",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "default_ripple": {
      -      "type": "boolean"
      -    },
      -    "domain": {
      -      "description": "Issuer domain decoded to text, when set",
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "global_freeze": {
      -      "type": "boolean"
      -    },
      -    "issuer": {
      -      "description": "Issuer address",
      -      "type": "string"
      -    },
      -    "meta": {
      -      "$ref": "#/$defs/Meta"
      -    },
      -    "no_freeze": {
      -      "type": "boolean"
      -    },
      -    "obligations": {
      -      "anyOf": [
      -        {
      -          "description": "Decimal string",
      -          "type": "string"
      -        },
      -        {
      -          "type": "null"
      -        }
      -      ],
      -      "description": "Total issued of this currency; null when `obligations_status` is `unavailable`"
      -    },
      -    "obligations_status": {
      -      "enum": [
      -        "ok",
      -        "unavailable"
      -      ],
      -      "type": "string"
      -    },
      -    "require_auth": {
      -      "type": "boolean"
      -    },
      -    "transfer_fee_pct": {
      -      "description": "Transfer fee in percent",
      -      "type": "string"
      -    },
      -    "transfer_rate": {
      -      "description": "Issuer TransferRate, 1000000000 = no fee",
      -      "maximum": 9007199254740991,
      -      "minimum": -9007199254740991,
      -      "type": "integer"
      -    }
      -  },
      -  "required": [
      -    "issuer",
      -    "currency",
      -    "global_freeze",
      -    "no_freeze",
      -    "require_auth",
      -    "default_ripple",
      -    "domain",
      -    "transfer_rate",
      -    "transfer_fee_pct",
      -    "obligations",
      -    "obligations_status",
      -    "meta"
      -  ],
      -  "type": "object"
      -}New value: +null
  3. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive profile, but the description adds meaningful context beyond them: XRP input yields a 400, the transfer fee applies to transfers between non-issuer accounts, and the per-call cost (paid or prepaid-credit debit) is disclosed. It stops short of describing response shape or any rate limiting, keeping 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.

Conciseness4/5

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

Structure is strongly front-loaded: purpose, when-to-use, prefer-another-tool, example, then cost. The cost paragraph is the weakest part, padding the definition with two pricing models and VAT/bundle arithmetic that could be compressed to a single line.

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?

For a single-parameter read tool with annotations present and no output schema, the definition covers purpose, triggers, alternatives, error behavior, and cost. The one residual gap is that return values are only sketched in the first sentence rather than described, which matters slightly since no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description contributes a concrete example invocation and reinforces the 'never XRP' constraint that produces an error. That adds usable meaning for constructing the `asset` value beyond the schema's format rules.

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 opening sentence names the resource and enumerates exactly what is returned: flags, domain, transfer fee, and total issued. It also states what the tool is not (XRP, not an issued asset) and points to concrete sibling endpoints, so an agent can distinguish it from xrpl_account_lines, xrpl_orderbook, and xrpl_amm without opening a schema.

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?

It gives an explicit 'When to use' trigger (before accepting or sending an issued token, to check existence, freeze status, authorization requirement, and transfer fee) plus explicit exclusions for XRP, per-account balances, and pricing, each naming an alternative endpoint. This is a full when/when-not/alternative triad.

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