Skip to main content
Glama

x402 check

x402_check
Read-only

x402 endpoint checker: tests any paid x402 URL for a correct 402, price and networks, pay-to address, discovery metadata, CORS, response time and Coinbase's validator, and lists every issue to fix. Costs $0.005 USDC per call (x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "url": "<url>"
    },
    "name": "x402_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYes
methodNoGET (default) or POST

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 declare readOnlyHint=true and openWorldHint=true, and 'tests' is consistent with a read-only probe. The description goes beyond the annotations by disclosing the metered cost ($0.005 USDC per call) and that the call is paid via the x402 protocol itself — critical behavioral context for a paid tool. It stops short of stating rate limits, auth/wallet requirements for paying, or what the result payload looks like.

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?

Two sentences, front-loaded with the checker's scope, then the cost. The enumerated check list is dense but earns its place by telling the agent exactly what will be verified. Slightly long single sentence, but no filler.

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 exists, so the description must convey what comes back — and it does, effectively listing the check categories and 'lists every issue to fix'. Combined with the cost note, an agent knows what it is buying. Missing: payment mechanics (how the $0.005 is settled) and any note on failure/timeout behavior.

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 50%: 'method' is documented (GET default or POST) while 'url' has no schema description. The description adds no parameter-level meaning beyond that — it never clarifies what URL forms are accepted, whether the URL must be the full x402 resource path, or when POST is required. Baseline 3 is appropriate given the schema carries half the load and the description contributes nothing further.

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?

Names a specific verb (tests) and resource (any paid x402 URL) and enumerates the exact checks performed — 402 status, price/networks, pay-to address, discovery metadata, CORS, response time, Coinbase validator. This is far more concrete than a generic 'check endpoint'. It does not, however, explicitly distinguish itself from the sibling x402_find, leaving the check-vs-find boundary to inference.

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?

Usage is implied: call it to validate an x402 endpoint before relying on it. There is no explicit when-to-use/when-not statement and no mention of x402_find as the discovery alternative, so an agent must infer which of the two x402 tools to pick. The cost disclosure ('$0.005 USDC per call') is a useful selection factor but is not framed as usage guidance.

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