Skip to main content
Glama

x402 echo

x402_echo
Read-onlyIdempotent

Use for debugging an x402 client: pay $0.001 in USDC (or USDT0 on Arbitrum) on any network in accepts and get back what the server received: the decoded payment payload. Returns the paid x402 request for your input (GET /x402-echo, $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_echo"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description goes beyond that with the details an agent actually needs: a per-call cost of $0.001, accepted currencies (USDC, or USDT0 on Arbitrum), and the valuable guarantee that bad input is refused before any charge. It stops short of describing response shape or payment-flow failure modes.

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 front-loaded debugging purpose and the no-charge-on-bad-input guarantee earn their place, but "get back what the server received: the decoded payment payload" and "Returns the paid x402 request for your input" restate the same idea twice. The closing "Call that URL with an x402 or MPP client" is also confusing inside an MCP context where the agent is already calling the tool.

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?

With no output schema and no parameters, the description carries the burden of explaining cost, currencies, and what comes back, and it does cover those plus the charge-safety guarantee. What remains thin is the return-value detail (beyond "decoded payment payload") and how the network/payment negotiation works, which would matter for a paid, open-world call.

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 no schema semantics for the description to compensate for. The mention of "any network in accepts" is the only parameter-adjacent detail, but nothing is missing given an empty object schema.

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 concrete outcome: it pays a small USDC/USDT0 fee and returns the decoded payment payload the server received, framed for debugging an x402 client. That is specific enough to act on, but it never contrasts itself with the closest siblings (x402_ping, x402_test_purchase), so an agent must infer why it would pick echo over test_purchase.

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?

"Use for debugging an x402 client" gives an implied when-to-use, and "Call that URL with an x402 or MPP client" hints at the mechanism. There is no when-not guidance and no explicit routing away from x402_test_purchase or x402_ping, leaving the choice between the three x402 tools to inference.

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