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 XRPL / 0.003 USDC on Base / 0.003 RLUSD on Base via x402)

payradar
Read-only

Paid: 0.003 RLUSD or 0.003 USDC 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.

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": {
      "url": "<url>"
    },
    "name": "payradar"
  }
}

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.2/5.0
Behavior5/5

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

Annotations already declare read-only, non-destructive, open-world, non-idempotent; the description goes well beyond them by disclosing per-call cost across two rails, that unpaid calls return isError with a fresh invoiceId, that a retry needs a signed payload in _meta["x402/payment"] or the payment_signature argument, and that unpaid calls cost nothing. That is exactly the payment/auth nuance the annotations cannot express.

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-loads price and purpose, then method, then payment mechanics, in a compact flow with no filler sentences. The enumerated pricing (RLUSD/USDC on XRPL and Base) is restated redundantly across the title and first sentence and could be tightened.

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 paid, open-world scanning tool with no output schema, it covers cost, what is returned, the unpaid error contract, and the retry path, which is most of what an agent needs. Remaining gaps are the max_usd ceiling behavior (what happens if the price exceeds it) and any cue separating it from the near-identical paycheck/payradar_demo siblings.

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 adds cross-parameter meaning the schema cannot: the interaction between _meta["x402/payment"] and the payment_signature fallback, and the instruction to omit payment on the first call. It never mentions max_usd or its default guard, leaving that one to the schema alone.

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 and reduces scope to one question: 'Is this x402 endpoint answering right now, and what does its unpaid 402 show?' with an explicit result list (raw 402 shape, network, asset, payTo ledger fields, TLS, latency, uptime). It does not differentiate itself from lookalike siblings such as get_x402_health_report, x402_envelope, or payradar_demo, and the opaque name 'payradar' only makes sense because of the title's '(alias of paycheck)' note.

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?

Clear context for use: pre-flight, before paying an endpoint, with an explicit two-step procedure (first call unpaid to receive the PaymentRequired object, then retry with the signed payload). It gives no exclusions or named alternatives for the overlapping siblings, so the agent must infer when this beats get_x402_health_report or x402_envelope.

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