Skip to main content
Glama

x402 ping

x402_ping
Read-onlyIdempotent

Use for testing that your x402 client can pay and settle a real payment end to end at the smallest useful price: $0.001 in USDC (or USDT0 on Arbitrum) on any network listed in accepts. Returns the paid x402 request for your input (GET /x402-ping, $0.001 per call; schema linked). Call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/open-world, but the description adds materially new behavioral facts: a real $0.001 charge in USDC or USDT0 on Arbitrum, that networks are constrained to those in `accepts`, and that invalid input is refused before any charge. It stops short of clarifying whether the charge is incurred by invoking this MCP tool or by the returned URL, which is the one behavior an agent most needs to know.

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

Conciseness3/5

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

The purpose is front-loaded in the first clause, which is good, but the middle is redundant: "Returns the paid x402 request for your input (GET /x402-ping ...)" is immediately followed by "Call that URL with an x402 or MPP client to get the data." The parenthetical "schema linked" is also loose phrasing in an otherwise information-dense sentence.

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

Completeness3/5

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

For a zero-parameter tool with no output schema and decent annotations, most needed context is present: price, asset, endpoint, and failure semantics. The gap is structural ambiguity between "returns the paid x402 request" and "call that URL ... to get the data," leaving unclear whether this MCP call pays or merely hands back a payable URL.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing in the schema that the description could add meaning to. The mention of "your input" and a linked schema is harmless but adds no parameter semantics.

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 purpose: an end-to-end payment-settlement test for an x402 client at the cheapest price point, tied to the GET /x402-ping endpoint. It is clearly a different resource from kv_* or util_* siblings, but it never distinguishes itself from the closely related x402_echo and x402_test_purchase tools.

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?

"Use for testing that your x402 client can pay and settle a real payment end to end" gives clear when-to-use context, and "smallest useful price" hints it is the cheap option for this check. There is no explicit when-not guidance and no sibling is named, so an agent comparing against x402_test_purchase must infer the split.

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