Skip to main content
Glama

P0: agent memory and utilities

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 exact paid x402 request for your input (GET /x402-echo, $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

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, openWorld, idempotent and non-destructive, and the description adds genuinely new behavior beyond them: the $0.001 per-call charge, the currency options (USDC or USDT0 on Arbitrum), and the fact that invalid input is rejected before any charge. It omits how errors or partial payments surface, so it falls just short of full transparency.

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 purpose and the payment cost, then the return value and the follow-up URL. It is dense but has a few redundant re-statements of price and endpoint, which slightly holds it back from a 5.

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?

For a zero-parameter, no-output-schema tool, the description covers cost, currency, endpoint, return value and input validation. The main remaining gap is that it doesn't fully explain the returned URL or schema-link workflow, but it is otherwise complete for its complexity.

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 and the schema is empty, so the baseline is high. The description adds relevant meaning by explaining what the caller supplies outside the schema: which network to choose from 'accepts' and the payment currency.

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?

The description names a specific verb and resource: it pays a tiny USDC fee and returns the decoded payment payload the server received, and it names the concrete endpoint (GET /x402-echo). It is clearly distinguishable from siblings like x402_ping and x402_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 Guidelines4/5

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

It states the use case ('Use for debugging an x402 client') and tells the caller to hit the returned URL with an x402 or MPP client, and that bad input is refused before any charge. It doesn't explicitly say when to prefer it over x402_ping or x402_test_purchase, so sibling routing is left partly implicit.

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