Skip to main content
Glama

x402 Validate vs Discovery Checker

x402 Validate vs Discovery Checker

x402-validate-vs-discovery

A resource can pass Coinbase CDP validate=true and still be absent from Bazaar discovery until the first real settlement, and it is unclear whether a USDC-on-Base payment also needs ETH for gas. $0.002 per call, USDC via x402 or MPP. Calls the official CDP validate endpoint and the discovery lookup for an exact resource URL, reports whether a first settlement is still required, and states that the payer signs EIP-3009 while the facilitator submits and pays gas. An empty call uses a documented public demo resource.

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-validate-vs-discovery"
  }
}

Input Schema

NameRequiredDescriptionDefault
networkNoCAIP-2 network, e.g. eip155:8453 for Base (default)
resourceNoExact resource URL the payment payload would carry (default: https://www.x402.org/)
merchant_addressNoOptional payTo address for a merchant discovery lookup
also_retry_without_queryNoIf the exact resource is not discovered, retry with the query string stripped (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does well: it discloses the $0.002 per call cost, that payment is USDC via x402 or MPP, that two external endpoints are hit, and the default demo resource for empty calls. It does not state error behavior or rate limits, and never explicitly says the call has no side effects on the resource.

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 action statement is buried behind two sentences of problem framing and a pricing sentence, so the description is not front-loaded with what the tool does. The content is relevant but an agent must read past the motivation to find the operation.

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 four-parameter tool with no output schema and no annotations, the description covers cost, payment mechanism, external dependencies, defaults, and the substantive answers it returns (settlement still required, EIP-3009 signing, facilitator pays gas). The return shape is described narratively rather than structurally, which is the main remaining gap.

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?

Schema description coverage is 100%, so the schema already documents all four parameters including defaults. The description reinforces 'exact resource URL' and the empty-call default but adds no syntax or format detail beyond the schema, so baseline 3 applies.

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 names specific actions and resources: 'Calls the official CDP validate endpoint and the discovery lookup for an exact resource URL' and reports settlement requirements. The comparison framing (validate=true but absent from Bazaar discovery) makes the tool's distinct job clear, though the opening motivational sentence delays the verb+resource statement.

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?

The framing question implies when to use it — diagnosing validate-vs-discovery mismatches and the ETH-for-gas question — and it notes that an empty call uses a documented public demo resource. However, there is no explicit 'use this when' clause, no stated exclusions, and no named alternative (none exist in the sibling list).

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