Skip to main content
Glama

Agent Data Tools: Company, compliance and checks

x402 audit of a seller: vet a paid endpoint's terms, payTo and domain before buying

check_x402_seller
Read-only

Audit an x402 seller before an agent buys from it: decodes the endpoint's 402 terms without paying, OFAC-screens each payTo address, reads its account type and nonce on the payment network, checks the seller domain's age and trust flags, and flags non-USDC assets and high prices. One block, review or pass verdict with reasons. Never signs. Screening aid, not legal advice. Use before the first payment to an unfamiliar x402 seller. Example: url=https://agent-data-tools.revmesh2074.workers.dev/btc-fees. Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free. Reads or computes only and changes nothing; each call is charged, so repeats are not free.

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": "check_x402_seller"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesAbsolute public https URL of the paid endpoint, with any query it needs

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

With annotations present, the description adds real information beyond them: it never signs, it decodes terms without paying, each call is charged so repeats are not free, and it returns 'One block, review or pass verdict with reasons.' These details about cost and signing are not in the annotations. Missing: rate limits or what happens on an unreachable endpoint. The stated behavior is fully consistent with readOnlyHint=true, destructiveHint=false, and idempotentHint=false (repeats cost money).

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 stated purpose comes first and clearly. However, the single paragraph buries the audit steps in a long list, and the trailing 'Example: url=... Price $0.01/call via x402 USDC or a card key (/credits), first 10 free; failed calls free' mixes vendor pricing/promotion into what should be capability documentation, diluting an otherwise focused definition.

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?

There is no output schema, yet the description tells the agent what comes back ('One block, review or pass verdict with reasons') and discloses that calls are billed. For a single-parameter read-only audit tool, that is nearly sufficient; only failure modes and latency/rate-limit context are absent.

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 coverage is 100% for the single 'url' parameter, which already documents 'Absolute public https URL of the paid endpoint.' The description adds only a concrete sample URL, not new syntax or constraints. Baseline 3 applies since the schema does the work.

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 specific verb and resource: 'Audit an x402 seller before an agent buys from it.' It then enumerates exactly what is inspected: 402 terms, payTo OFAC screening, account type and nonce, and domain age and trust flags. The sibling family is not named, so per the rubric this lands at 4 rather than 5.

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 explicitly states when to use it: 'Use before the first payment to an unfamiliar x402 seller.' It also scopes it as a 'Screening aid, not legal advice,' which sets expectations. It never names a specific alternative tool or a 'do not use for X' case, so explicit exclusions are missing.

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