Skip to main content
Glama

Pay Radar (alias of paycheck): pre-flight scan of an XRPL x402 endpoint before paying (paid: 0.003 RLUSD / 0.003 USDC on Base / 0.003 RLUSD on Base via x402)

payradar
Read-only

Paid: 0.003 RLUSD per call via x402 on XRPL mainnet (xrpl:0), or 0.003 USDC on Base (eip155:8453). Pay per call, solves one question: Is this x402 endpoint answering right now, and what does its unpaid 402 show? Raw 402 shape, network, asset, payTo ledger fields, TLS, latency, and uptime history. 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.

Input Schema

NameRequiredDescriptionDefault
urlYesFull http(s) URL of the x402 endpoint to check
max_usdNoHighest price you would pay, USD (default 0.10)
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. Added

TDQS

A4.1/5.0
Behavior5/5

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

Goes well past the annotations by disclosing the price and two accepted rails (0.003 RLUSD on XRPL mainnet, 0.003 USDC on Base), the fact that an unpaid call deliberately returns isError with a fresh invoiceId, and the exact retry mechanism for supplying a signed payload. It also enumerates the observable surface returned (raw 402 shape, network, asset, payTo ledger fields, TLS, latency, uptime history). Nothing here contradicts readOnlyHint or the other annotations — erroring out on a missing payment is a payment protocol state, not a state mutation.

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 price and purpose, then the question it answers, then the payment mechanics — a logical decision order with almost no filler. The paragraph is dense and slightly run-on, and the per-call price is stated both in the title and in the first sentence, giving mild redundancy.

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 tool with no output schema, the description covers what an agent needs: cost, trigger condition, the two-step unpaid-then-paid handshake, and an inventory of returned fields. The only gap is that max_usd's role as a spend guard is left entirely to the schema, and the shape of the paying response is only sketched rather than described.

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 baseline is 3 and the schema already defines url, max_usd, and payment_signature with format and default. The description adds real value for payment_signature by explaining the _meta fallback vs. the explicit argument and the omit-on-first-call convention, but it says nothing about max_usd's price-ceiling behavior beyond what the schema states.

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 and resource — a pre-flight scan of an x402 endpoint — and crystallizes it into one question: "Is this x402 endpoint answering right now, and what does its unpaid 402 show?" The title also discloses it is an alias of paycheck, which prevents duplicate-invocation confusion. It stops short of 5 because it never distinguishes itself from siblings like get_x402_health_report, get_x402_activity, or payradar_demo, which an agent could plausibly pick instead.

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?

"Before paying" is an explicit trigger condition, and the payment protocol is spelled out: first call returns isError with the PaymentRequired object, then retry with the signed payload via _meta["x402/payment"] or payment_signature. It also reassures that "Unpaid calls cost nothing," removing hesitation about probing. What is missing is any exclusion or named alternative (e.g., when to prefer the demo variant or the health-report sibling).

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