Skip to main content
Glama

x420_x402_ping

Read-onlyIdempotent

Ping (paid liveness probe): The cheapest real settlement on X420: answers with server time, a request id and your optional echo. Use it to prove the seller is up and that your x402 client settles end to end before buying anything else. Source: X420. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.001 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: ok, time, unix_ms, echo, request_id.

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": "x420_x402_ping"
  }
}

Input Schema

NameRequiredDescriptionDefault
msgNotext to echo back, up to 200 characters (optional)

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?

The annotations already declare readOnlyHint, openWorldHint, idempotentHint, and destructiveHint=false, but the description adds crucial behavior beyond them: this hosted tool does NOT pay and does NOT return the deliverable, it instead returns payment instructions (pay_to, network, price, x402 URL). It also details the exact two-step payment procedure (GET, read PAYMENT-REQUIRED from the 402, retry with PAYMENT-SIGNATURE) and mentions the local-server alternative. This is exceptional disclosure for a paid, multi-step 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?

The description is front-loaded with the core purpose and then proceeds through usage, payment mechanics, and deliverable in a logical order. It is dense but largely earns its space given the unusual paid flow. The boilerplate legal disclaimer ('Not professional, legal, insurance...') adds bulk without helping an agent decide or invoke the tool.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a paid tool with a non-standard x402 handshake and no output schema, the description is complete enough: it covers pricing, the fact that the hosted tool returns payment instructions rather than the deliverable, the exact retry protocol, an alternative execution mode, and the paid deliverable JSON shape. An agent has all it needs to call the tool correctly.

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?

The schema has 100% description coverage for the single optional msg parameter, which is documented as 'text to echo back, up to 200 characters (optional)'. The description only restates that it is an optional echo and lists echo in the deliverable; it adds no syntax, format, or edge-case detail beyond the schema. Baseline is 3 when schema coverage is high.

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?

The description states a specific verb and resource: a paid liveness ping that returns server time, a request id, and an optional echo. It distinguishes itself as the cheapest real settlement to test the x402 payment path before buying anything else. It does not explicitly distinguish itself from the similarly named sibling x420_x402_probe, which keeps it from a 5.

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?

The description gives clear when-to-use guidance: prove the seller is up and that your x402 client settles end to end before buying anything else. It also explains the payment flow and the alternative of running a local server with a wallet key. It does not explicitly state when not to use it or name sibling alternatives, but the context is strong.

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