Skip to main content
Glama
CryptoAPIs-io

@cryptoapis-io/mcp-utils

Official

xrp_utils

Validate XRP addresses and encode or decode X-Addresses to convert between classic addresses with destination tags on mainnet or testnet.

Instructions

XRP utils (Utils product): validate address, decode/encode X-Address.

Actions: • validate-address: Check if an XRP address is valid • decode-x-address: Decode X-Address to classic address and tag • encode-x-address: Encode classic address and tag to X-Address

Networks: mainnet, testnet

Credits by action (source: OpenAPI): • decode-x-address: 10 • encode-x-address: 10 • validate-address: 10

Credits are indicative only and may change at any time. The actual credits spent for each API request are returned in the response headers.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesAction to perform
addressNoAddress (required for validate-address)
contextNoOptional context for the request - echoed back in response
networkYesNetwork name: mainnet or testnet
xAddressNoX-Address (required for decode-x-address)
addressTagNoDestination tag (required for encode-x-address)
classicAddressNoClassic address (required for encode-x-address)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.4.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden, and it does disclose network support (mainnet/testnet) and per-action credit costs. However, it does not state that all three actions are pure read/compute operations, nor describe error behavior, rate limits, or whether credits are consumed on failure — significant omissions for an unannotated tool.

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 resource and its actions, then networks, then costs — a logical structure with no filler prose. The credits section is somewhat verbose for a tool description, mainly because it repeats a uniform cost three times, which keeps it just short of a 5.

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 partially compensates by implying return content (validity check, decoded classic address plus tag, encoded X-Address). Networks and credit behavior are covered as well. What is left implicit is the exact return shape and failure modes, so it is strong but not complete.

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 documents every parameter including which fields each action requires. The description's mapping of fields to actions (e.g. address for validate-address) largely repeats the schema, adding no format, encoding, or validation semantics beyond it; 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?

The description names a specific resource (XRP utils) and enumerates the three concrete operations — validate-address, decode-x-address, encode-x-address — with a one-line statement of what each does. The chain-specific naming (XRP) also separates it from sibling tools like evm_utils and utxo_utils.

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

Usage Guidelines3/5

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

Per-action descriptions tell the agent which action fits which task, which is useful routing within the tool, but there is no explicit guidance on when to use this tool versus siblings (evm_utils, utxo_utils, derive_addresses) or when not to use it. Usage is therefore implied rather than stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.