Skip to main content
Glama

P0: agent memory and utilities

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 exact paid x402 request for your input (GET /x402-ping, $0.001 per call), with a link to the full schema; call that URL with an x402 or MPP client to get the data. Bad input is refused before any charge.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior1/5

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

The description says the tool 'pay[s] and settle[s] a real payment' and is '$0.001 per call', while the annotations declare readOnlyHint=true and idempotentHint=true. A real charge and settlement changes wallet and ledger state and costs money on every invocation, which directly contradicts the declared read-only and idempotent safety profile. The description is otherwise informative about price, bad-input refusal, and the return shape, but this is a contradiction between the description and the annotations.

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 first clause usefully front-loads the purpose and price. The middle sentence, however, mixes three ideas in one run-on ('returns the exact paid x402 request', the GET path and price again, and a schema link), and 'call that URL with an x402 or MPP client to get the data' is unclear about whether the URL refers to this tool's endpoint or the schema link.

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?

The description covers cost, endpoint, and the guarantee that bad input is refused before any charge, which is valuable given that there is no output schema. It does not explain what 'accepts' contains beyond naming networks, how payment challenge and settlement is negotiated, or how failures after charging are surfaced. These are the key gaps for a payment tool with no return schema and no params.

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?

There are zero parameters, so the baseline would be 4. However, the description refers to 'the exact paid x402 request for your input' and 'Bad input is refused before any charge', yet the schema accepts no input at all; that is an unresolved mismatch that leaves the agent unsure whether input exists.

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 uses a specific verb and resource: test that an x402 client 'can pay and settle a real payment end to end' at $0.001, naming the endpoint (GET /x402-ping) and price. It does not, however, distinguish itself from the x402_echo or x402_test_purchase siblings, so an agent cannot route between the three from this text alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives a clear triggering condition: use this tool when you need to verify payment and settlement behavior end to end. It states no exclusions or alternatives, and siblings such as x402_echo (presumably unpaid) and x402_test_purchase (presumably a larger amount) are not mentioned, so the agent must infer which x402 test tool to call.

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