Skip to main content
Glama

Is this x402 seller safe to pay? Reads the seller's payment request and returns ok, caution or avoid

x402_seller_check
Read-only

Verify an x402 seller before you pay it. Reads the seller's payment request (HTTP 402) without paying and returns ok, caution or avoid with a 0-100 risk score and reasons: who gets paid, asset, network and price, plus an OFAC sanctions and scam-list check on the payee. Flags burn-address payees, unknown tokens, testnets, mismatched networks and very high prices. Never pays or signs. Not charged for invalid input or unreachable sellers. Paid via x402; see list_prices.

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_seller_check"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesThe x402 endpoint URL to check (https).
methodNoOptional: GET or POST. Default tries GET, then POST if GET is refused.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses that it never pays or signs, that invalid input or unreachable sellers are not charged, and what the response contains (verdict, risk score, reasons covering payee, asset, network, price plus OFAC sanctions and scam-list checks). It also enumerates the specific red flags it detects (burn addresses, unknown tokens, testnets, network mismatch, very high prices), which is exactly the behavioral context annotations cannot convey.

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 critical constraint ('before you pay it') comes first, followed by mechanism, output, flags, and billing terms in a logical order with no filler sentences. It is dense but slightly long, and the pricing note is tacked on at the end where it is least prominent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description compensates fully by explaining the verdict values, the risk-score range, and the categories of reasons returned. For a read-only, two-parameter verification tool with annotations covering the safety profile, nothing an agent needs to invoke it or interpret the result is missing.

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 both parameters (url, method) including the GET-then-POST fallback are already documented in structured fields. The description adds no parameter-level detail beyond that, so the baseline of 3 applies.

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?

Uses a specific verb and resource ('Verify an x402 seller') and explains the mechanism: reads the seller's HTTP 402 payment request without paying. It also states the exact output shape (ok / caution / avoid with a 0-100 risk score), which distinguishes it from siblings like check_site_safety or wallet_sanctions_check that do not combine payment-request inspection with payee screening.

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?

The trigger is explicit and front-loaded: 'before you pay it', so the agent knows this is a pre-payment gate. It also names the related paid-usage tool ('Paid via x402; see list_prices'), giving routing context. It lacks an explicit 'when not to use' or a named alternative for cases where the seller's payment request is unavailable, 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