Skip to main content
Glama

Payment test

ping
Read-only

x402 ping and test payment: can my wallet pay an x402 API? Pay a fraction of a cent in USDC on Base and get a signed receipt back, proof that your wallet and x402 client complete a real paid call end to end. Use when an agent needs a cheap test payment endpoint before buying anything bigger. Price: $0.001 in USDC per call, paid with x402 inside the tool call. Failed calls aren't charged.

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Beyond the annotations, it discloses the exact cost ($0.001 USDC per call on Base), that payment happens inside the tool call via x402, that a signed receipt is returned, and that failed calls aren't charged — real behavioral value an agent needs before spending. It does not cover latency, rate limits, or what a failed call looks like; readOnlyHint arguably understates that funds move, though no data is modified, so this is a tension rather than a contradiction.

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 what it does and the price, with the use case close behind. Some phrasing is promotional filler ('proof that your wallet and x402 client complete a real paid call end to end'), which adds emphasis but not new decision-relevant information.

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?

No output schema and no parameters, so the description carries the burden — and it does describe the return (a signed receipt) plus the billing failure behavior. Remaining ambiguity (receipt format, chain/asset edge cases beyond Base) is minor for a test-ping tool.

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, which is the baseline-4 case; there is nothing for the description to disambiguate. The description correctly implies a parameterless ping (payment is handled by the x402 client, not by caller-supplied arguments).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a concrete verb and resource ('x402 ping and test payment') and immediately explains the outcome: pay $0.001 USDC on Base, receive a signed receipt proving the wallet and client complete a real paid call. This is clearly distinguishable from data-oriented siblings like payer_analytics or signed_sample.

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 when an agent needs a cheap test payment endpoint before buying anything bigger' gives a clear triggering condition and implies sequencing relative to larger purchases. It does not name a specific sibling as the alternative or state when-not to use it, so it stops short of a 5.

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