Skip to main content
Glama

xrplme.online MCP Server

xrplme_get_country_data

Latest data + freshness for one country. REQUIRES PAYMENT: 0.5 XRP (AI-parsed).

Args:
    slug: Country slug (e.g., "thailand")
    x_payment_signature: JSON string containing tx_hash AND signedTxBlob
        (hex-encoded signed XRPL tx). Both are required: the t54
        facilitator decodes the blob to bind the on-chain InvoiceID.
    x_inv_id: Invoice ID

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugYes
x_inv_idNo
x_payment_signatureNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses a mandatory 0.5 XRP payment, that both tx_hash and signedTxBlob are required, and the non-obvious mechanic that the t54 facilitator decodes the blob to bind the on-chain InvoiceID. It still omits failure behavior (what happens on invalid/insufficient payment) and any rate limits.

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

Conciseness5/5

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

Front-loaded with the one-line purpose and payment flag, then a compact args block. The two-line signature explanation is longer but every clause encodes required information (both fields mandatory, blob is hex, facilitator binds InvoiceID).

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 3-parameter, no-annotation, no-output-schema tool, the description covers the payment precondition, signature construction, and country scoping adequately. The main omission is how to discover the required Invoice ID and any error/refund semantics, but nothing needed to attempt a correct call is missing.

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 0%, so the description must compensate and largely does: it gives a concrete example for slug ('thailand'), and explains the two-part composition of x_payment_signature plus why both halves are required. x_inv_id is only glossed as 'Invoice ID' with no format or sourcing guidance, which is the one thin spot.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb+resource ('get country data') and a clear scope ('one country') with the distinctive payload 'latest data + freshness'. However, it does not differentiate from the closely-named sibling xrplme_get_country_status or xrplme_get_country_schema, leaving the agent to guess which one carries status vs schema vs the data payload.

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

Usage Guidelines2/5

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

The description gives no when-to-use guidance and never names an alternative, despite eight siblings including an obviously overlapping xrplme_get_country_status. The payment note describes a precondition, not a usage rule, so the agent has no routing signal.

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