Skip to main content
Glama

x402 endpoint and facilitator health (paid: 0.01 RLUSD / 0.01 USDC on XRPL / 0.01 USDC on Base / 0.01 RLUSD on Base via x402)

get_x402_health_report
Read-only

Paid: 0.01 RLUSD or 0.01 USDC per call via x402 on XRPL mainnet (xrpl:0), or 0.01 USDC on Base (eip155:8453). Pay per call, solves one question: Which known XRPL x402 endpoints answer a valid 402? Raw per-endpoint liveness, price/asset/payTo deltas, and facilitator readings with sources. Without payment this returns isError with the x402 PaymentRequired object (fresh invoiceId); retry with the signed payload in _meta["x402/payment"] or the payment_signature argument. Unpaid calls cost nothing.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_x402_health_report"
  }
}

Input Schema

NameRequiredDescriptionDefault
payment_signatureNoOptional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta["x402/payment"]. Omit on the first call to receive the payment requirements.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / payment_signature / description
      Previous value: -"Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD PaymentPayload) for hosts that cannot set _meta[\"x402/payment\"]. Omit on the first call to receive the payment requirements."New value: +"Optional. Base64 x402 PAYMENT-SIGNATURE value (signed RLUSD or USDC PaymentPayload) for hosts that cannot set _meta[\"x402/payment\"]. Omit on the first call to receive the payment requirements."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnly, openWorld, non-destructive and non-idempotent, so the burden is lower; the description still adds meaningful behavior: per-call cost of 0.01, that unpaid calls are free, that failure returns isError with a fresh invoiceId PaymentRequired object, and how to retry. What it does not cover is whether the payment is consumed on a failed/partial report or how large the report is.

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 price and then the single question it answers, with the payment-retry mechanics last. Dense but nearly every sentence carries information; the main waste is restating the price matrix already present in the title, which also lists a Base RLUSD option the description omits.

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 correctly sketches the return contents (per-endpoint liveness, deltas, sourced facilitator readings) and fully documents the payment handshake and error path. An agent can call it correctly; the remaining gap is detail on report shape/size and how deltas are computed.

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 coverage is 100% and the single parameter is already described in the schema, so the baseline is 3. The description reinforces the workflow (omit on first call, retry with signature, or use _meta["x402/payment"] for hosts that cannot set the header), but adds no format-level detail beyond the schema.

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 (health report for x402 endpoints) and narrows scope to one question: 'Which known XRPL x402 endpoints answer a valid 402?', then lists the payload (liveness, price/asset/payTo deltas, facilitator readings with sources). It does not explicitly differentiate from near siblings such as get_pulse_facilitator or get_x402_activity, and the title's Base pricing vs the description's XRPL endpoint scope leaves a small ambiguity about what is measured.

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 a clear two-step invocation protocol: call without payment to receive PaymentRequired, then retry with the signed payload. It also frames the exact question the tool answers, which implies when to reach for it. It stops short of naming when to prefer a sibling tool or when this report is unnecessary.

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