Skip to main content
Glama

minia2a — hosted x402 API marketplace (HTTP)

x402-payment-audit

x402 Payment Endpoint Trust Check: Black-box check: does the x402 endpoint verify payment (reject forged txHash/signature/replay) before delivering? Buyer-side trust check before you pay. Returns SAFE/RISK/NOT_X402.

Input Schema

NameRequiredDescriptionDefault
urlNo
endpointNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / allOf
      Added value: +[
      +  {
      +    "anyOf": [
      +      {
      +        "required": [
      +          "url"
      +        ]
      +      },
      +      {
      +        "required": [
      +          "endpoint"
      +        ]
      +      }
      +    ]
      +  }
      +]
  2. Changed2 schema fields changed
    • removedInput schema / properties / endpoint / description
      Removed value: -"Endpoint to process"
    • removedInput schema / properties / url / description
      Removed value: -"Url to process"
  3. 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 burden and does reasonably well: it discloses that the check is black-box, enumerates the attack classes probed (forged txHash, signature, replay), and names the exact return values SAFE/RISK/NOT_X402. It does not say whether the probe makes real network requests, whether it consumes funds, or what the endpoint sees, which matters for a pre-payment check.

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?

Very compressed and front-loaded: purpose, what is tested, when to use it, and the return enum all appear within three short clauses. The colon-chained fragments are slightly telegraphic but every phrase carries information; nothing is padded.

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

Completeness3/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 by naming the three verdicts, which is good. However, the anyOf url/endpoint requirement is never explained and no return detail (findings, evidence for a RISK verdict) is given, leaving the invocation shape ambiguous for a two-parameter tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema is unusual: an anyOf requiring either url or endpoint, with no explanation of how the two differ or whether one is preferred. The description says nothing about either parameter, so an agent must guess whether 'endpoint' is a URL, a hostname, or a named service.

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?

States a specific verb and resource: a black-box trust check of an x402 payment endpoint that tests whether it rejects forged txHash, signature, and replay before delivering. The 'Buyer-side trust check before you pay' framing separates it from the sibling payment tools, though it never names an alternative explicitly.

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?

Gives a clear situational trigger: run it before paying an endpoint you do not trust. It does not state when to skip it (e.g., endpoints you already operate or have verified) or what to do with each verdict, so exclusions are left 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.